Selaa lähdekoodia

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

lazy 3 viikkoa sitten
vanhempi
commit
5f403552bf
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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)
         }
       })
     },