|
|
@ -407,7 +407,8 @@ export const detailForm: FormSchema[] = [
|
|
|
|
}
|
|
|
|
}
|
|
|
|
GetClientBankList(data).then((res) => {
|
|
|
|
GetClientBankList(data).then((res) => {
|
|
|
|
res.data.forEach(item => {
|
|
|
|
res.data.forEach(item => {
|
|
|
|
item.showName = item.bankName + ' ' + item.account
|
|
|
|
item.bankAccountNo = item.bankAccountNo ? item.bankAccountNo :''
|
|
|
|
|
|
|
|
item.showName = item.bankName + ' ' + item.bankAccountNo
|
|
|
|
})
|
|
|
|
})
|
|
|
|
resolve(res)
|
|
|
|
resolve(res)
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -420,7 +421,7 @@ export const detailForm: FormSchema[] = [
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
if (obj) {
|
|
|
|
if (obj) {
|
|
|
|
formModel.customerBankId = obj.id
|
|
|
|
formModel.customerBankId = obj.id
|
|
|
|
formModel.customerAccount = obj.account
|
|
|
|
formModel.customerAccount = obj.bankAccountNo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!obj && !e) {
|
|
|
|
if (!obj && !e) {
|
|
|
|
formModel.customerBankId = ''
|
|
|
|
formModel.customerBankId = ''
|
|
|
@ -495,8 +496,9 @@ export const detailForm: FormSchema[] = [
|
|
|
|
}
|
|
|
|
}
|
|
|
|
getBankList(data).then(res => {
|
|
|
|
getBankList(data).then(res => {
|
|
|
|
res.data.forEach(item=>{
|
|
|
|
res.data.forEach(item=>{
|
|
|
|
item.label = item.bankName + ' ' + item.account
|
|
|
|
item.bankAccountNo = item.bankAccountNo ? item.bankAccountNo :''
|
|
|
|
item.value = item.bankName + ' ' + item.account
|
|
|
|
item.label = item.bankName + ' ' + item.bankAccountNo
|
|
|
|
|
|
|
|
item.value = item.bankName + ' ' + item.bankAccountNo
|
|
|
|
})
|
|
|
|
})
|
|
|
|
bankList.value = res.data
|
|
|
|
bankList.value = res.data
|
|
|
|
})
|
|
|
|
})
|
|
|
|