Преглед на файлове

Merge branch 'master' of http://47.100.3.209:3000/gdc/yiliangyiyun-pc

zhongtianhaoyuan преди 2 години
родител
ревизия
74ca57a179
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      src/views/contractManagement/purchaseContractAdd.vue
  2. 1 1
      src/views/contractManagement/salesContractAdd.vue

+ 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) {