Przeglądaj źródła

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

lazy 2 tygodni temu
rodzic
commit
5f403552bf
1 zmienionych plików z 3 dodań i 3 usunięć
  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)
         }
       })
     },