Parcourir la source

fix: 修复收款计划比例显示及调整标题动态显示

liujt il y a 4 mois
Parent
commit
87f6469ae8

+ 4 - 1
src/BIZComponents/paymentCollectionPlan/Detail.vue

@@ -294,7 +294,10 @@
             label: '比例',
             // slot: 'paymentRatio',
             // headerSlot: 'headerRatio',
-            align: 'center'
+            align: 'center',
+            formatter: (row) => {
+              return row.paymentRatio ? row.paymentRatio + '%' : '';
+            }
           },
           {
             width: 170,

+ 2 - 2
src/views/financialManage/invoiceManage/components/detailDialog.vue

@@ -204,8 +204,8 @@
           </el-col>
         </el-row>
       </el-form>
-      <div style="margin-top: 20px;">
-        <headerTitle title="收款计划信息"></headerTitle>
+      <div style="margin-top: 20px; margin-bottom: 20px;">
+        <headerTitle :title="form.type == 2 ? '付款计划信息' : '收款计划信息'"></headerTitle>
         <!-- <el-form ref="form" :model="tableForm"> -->
           <ele-pro-table
             ref="table"