Ver Fonte

fix: 注释掉应付金额计算逻辑,避免不必要的计算

xieyong há 1 semana atrás
pai
commit
19a1a6d6b1

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

@@ -420,11 +420,11 @@ import tabMixins from '@/mixins/tableColumnsMixin';
         if (val > max) val = max;
         // this.$set(row, 'confirmedPrepayAmt', val);
         // 本次应付金额 = 本次对账金额 - 确收金额
-        this.$set(
-          row,
-          'payablePrice',
-          Math.round((statementAmount - val) * 100) / 100
-        );
+        // this.$set(
+        //   row,
+        //   'payablePrice',
+        //   Math.round((statementAmount - val) * 100) / 100
+        // );
       },
       // 明细表按采购单号汇总本次对账金额后,同步到对应采购单号的应付行
       syncStatementAmount(summaryMap) {