Pārlūkot izejas kodu

fix(payablesInfo): 同步本次对账金额与应付总金额至明细表

xieyong 1 nedēļu atpakaļ
vecāks
revīzija
2f9fd7304f

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

@@ -442,7 +442,10 @@ import tabMixins from '@/mixins/tableColumnsMixin';
         this.localList.forEach((row) => {
           const amount = summaryMap[row.purchaseCode];
           if (amount !== undefined) {
-            // this.$set(row, 'statementAmount', amount);
+            // 本次对账金额、本次对账应付总金额随明细表汇总同步,
+            // 再由 recalcRow 重算 本次应付金额/累计应付金额
+            this.$set(row, 'statementAmount', amount);
+            this.$set(row, 'statementAmt', amount);
             this.recalcRow(row);
           }
         });