Commit 3c8241f6 authored by 邓春圆's avatar 邓春圆

佣金输入银行卡 bug修复

parent 7a9d6dbc
......@@ -99,8 +99,8 @@
</el-descriptions-item>
<el-descriptions-item :label="$t('客户的账户名称')" >
<el-form-item v-if="(form.customerId && bankAccountList.length) || !form.customerId" label-width="0" prop="customerBankAccountName">
<el-select v-model="form.customerBankAccount" >
<el-option @click.native="getBankInfo(item)" v-for="(item) in bankAccountList" :value="item.bankAccount" :label="item.bankAccount + (item.bankName)" ></el-option>
<el-select v-model="form.customerBankAccountName" >
<el-option @click.native="getBankInfo(item)" v-for="(item) in bankAccountList" :value="item.accountName" :label="item.accountName" ></el-option>
</el-select>
</el-form-item>
<span v-else >{{$t('客户档案没有银行账户。')}}</span>
......@@ -540,7 +540,7 @@ export default {
applicationAt: this.parseTime(res.data.applicationAt, '{y}-{m}-{d} {h}:{i}:{s}'),
invoiceStatus: String(res.data.invoiceStatus),
}
this.$set(this.form, 'customerBankAccount', res.data.customerBankAccount)
this.$set(this.form, 'customerBankAccountName', accountName)
this.list = [...res.data.payableBackVOList]
this.defaultList = [...res.data.payableBackVOList]
});
......@@ -879,7 +879,7 @@ export default {
this.form.customerBankAccount = ''; // 客户银行账号
this.form.customerBankAccountName = ''; //客户银行账户名
this.form.customerBankAddress = ''; // 银行地址
this.form.customerBankAddress = ''; // 银行代码
this.form.customerBankCode = ''; // 银行代码
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment