|
@ -183,7 +183,7 @@ |
|
|
<div class="span-sty">资方收款账号</div> |
|
|
<div class="span-sty">资方收款账号</div> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<el-select class="addinputInfo" v-model="formobj.loanSettleBankCostVo.bankAccount" placeholder="请选择" clearable filterable @change="bankAccountChange"> |
|
|
<el-select class="addinputInfo" v-model="formobj.loanSettleBankCostVo.bankAccount" placeholder="请选择" clearable filterable @change="bankAccountChange"> |
|
|
<el-option v-for="item in bank_list" :key="item.bankAccount" :label="item.accountName" :value="item.bankAccount"></el-option> |
|
|
<el-option v-for="item in bank_list" :key="item.bankAccount" :label="item.bankAccount" :value="item.bankAccount"></el-option> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
@ -518,6 +518,11 @@ export default { |
|
|
req.settleRepoInit({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), sid: sid, userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
req.settleRepoInit({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), sid: sid, userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
this.formobj = res.data |
|
|
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) => { |
|
|
fetchListByBankSid({ bankSid: this.formobj.bankSid }).then((res) => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
this.bank_list = res.data |
|
|
this.bank_list = res.data |
|
@ -589,6 +594,11 @@ export default { |
|
|
this.formobj.loanSettleCompanyCostVo.settleAll = this.calculateSettleAll |
|
|
this.formobj.loanSettleCompanyCostVo.settleAll = this.calculateSettleAll |
|
|
this.formobj.loanSettleCompanyReductionVo.amountTo = this.calculateAmountTo |
|
|
this.formobj.loanSettleCompanyReductionVo.amountTo = this.calculateAmountTo |
|
|
this.formobj.loanSettleCompanyReductionVo.profit = this.calculateProfit |
|
|
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) => { |
|
|
this.$refs['form_obj'].validate((valid) => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
this.submitdisabled = true |
|
|
this.submitdisabled = true |
|
@ -610,6 +620,11 @@ export default { |
|
|
this.formobj.loanSettleCompanyCostVo.settleAll = this.calculateSettleAll |
|
|
this.formobj.loanSettleCompanyCostVo.settleAll = this.calculateSettleAll |
|
|
this.formobj.loanSettleCompanyReductionVo.amountTo = this.calculateAmountTo |
|
|
this.formobj.loanSettleCompanyReductionVo.amountTo = this.calculateAmountTo |
|
|
this.formobj.loanSettleCompanyReductionVo.profit = this.calculateProfit |
|
|
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) => { |
|
|
this.$refs['form_obj'].validate((valid) => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
this.submitdisabled = true |
|
|
this.submitdisabled = true |
|
|