diff --git a/anrui-riskcenter-ui/src/views/settle/settleAdd.vue b/anrui-riskcenter-ui/src/views/settle/settleAdd.vue index 797de7784c..8b076b520e 100644 --- a/anrui-riskcenter-ui/src/views/settle/settleAdd.vue +++ b/anrui-riskcenter-ui/src/views/settle/settleAdd.vue @@ -183,7 +183,7 @@
资方收款账号
- + @@ -518,6 +518,11 @@ export default { req.settleRepoInit({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), sid: sid, userSid: window.sessionStorage.getItem('userSid') }).then((res) => { if (res.success) { this.formobj = res.data + if (this.formobj.loanSettleBankCostVo.topping) { + this.formobj.loanSettleCompanyCostVo.topping = '1' + } else if (!this.formobj.loanSettleBankCostVo.topping) { + this.formobj.loanSettleBankCostVo.topping = '0' + } fetchListByBankSid({ bankSid: this.formobj.bankSid }).then((res) => { if (res.success) { this.bank_list = res.data @@ -589,6 +594,11 @@ export default { this.formobj.loanSettleCompanyCostVo.settleAll = this.calculateSettleAll this.formobj.loanSettleCompanyReductionVo.amountTo = this.calculateAmountTo this.formobj.loanSettleCompanyReductionVo.profit = this.calculateProfit + if (this.formobj.loanSettleBankCostVo.topping === '1') { + this.formobj.loanSettleCompanyCostVo.topping = true + } else if (this.formobj.loanSettleBankCostVo.topping === '0') { + this.formobj.loanSettleBankCostVo.topping = false + } this.$refs['form_obj'].validate((valid) => { if (valid) { this.submitdisabled = true @@ -610,6 +620,11 @@ export default { this.formobj.loanSettleCompanyCostVo.settleAll = this.calculateSettleAll this.formobj.loanSettleCompanyReductionVo.amountTo = this.calculateAmountTo this.formobj.loanSettleCompanyReductionVo.profit = this.calculateProfit + if (this.formobj.loanSettleBankCostVo.topping === '1') { + this.formobj.loanSettleCompanyCostVo.topping = true + } else if (this.formobj.loanSettleBankCostVo.topping === '0') { + this.formobj.loanSettleBankCostVo.topping = false + } this.$refs['form_obj'].validate((valid) => { if (valid) { this.submitdisabled = true diff --git a/anrui-riskcenter-ui/src/views/workFlow/jieqingFlow/settleEdit.vue b/anrui-riskcenter-ui/src/views/workFlow/jieqingFlow/settleEdit.vue index f5b69a0c7e..f4194c4d9b 100644 --- a/anrui-riskcenter-ui/src/views/workFlow/jieqingFlow/settleEdit.vue +++ b/anrui-riskcenter-ui/src/views/workFlow/jieqingFlow/settleEdit.vue @@ -182,7 +182,7 @@
资方收款账号
- + @@ -494,6 +494,11 @@ export default { if (res.success) { this.formobj = res.data this.formobj.instanceId = res.data.procInstId + if (this.formobj.loanSettleBankCostVo.topping) { + this.formobj.loanSettleCompanyCostVo.topping = '1' + } else if (!this.formobj.loanSettleBankCostVo.topping) { + this.formobj.loanSettleBankCostVo.topping = '0' + } fetchListByBankSid({ bankSid: this.formobj.bankSid }).then((res) => { if (res.success) { this.bank_list = res.data @@ -565,6 +570,11 @@ export default { this.formobj.loanSettleCompanyCostVo.settleAll = this.calculateSettleAll this.formobj.loanSettleCompanyReductionVo.amountTo = this.calculateAmountTo this.formobj.loanSettleCompanyReductionVo.profit = this.calculateProfit + if (this.formobj.loanSettleBankCostVo.topping === '1') { + this.formobj.loanSettleCompanyCostVo.topping = true + } else if (this.formobj.loanSettleBankCostVo.topping === '0') { + this.formobj.loanSettleBankCostVo.topping = false + } this.$refs['form_obj'].validate((valid) => { if (valid) { this.submitdisabled = true @@ -593,6 +603,11 @@ export default { this.formobj.loanSettleCompanyCostVo.settleAll = this.calculateSettleAll this.formobj.loanSettleCompanyReductionVo.amountTo = this.calculateAmountTo this.formobj.loanSettleCompanyReductionVo.profit = this.calculateProfit + if (this.formobj.loanSettleBankCostVo.topping === '1') { + this.formobj.loanSettleCompanyCostVo.topping = true + } else if (this.formobj.loanSettleBankCostVo.topping === '0') { + this.formobj.loanSettleBankCostVo.topping = false + } this.$refs['form_obj'].validate((valid) => { if (valid) { this.submitdisabled = true