zhangyuewww há 2 anos atrás
pai
commit
14037967c6

+ 1 - 1
src/views/contractManagement/purchaseContractAdd.vue

@@ -845,7 +845,7 @@ import { isUndefined } from 'xe-utils/methods'
         this.deptBudgetList.finalTradingVolume = e
       },
       pricechange(e) {
-        this.deptBudgetList.totalContractPrice = e * this.deptBudgetList.weight
+        this.deptBudgetList.totalContractPrice = (e * this.deptBudgetList.weight).toFixed(2)
       },
       returnsales() {
         this.deptBudgetList =  {

+ 1 - 1
src/views/contractManagement/salesContractAdd.vue

@@ -1702,7 +1702,7 @@
         this.deptBudgetList.finalTradingVolume = e
       },
       pricechange(e) {
-        this.deptBudgetList.totalContractPrice = e * this.deptBudgetList.weight
+        this.deptBudgetList.totalContractPrice = (e * this.deptBudgetList.weight).toFixed(2)
       },
       // 编辑
       editClick(item, index) {