diff --git a/src/views/baseinfo/infoclient/EditColumns.tsx b/src/views/baseinfo/infoclient/EditColumns.tsx index 5a0f98d9..faab3086 100644 --- a/src/views/baseinfo/infoclient/EditColumns.tsx +++ b/src/views/baseinfo/infoclient/EditColumns.tsx @@ -907,7 +907,7 @@ export const EditformSchema2: FormSchema[] = [ }, { field: 'rmbAccountId', - label: '人民币账户', + label: '进项人民币银行', component: 'DEdit', colProps: { span: 8 }, defaultValue: '', @@ -922,12 +922,14 @@ export const EditformSchema2: FormSchema[] = [ onChange: (e, obj) => { const { formModel } = En if (e && obj) { - formModel.pcorpId = obj.value - formModel.pcorpName = obj.label + formModel.rmbAccountId = obj.value + formModel.rmbBankName = obj.bankName + formModel.rmbBankAccountNo = obj.bankAccountNo } if (!e && !obj) { - formModel.pcorpId = '' - formModel.pcorpName = '' + formModel.rmbAccountId = '' + formModel.rmbBankName = '' + formModel.rmbBankAccountNo = '' } }, onEdit: () => { @@ -951,7 +953,7 @@ export const EditformSchema2: FormSchema[] = [ }, { field: 'usdAccountId', - label: '美金账户', + label: '进项美金银行', component: 'DEdit', colProps: { span: 8 }, defaultValue: '', @@ -967,7 +969,7 @@ export const EditformSchema2: FormSchema[] = [ const { formModel } = En if (e && obj) { formModel.usdAccountId = obj.value - formModel.usdBankName = obj.label + formModel.usdBankName = obj.bankName formModel.usdBankAccountNo = obj.bankAccountNo } if (!e && !obj) { diff --git a/src/views/baseinfo/infoclient/FeeCustTemplate/feeField.vue b/src/views/baseinfo/infoclient/FeeCustTemplate/feeField.vue index b9574104..dbaa6d53 100644 --- a/src/views/baseinfo/infoclient/FeeCustTemplate/feeField.vue +++ b/src/views/baseinfo/infoclient/FeeCustTemplate/feeField.vue @@ -406,7 +406,7 @@ data: 'unitPrice', type: 'numeric', format: '0.00', - readOnly: true, + // readOnly: true, }, { title: '汇率', diff --git a/src/views/baseinfo/infoclient/columns.tsx b/src/views/baseinfo/infoclient/columns.tsx index f9317f6a..3e564952 100644 --- a/src/views/baseinfo/infoclient/columns.tsx +++ b/src/views/baseinfo/infoclient/columns.tsx @@ -96,7 +96,7 @@ if (res15.succeeded) { res15.data.forEach((e) => { if (e.accountName && e.id) { usdAccountData.push({ - label: `${e.bankName}-${e.accountName}-${e.bankAccountNo}`, + label: `${e.bankName}-${e.accountName}-${e.bankAccountNo}-${e.swiftCode}`, value: e.id, ...e, }) @@ -1364,7 +1364,7 @@ export const formSchema2: FormSchema[] = [ }, { field: 'rmbAccountId', - label: '人民币账户', + label: '进项人民币银行', component: 'Select', colProps: { span: 8 }, defaultValue: '', @@ -1380,7 +1380,7 @@ export const formSchema2: FormSchema[] = [ const { formModel } = En if (e && obj) { formModel.rmbAccountId = obj.value - formModel.rmbBankName = obj.label + formModel.rmbBankName = obj.bankName formModel.rmbBankAccountNo = obj.bankAccountNo } if (!e && !obj) { @@ -1404,9 +1404,15 @@ export const formSchema2: FormSchema[] = [ component: 'Input', show: false, }, + { + label: '进账美金SwiftCode', + field: 'usdSwiftCode', + component: 'Input', + show: false, + }, { field: 'usdAccountId', - label: '美金账户', + label: '进项美金银行', component: 'Select', colProps: { span: 8 }, defaultValue: '', @@ -1422,13 +1428,15 @@ export const formSchema2: FormSchema[] = [ const { formModel } = En if (e && obj) { formModel.usdAccountId = obj.value - formModel.usdBankName = obj.label + formModel.usdBankName = obj.bankName formModel.usdBankAccountNo = obj.bankAccountNo + formModel.usdSwiftCode = obj.swiftCode } if (!e && !obj) { formModel.usdAccountId = '' formModel.usdBankName = '' formModel.usdBankAccountNo = '' + formModel.usdSwiftCode = '' } }, } diff --git a/src/views/baseinfo/userEmail/columns.tsx b/src/views/baseinfo/userEmail/columns.tsx index a7277112..a41b9380 100644 --- a/src/views/baseinfo/userEmail/columns.tsx +++ b/src/views/baseinfo/userEmail/columns.tsx @@ -107,6 +107,7 @@ export const formSchema: FormSchema[] = [ label: '邮箱账号', component: 'Input', colProps: { span: 12 }, + rules: [{ type: 'email', message: '请填写正确的邮箱地址' }], }, { field: 'showName', @@ -117,7 +118,7 @@ export const formSchema: FormSchema[] = [ { field: 'password', label: '密码', - component: 'Input', + component: 'InputPassword', colProps: { span: 12 }, }, { diff --git a/src/views/fee/FeeCustTemplate/feeField.vue b/src/views/fee/FeeCustTemplate/feeField.vue index 1575f1bd..bd6964b4 100644 --- a/src/views/fee/FeeCustTemplate/feeField.vue +++ b/src/views/fee/FeeCustTemplate/feeField.vue @@ -410,7 +410,7 @@ data: 'unitPrice', type: 'numeric', format: '0.00', - readOnly: true, + // readOnly: true, }, { title: '汇率', diff --git a/src/views/operation/seaexport/columns.tsx b/src/views/operation/seaexport/columns.tsx index c7e5e8fd..0207796f 100644 --- a/src/views/operation/seaexport/columns.tsx +++ b/src/views/operation/seaexport/columns.tsx @@ -89,7 +89,7 @@ export const searchFormSchema: FormSchema[] = [ valueField: 'id', showName: 'shortName', resultField: 'data', - immediate: false + immediate: false, } }, }, @@ -129,7 +129,7 @@ export const searchFormSchema: FormSchema[] = [ valueField: 'id', showName: 'userName', immediate: false, - resultField: 'data' + resultField: 'data', } }, }, @@ -147,7 +147,7 @@ export const searchFormSchema: FormSchema[] = [ valueField: 'id', showName: 'userName', immediate: false, - resultField: 'data' + resultField: 'data', } }, }, @@ -165,7 +165,7 @@ export const searchFormSchema: FormSchema[] = [ valueField: 'vesselName', resultField: 'data', immediate: false, - mode: 'SECRET_COMBOBOX_MODE_DO_NOT_USE' + mode: 'SECRET_COMBOBOX_MODE_DO_NOT_USE', } }, }, @@ -173,7 +173,7 @@ export const searchFormSchema: FormSchema[] = [ label: '船司航次', field: 'innerVoyno', component: 'Input', - colProps: { span: 4 } + colProps: { span: 4 }, }, { label: '装货港', @@ -189,7 +189,7 @@ export const searchFormSchema: FormSchema[] = [ labelField: 'pinYinCode', showName: 'portName', valueField: 'id', - immediate: false + immediate: false, } }, }, @@ -207,7 +207,7 @@ export const searchFormSchema: FormSchema[] = [ labelField: 'pinYinCode', showName: 'portName', valueField: 'id', - immediate: false + immediate: false, } }, }, @@ -225,7 +225,7 @@ export const searchFormSchema: FormSchema[] = [ labelField: 'pinYinCode', showName: 'portName', valueField: 'id', - immediate: false + immediate: false, } }, }, @@ -242,7 +242,7 @@ export const searchFormSchema: FormSchema[] = [ immediate: false, labelField: 'ediCode', valueField: 'id', - resultField: 'data' + resultField: 'data', } }, }, @@ -259,9 +259,9 @@ export const searchFormSchema: FormSchema[] = [ immediate: false, labelField: 'laneName', valueField: 'id', - resultField: 'data' + resultField: 'data', } - } + }, }, { label: '客服', @@ -277,7 +277,7 @@ export const searchFormSchema: FormSchema[] = [ valueField: 'id', showName: 'userName', immediate: false, - resultField: 'data' + resultField: 'data', } }, }, @@ -307,7 +307,7 @@ export const searchFormSchema: FormSchema[] = [ valueField: 'id', showName: 'shortName', resultField: 'data', - immediate: false + immediate: false, } }, }, @@ -315,7 +315,7 @@ export const searchFormSchema: FormSchema[] = [ field: 'contractNo', label: '约号', component: 'Input', - colProps: { span: 4 } + colProps: { span: 4 }, }, { label: '订舱口', @@ -389,25 +389,25 @@ export const searchFormSchema: FormSchema[] = [ label: '场站', field: 'yard', component: 'Input', - show: false + show: false, }, { label: '订舱口', field: 'forwarder', component: 'Input', - show: false + show: false, }, { field: 'contractNo', label: '约号', component: 'Input', - show: false + show: false, }, { field: 'serviceContractNo', label: '服务合同号', component: 'Input', - show: false + show: false, }, ] // 费用状态 @@ -451,25 +451,25 @@ export const columns: BasicColumn[] = [ dataIndex: 'shipperCn', title: '国内发货人', sorter: true, - width: 120 + width: 120, }, { dataIndex: 'cntrTotal', title: '箱型箱量', sorter: true, - width: 100 + width: 100, }, { dataIndex: 'quotePrice', title: '卖单价', sorter: true, - width: 80 + width: 80, }, { dataIndex: 'floorPrice', title: '底单价', sorter: true, - width: 80 + width: 80, }, { dataIndex: 'bookingNo', @@ -523,25 +523,25 @@ export const columns: BasicColumn[] = [ title: '卸货港', dataIndex: 'dischargePort', width: 120, - sorter: true + sorter: true, }, { title: '交货地', sorter: true, dataIndex: 'deliveryPlace', - width: 120 + width: 120, }, { dataIndex: 'service', title: '运输条款', sorter: true, - width: 100 + width: 100, }, { dataIndex: 'eta', title: '预抵日期', sorter: true, - width: 90 + width: 90, }, { title: '订舱口', @@ -552,12 +552,12 @@ export const columns: BasicColumn[] = [ { title: '运踪', dataIndex: 'bookStatus', - width: 200 + width: 200, }, { title: '提箱返场', dataIndex: 'statusLog', - width: 140 + width: 140, }, { title: '揽货人', @@ -587,7 +587,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'laner', title: '航线', sorter: true, - width: 120 + width: 120, }, { dataIndex: 'contractClientName', @@ -729,13 +729,13 @@ export const columns: BasicColumn[] = [ dataIndex: 'isBusinessLocking', title: '业务锁定', sorter: true, - width: 80 + width: 80, }, { dataIndex: 'isFeeLocking', title: '费用锁定', width: 80, - sorter: true + sorter: true, }, { dataIndex: 'accountDate', @@ -801,19 +801,19 @@ export const columns: BasicColumn[] = [ dataIndex: 'yard', title: '场站', sorter: true, - width: 120 + width: 120, }, { dataIndex: 'customser', title: '报关行', sorter: true, - width: 120 + width: 120, }, { dataIndex: 'trucker', title: '承运车队', sorter: true, - width: 120 + width: 120, }, // { // dataIndex: 'termDelivery', @@ -825,25 +825,25 @@ export const columns: BasicColumn[] = [ dataIndex: 'agent', title: '国外代理', sorter: true, - width: 120 + width: 120, }, { dataIndex: 'shipper', title: '发货人', sorter: true, - width: 120 + width: 120, }, { dataIndex: 'consignee', title: '收货人', sorter: true, - width: 120 + width: 120, }, { dataIndex: 'notifyParty', title: '通知人', width: 120, - sorter: true + sorter: true, }, { title: '收货地', @@ -855,7 +855,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'kindPkgsName', title: '包装', sorter: true, - width: 120 + width: 120, }, { title: '件数', @@ -913,7 +913,7 @@ export const columns: BasicColumn[] = [ } }) return name - } + }, }, { dataIndex: 'issueDate', @@ -925,7 +925,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'issueType', title: '签单方式', sorter: true, - width: 100 + width: 100, }, // ...CtnMapArr, { @@ -970,13 +970,13 @@ export const columns: BasicColumn[] = [ dataIndex: 'mblFrt', title: '付费方式', sorter: true, - width: 100 + width: 100, }, { dataIndex: 'prepareAt', title: '预付地点', sorter: true, - width: 120 + width: 120, }, { dataIndex: 'note', diff --git a/src/views/system/org/columns.tsx b/src/views/system/org/columns.tsx index 7c7a1708..b5124cb0 100644 --- a/src/views/system/org/columns.tsx +++ b/src/views/system/org/columns.tsx @@ -532,6 +532,11 @@ export const BankColumns: BasicColumn[] = [ width: 230, align: 'left', }, + { + title: 'SWIFT CODE', + dataIndex: 'swiftCode', + width: 100, + }, { title: '是否默认', dataIndex: 'isDefault', @@ -687,6 +692,15 @@ export const BankformSchema: FormSchema[] = [ span: 12, }, }, + { + label: 'SWIFT CODE', + field: 'swiftCode', + component: 'Input', + defaultValue: '', + colProps: { + span: 12, + }, + }, { field: 'isDefault', component: 'Switch',