瀏覽代碼

fix: 修正单据金额计算逻辑,优先使用已收总价

xieyong 19 小時之前
父節點
當前提交
9b9392fac5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/financialManage/receivableManage/components/collectionDialog.vue

+ 1 - 1
src/views/financialManage/receivableManage/components/collectionDialog.vue

@@ -441,7 +441,7 @@ export default {
       this.$set(item, 'singlePrice', singlePrice);
       this.$set(item, 'taxRate', taxRate);
       this.$set(item, 'discountRatio', discountRatio);
-      this.$set(item, 'statementAmount', amount);
+      this.$set(item, 'statementAmount', item?.receivedTotalPrice || amount);
       this.$set(item, 'noTaxSinglePrice', noTaxSinglePrice);
       this.$set(item, 'totalPrice', totalPrice);
       this.$set(item, 'discountSinglePrice', discountSinglePrice);