dev
sunzehua 3 weeks ago
parent 59c6d7726c
commit d7dc7bdc71

@ -567,7 +567,7 @@ const bottomForm = [
bankListUsd.value = [] bankListUsd.value = []
GetClientBankList(data).then((res) => { GetClientBankList(data).then((res) => {
res.data.forEach((item) => { res.data.forEach((item) => {
item.name = item.bankName + ' ' + item.account item.name = item.bankName + ' ' + item.bankAccountNo
if (item.currency == 'RMB') { if (item.currency == 'RMB') {
bankList.value.push(item) bankList.value.push(item)
} }
@ -1035,7 +1035,7 @@ function getBankInfo(customerId) {
} }
GetClientBankList(data).then((res) => { GetClientBankList(data).then((res) => {
res.data.forEach((item) => { res.data.forEach((item) => {
item.name = item.bankName + ' ' + item.account item.name = item.bankName + ' ' + item.bankAccountNo
if (item.currency == 'RMB') { if (item.currency == 'RMB') {
bankList.value.push(item) bankList.value.push(item)
} }
@ -1081,7 +1081,7 @@ function changeCust(id, name) {
GetClientBankList(data).then((res) => { GetClientBankList(data).then((res) => {
res.data.reverse(); res.data.reverse();
res.data.forEach((item) => { res.data.forEach((item) => {
item.name = item.bankName + ' ' + item.account item.name = item.bankName + ' ' + item.bankAccountNo
if (item.currency == 'RMB') { if (item.currency == 'RMB') {
item.invoiceAddress = item.invoiceAddress ? item.invoiceAddress :'' item.invoiceAddress = item.invoiceAddress ? item.invoiceAddress :''
item.invoiceTel = item.invoiceTel ? item.invoiceTel :'' item.invoiceTel = item.invoiceTel ? item.invoiceTel :''
@ -1096,6 +1096,10 @@ function changeCust(id, name) {
} }
if (item.currency == 'USD') { if (item.currency == 'USD') {
bankListUsd.value.push(item) bankListUsd.value.push(item)
setFieldsValue({
usdCustomerBankId: item.id,
usdCustomerBankName: item.name,
})
} }
}) })
bankListAll.value = res.data bankListAll.value = res.data

Loading…
Cancel
Save