Ver Fonte

修改bug,表格金额转num ---cjh

17767204043 há 3 anos atrás
pai
commit
220dc56a42
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/Agreement/match/matching.vue

+ 1 - 1
src/views/Agreement/match/matching.vue

@@ -1459,7 +1459,7 @@ export default {
       }
       }
       let priceValue = 0;
       let priceValue = 0;
       this.checkedContractList.forEach((e) => {
       this.checkedContractList.forEach((e) => {
-        priceValue += e.total_price; //这是合同选择的价格的和
+        priceValue += e.total_price*1; //这是合同选择的价格的和
       });
       });
       let average = parseFloat(
       let average = parseFloat(
         parseFloat(priceValue) / parseFloat(this.checkedDeepenList.length)
         parseFloat(priceValue) / parseFloat(this.checkedDeepenList.length)