瀏覽代碼

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)
         }
       })
     },