diff --git a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatetobechecked.vue b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatetobechecked.vue index 589bc15507..773b4f8a7c 100644 --- a/anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatetobechecked.vue +++ b/anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatetobechecked.vue @@ -132,11 +132,11 @@
其中待支付费用
- +
其中抵顶费用
- +
其中含返利
@@ -337,7 +337,9 @@ export default { secondRebate: '', secondSuppRemark: '', adjustmentMoney: '', - adjustmentRemarks: '' + adjustmentRemarks: '', + tempTreatCost: '', // 临时待支付费用 + tempSuppCost: '' // 临时抵顶费用 }, dialogFileVisible: false, updateAction: '', @@ -505,8 +507,8 @@ export default { }, // 二次调整页面--待确定金额模块 firstCostInput() { - // 其中含返利 = 待确定金额 - 其中待支付费用 - 其中抵顶费用 - this.formobj.firstRebate = Math.round((parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0) - parseFloat(this.formobj.onceTreatCost !== '' ? this.formobj.onceTreatCost : 0) - parseFloat(this.formobj.onceSuppCost !== '' ? this.formobj.onceSuppCost : 0)) * 100) / 100 + // 其中含返利 = 待确定金额 - 其中临时待支付费用 - 其中临时抵顶费用 + this.formobj.firstRebate = Math.round((parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0) - parseFloat(this.formobj.tempTreatCost !== '' ? this.formobj.tempTreatCost : 0) - parseFloat(this.formobj.tempSuppCost !== '' ? this.formobj.tempSuppCost : 0)) * 100) / 100 this.adjustmentMoneyAdd() }, // 二次调整页面--返利二次上传模块 @@ -523,8 +525,8 @@ export default { }, // 二次调整页面--调整说明模块 adjustmentMoneyAdd() { - // 剩余预计返利 = 列表预提返利-其中预提费用-一次上传返利金额(列表一次上传金额-一次费用-待确定) - this.formobj.surplusRebate = Math.round((parseFloat(this.formobj.estimateRebate !== '' ? this.formobj.estimateRebate : 0) - parseFloat(this.formobj.withholdCost !== '' ? this.formobj.withholdCost : 0) - (parseFloat(this.formobj.uploadMoney !== '' ? this.formobj.uploadMoney : 0) - parseFloat(this.formobj.onceTreatCost !== '' ? this.formobj.onceTreatCost : 0) - parseFloat(this.formobj.onceSuppCost !== '' ? this.formobj.onceSuppCost : 0) - parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0))) * 100) / 100 + // 剩余预计返利 = 列表预提返利-其中预提费用-一次上传返利金额(列表一次上传金额-临时费用-待确定) + this.formobj.surplusRebate = Math.round((parseFloat(this.formobj.estimateRebate !== '' ? this.formobj.estimateRebate : 0) - parseFloat(this.formobj.withholdCost !== '' ? this.formobj.withholdCost : 0) - (parseFloat(this.formobj.uploadMoney !== '' ? this.formobj.uploadMoney : 0) - parseFloat(this.formobj.tempTreatCost !== '' ? this.formobj.tempTreatCost : 0) - parseFloat(this.formobj.tempSuppCost !== '' ? this.formobj.tempSuppCost : 0) - parseFloat(this.formobj.stayDetermineMoneyNew !== '' ? this.formobj.stayDetermineMoneyNew : 0))) * 100) / 100 // 调整金额合计 = 其中含返利之和 - 剩余预提返利 this.formobj.adjustmentMoney = Math.round((parseFloat(this.formobj.firstRebate !== '' ? this.formobj.firstRebate : 0) + parseFloat(this.formobj.secondRebate !== '' ? this.formobj.secondRebate : 0) - parseFloat(this.formobj.surplusRebate !== '' ? this.formobj.surplusRebate : 0)) * 100) / 100 }, @@ -562,7 +564,9 @@ export default { secondRebate: '', secondSuppRemark: '', adjustmentMoney: '', - adjustmentRemarks: '' + adjustmentRemarks: '', + tempTreatCost: '', // 临时待支付费用 + tempSuppCost: '' // 临时抵顶费用 } this.checked = true },