Forráskód Böngészése

fix: 添加columnsTitle属性以动态设置对账预付款确收金额的表头

xieyong 3 hete
szülő
commit
dc7a5ba106

+ 1 - 0
src/views/purchasingManage/purchaseOrder/accountstatement/components/addAccountDialog.vue

@@ -26,6 +26,7 @@
       :payablesList="payablesList"
       :dialogType="dialogType"
       statementAdvanceTotalPriceTitle="总对账预付款确付金额"
+      columnsTitle="本次对账预付款确付金额"
     ></payables-info>
     <headerTitle title="对账明细" style="margin-top: 30px"> </headerTitle>
     <account-detail-table

+ 5 - 1
src/views/purchasingManage/purchaseOrder/accountstatement/components/payablesInfo.vue

@@ -156,6 +156,10 @@
       statementAdvanceTotalPriceTitle: {
         type: String,
         default: '总对账预付款确收金额'
+      },
+      columnsTitle: {
+        type: String,
+        default: '本次对账预付款确收金额'
       }
     },
     data() {
@@ -242,7 +246,7 @@
             minWidth: 190,
             headerSlot: 'columnRequired',
             prop: 'nowConfirmedPrepayAmt',
-            label: '本次对账预付款确收金额',
+            label: this.columnsTitle,
             align: 'center',
             slot: 'nowConfirmedPrepayAmt'
           },