|
|
|
@ -160,7 +160,7 @@
|
|
|
|
|
<a-select v-model:value="tempNameId" style="width: 80%">
|
|
|
|
|
<a-select-option :value="item.id" v-for="(item, index) in tempList" :key="index">{{
|
|
|
|
|
item.name
|
|
|
|
|
}}</a-select-option>
|
|
|
|
|
}}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-modal>
|
|
|
|
|
</a-spin>
|
|
|
|
@ -260,6 +260,8 @@ const bankForm = [
|
|
|
|
|
},
|
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
|
if (obj) {
|
|
|
|
|
obj.invoiceAddress = obj.invoiceAddress ? obj.invoiceAddress : ''
|
|
|
|
|
obj.invoiceTel = obj.invoiceTel ? obj.invoiceTel : ''
|
|
|
|
|
setFieldsValue({
|
|
|
|
|
taxID: obj.invoiceTaxNo,
|
|
|
|
|
customerAddTel: obj.invoiceAddress + ' ' + obj.invoiceTel
|
|
|
|
@ -270,7 +272,7 @@ const bankForm = [
|
|
|
|
|
customerBankName: obj.name,
|
|
|
|
|
})
|
|
|
|
|
setFieldsValue({
|
|
|
|
|
usdCustomerBankId:'',
|
|
|
|
|
usdCustomerBankId: '',
|
|
|
|
|
usdCustomerBankName: '',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -280,7 +282,7 @@ const bankForm = [
|
|
|
|
|
usdCustomerBankName: obj.name,
|
|
|
|
|
})
|
|
|
|
|
setFieldsValue({
|
|
|
|
|
customerBankId:'',
|
|
|
|
|
customerBankId: '',
|
|
|
|
|
customerBankName: '',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -289,7 +291,7 @@ const bankForm = [
|
|
|
|
|
setFieldsValue({
|
|
|
|
|
customerBankId: '',
|
|
|
|
|
customerBankName: '',
|
|
|
|
|
usdCustomerBankId:'',
|
|
|
|
|
usdCustomerBankId: '',
|
|
|
|
|
usdCustomerBankName: '',
|
|
|
|
|
taxID: '',
|
|
|
|
|
customerAddTel: '',
|
|
|
|
@ -333,6 +335,8 @@ const bankForm = [
|
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
|
if (obj) {
|
|
|
|
|
formModel.customerBankId = obj.id
|
|
|
|
|
obj.invoiceAddress = obj.invoiceAddress ? obj.invoiceAddress : ''
|
|
|
|
|
obj.invoiceTel = obj.invoiceTel ? obj.invoiceTel : ''
|
|
|
|
|
setFieldsValue({
|
|
|
|
|
invoiceHeader: obj.invoiceHeader,
|
|
|
|
|
taxID: obj.invoiceTaxNo,
|
|
|
|
@ -373,6 +377,8 @@ const bankForm = [
|
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
|
if (obj) {
|
|
|
|
|
formModel.usdCustomerBankId = obj.id
|
|
|
|
|
obj.invoiceAddress = obj.invoiceAddress ? obj.invoiceAddress : ''
|
|
|
|
|
obj.invoiceTel = obj.invoiceTel ? obj.invoiceTel : ''
|
|
|
|
|
setFieldsValue({
|
|
|
|
|
invoiceHeader: obj.invoiceHeader,
|
|
|
|
|
taxID: obj.invoiceTaxNo,
|
|
|
|
@ -1083,14 +1089,14 @@ function changeCust(id, name) {
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
item.name = item.bankName + ' ' + item.bankAccountNo
|
|
|
|
|
if (item.currency == 'RMB') {
|
|
|
|
|
item.invoiceAddress = item.invoiceAddress ? item.invoiceAddress :''
|
|
|
|
|
item.invoiceTel = item.invoiceTel ? item.invoiceTel :''
|
|
|
|
|
item.invoiceAddress = item.invoiceAddress ? item.invoiceAddress : ''
|
|
|
|
|
item.invoiceTel = item.invoiceTel ? item.invoiceTel : ''
|
|
|
|
|
setFieldsValue({
|
|
|
|
|
customerBankId: item.id,
|
|
|
|
|
customerBankName: item.name,
|
|
|
|
|
invoiceHeader: item.invoiceHeader,
|
|
|
|
|
taxID: item.invoiceTaxNo,
|
|
|
|
|
customerAddTel: item.invoiceAddress + ' ' + item.invoiceTel
|
|
|
|
|
customerAddTel: item.invoiceAddress + ' ' + item.invoiceTel
|
|
|
|
|
})
|
|
|
|
|
bankList.value.push(item)
|
|
|
|
|
}
|
|
|
|
|