duy il y a 1 an
Parent
commit
e31069c71b

+ 1 - 1
src/views/project/debit/contract/components/pay/info-table.vue

@@ -8,7 +8,7 @@
         </tr>
         <tr>
             <hc-info-table-td center is-title>支付项类型:</hc-info-table-td>
-            <hc-info-table-td width="120px">{{ formModel?.payType }}</hc-info-table-td>
+            <hc-info-table-td width="120px">{{ formModel?.payTypeName }}</hc-info-table-td>
             <hc-info-table-td center is-title>是否为扣款项:</hc-info-table-td>
             <hc-info-table-td width="120px">{{ formModel?.isDeduct === 1 ? '是' : '否' }}</hc-info-table-td>
         </tr>

+ 3 - 1
src/views/project/debit/contract/components/pay/row-data.vue

@@ -54,7 +54,7 @@
                 </el-form-item>
                 <el-form-item label="支付项适用类型:">
                     <el-select v-model="formModel.payApplicableType" block>
-                        < <el-option v-for="item in payAppOptions" :key="item.id" :label="item.dictValue" :value="item.dictKey" />
+                        <el-option v-for="item in payAppOptions" :key="item.id" :label="item.dictValue" :value="item.dictKey" />
                     </el-select>
                 </el-form-item>
                 <el-form-item label="排序号:">
@@ -116,6 +116,8 @@ watch(() => [
 watch(isShow, (val) => {
     if (val) {
         console.log('处理数据')
+        gePayType()
+        gePayAppType()
     }
 })
 

+ 1 - 1
src/views/project/debit/contract/components/unit/row-data.vue

@@ -151,7 +151,7 @@ const tableRowStyle = ({ row, rowIndex }) => {
     if (row.poseNum > row.contractTotal) {
         // --el-fill-color-lighter 是表格行的背景色
         // --el-table-row-hover-bg-color 是鼠标放上去后的背景色
-        return '--el-fill-color-lighter: #fe0000; --el-table-row-hover-bg-color: #fe0000; color: white;'
+        return '--el-fill-color-lighter: #fe0000; '
     }
 }
 //获节点类型

+ 1 - 1
src/views/project/debit/project/components/pay/info-table.vue

@@ -8,7 +8,7 @@
         </tr>
         <tr>
             <hc-info-table-td center is-title>支付项类型:</hc-info-table-td>
-            <hc-info-table-td width="120px">{{ formModel?.payType }}</hc-info-table-td>
+            <hc-info-table-td width="120px">{{ formModel?.payTypeName }}</hc-info-table-td>
             <hc-info-table-td center is-title>是否为扣款项:</hc-info-table-td>
             <hc-info-table-td width="120px">{{ formModel?.isDeduct === 1 ? '是' : '否' }}</hc-info-table-td>
         </tr>