ソースを参照

fix:修改融资管理底层货物销售总价计算规则

lazy 2 週間 前
コミット
5f403552bf
共有1 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 3 3
      src/views/myFinancing/applyFinancing/index.vue

+ 3 - 3
src/views/myFinancing/applyFinancing/index.vue

@@ -695,9 +695,9 @@ export default {
       list.forEach(item => {
         const { numTotal, accountsTotal, netAccounts } = this.bottomInfoCalc
         this.bottomInfoCalc = {
-          numTotal: (Number(numTotal) + Number(item.goodsQuantity)).toFixed(4),
-          accountsTotal: (Number(accountsTotal) + Number(item.accountsReceivableAmount)).toFixed(4),
-          netAccounts: (Number(netAccounts) + Number(item.netAccountsReceivableAmount)).toFixed(4)
+          numTotal: (Number(numTotal) + Number(item.goodsQuantity)).toFixed(2),
+          accountsTotal: (Number(accountsTotal) + Number(item.accountsReceivableAmount)).toFixed(2),
+          netAccounts: (Number(netAccounts) + Number(item.netAccountsReceivableAmount)).toFixed(2)
         }
       })
     },