浏览代码

2023.10.30-1

bulusiLuo 1 年之前
父节点
当前提交
557e28dc30

+ 3 - 0
src/views/zhpt/projectManager/newInstall/proSettlement/addSettle/inputPage.vue

@@ -531,6 +531,9 @@ export default {
                     allPrice += item.amountMoney
                   })
                   allPrice = allPrice.toFixed(2)
+                  console.log('老', allPrice)
+                } else {
+                  allPrice = (this.str1 + this.str2 + this.str3 + this.str4).toFixed(2)
                 }
               } else {
                 if (this.settleArr2) {

+ 1 - 1
src/views/zhpt/projectManager/newInstall/proSettlement/userSettle/inputPage.vue

@@ -784,7 +784,7 @@ export default {
                   } = val.dataMap.tfContractWService[0]
                   this.moneyObj.settlementMode = settlementMode
                   this.moneyObj.totalContract = totalContract || 0
-                  this.moneyObj.waterElectricity = waterElectricity
+                  this.moneyObj.waterElectricity = waterElectricity || 0
                   this.moneyObj.deductExpenses = deductExpenses || 0
                   this.moneyObj.advancePayment = advancePayment || 0
                   this.moneyObj.ratePayment = ratePayment