diff --git a/.env.development b/.env.development index e850e394..1607cbaf 100644 --- a/.env.development +++ b/.env.development @@ -20,8 +20,8 @@ VITE_PROXY=[["/api","http://60.209.125.238:3008"],["/stage-api","https://www.666 VITE_DROP_CONSOLE = false # 后台接口父地址(必填) -VITE_GLOB_API_URL=http://localhost:3008 -# VITE_GLOB_API_URL="/api" # 开发 测试环境 +# VITE_GLOB_API_URL=http://localhost:3008 +VITE_GLOB_API_URL="/api" # 开发 测试环境 # File upload address, optional #VITE_GLOB_UPLOAD_URL=http://localhost:8091/api/Common/UploadFile diff --git a/src/api/system/org.ts b/src/api/system/org.ts index 10b11894..7bb3c600 100644 --- a/src/api/system/org.ts +++ b/src/api/system/org.ts @@ -8,6 +8,10 @@ enum Api { GetOrgInfo = '/mainApi/Org/GetOrgInfo', GetOrgTree = '/mainApi/Org/GetOrgTree', GetOrgList = '/mainApi/Common/GetOrgList', + + GetBankList = '/mainApi/Bank/GetBankList', + EditBank = '/mainApi/Bank/EditBank', + GetBankInfo = '/mainApi/Bank/GetBankInfo', } export function getOrgList(data: PageRequest) { return request({ @@ -45,3 +49,25 @@ export function getOrgListData(query: { id: string }) { params: query, }) } + +export function getBankList(data: any) { + return request({ + url: Api.GetBankList, + method: 'post', + data, + }) +} +export function editBank(data: any) { + return request({ + url: Api.EditBank, + method: 'post', + data, + }) +} +export function getBankInfo(query: { id: string }) { + return request({ + url: Api.GetBankInfo, + method: 'get', + params: query, + }) +} \ No newline at end of file diff --git a/src/views/operation/seaexport/detail/modules/baseInfo.tsx b/src/views/operation/seaexport/detail/modules/baseInfo.tsx index 4a6db48a..e5d5ee46 100644 --- a/src/views/operation/seaexport/detail/modules/baseInfo.tsx +++ b/src/views/operation/seaexport/detail/modules/baseInfo.tsx @@ -907,104 +907,104 @@ export const mailingInfoFormSchemaL: FormSchema[] = [ } }, }, - { - label: '', - field: 'consigneeContent', - component: 'Input', - // defaultValue: '', - show: false, - }, - { - label: '', - field: 'consignee', - component: 'Input', - // defaultValue: '', - show: false, - }, - { - label: '', - field: 'consigneeId', - component: 'Input', - // defaultValue: '', - show: false, - }, - { - field: 'shr', - component: 'SelectTextArea', - colProps: { span: 24 }, - componentProps: ({ formModel }) => { - return { - label: '收货人', - details: formModel, - field: 'consignee', - onChange: (e) => { - if (e) { - if (e.type == 'Id') { - formModel.consignee = e.res.shortName - formModel.consigneeId = e.res.id - } else { - formModel[`consignee${e.type}`] = e.res - } - } - }, - } - }, - }, - { - label: '', - field: 'notifyPartyContent', - component: 'Input', - // defaultValue: '', - show: false, - }, - { - label: '', - field: 'notifyParty', - component: 'Input', - // defaultValue: '', - show: false, - }, - { - label: '', - field: 'notifyPartyId', - component: 'Input', - // defaultValue: '', - show: false, - }, - { - field: 'tzr', - component: 'SelectTextArea', - colProps: { span: 24 }, - componentProps: ({ formModel }) => { - return { - label: '通知人', - details: formModel, - field: 'notifyParty', - onChange: (e) => { - if (e) { - if (e.type == 'Id') { - formModel.notifyParty = e.res.shortName - formModel.notifyPartyId = e.res.id - } else { - formModel[`notifyParty${e.type}`] = e.res - } - } - }, - } - }, - }, - { - field: 'agent', - label: 'AGENT', - component: 'InputTextArea', - required: false, - dynamicDisabled: false, - // defaultValue: '', - colProps: { span: 24 }, - componentProps: { - rows: 3, - }, - }, + // { + // label: '', + // field: 'consigneeContent', + // component: 'Input', + // // defaultValue: '', + // show: false, + // }, + // { + // label: '', + // field: 'consignee', + // component: 'Input', + // // defaultValue: '', + // show: false, + // }, + // { + // label: '', + // field: 'consigneeId', + // component: 'Input', + // // defaultValue: '', + // show: false, + // }, + // { + // field: 'shr', + // component: 'SelectTextArea', + // colProps: { span: 24 }, + // componentProps: ({ formModel }) => { + // return { + // label: '收货人', + // details: formModel, + // field: 'consignee', + // onChange: (e) => { + // if (e) { + // if (e.type == 'Id') { + // formModel.consignee = e.res.shortName + // formModel.consigneeId = e.res.id + // } else { + // formModel[`consignee${e.type}`] = e.res + // } + // } + // }, + // } + // }, + // }, + // { + // label: '', + // field: 'notifyPartyContent', + // component: 'Input', + // // defaultValue: '', + // show: false, + // }, + // { + // label: '', + // field: 'notifyParty', + // component: 'Input', + // // defaultValue: '', + // show: false, + // }, + // { + // label: '', + // field: 'notifyPartyId', + // component: 'Input', + // // defaultValue: '', + // show: false, + // }, + // { + // field: 'tzr', + // component: 'SelectTextArea', + // colProps: { span: 24 }, + // componentProps: ({ formModel }) => { + // return { + // label: '通知人', + // details: formModel, + // field: 'notifyParty', + // onChange: (e) => { + // if (e) { + // if (e.type == 'Id') { + // formModel.notifyParty = e.res.shortName + // formModel.notifyPartyId = e.res.id + // } else { + // formModel[`notifyParty${e.type}`] = e.res + // } + // } + // }, + // } + // }, + // }, + // { + // field: 'agent', + // label: 'AGENT', + // component: 'InputTextArea', + // required: false, + // dynamicDisabled: false, + // // defaultValue: '', + // colProps: { span: 24 }, + // componentProps: { + // rows: 3, + // }, + // }, ] export const mailingInfoFormSchemaR: FormSchema[] = [ diff --git a/src/views/operation/seaexport/detail/modules/operationArea copy.vue b/src/views/operation/seaexport/detail/modules/operationArea copy.vue deleted file mode 100644 index 4f07fedf..00000000 --- a/src/views/operation/seaexport/detail/modules/operationArea copy.vue +++ /dev/null @@ -1,3105 +0,0 @@ - - - diff --git a/src/views/system/org/BankModal.vue b/src/views/system/org/BankModal.vue new file mode 100644 index 00000000..3ef36b92 --- /dev/null +++ b/src/views/system/org/BankModal.vue @@ -0,0 +1,124 @@ + + diff --git a/src/views/system/org/OrgModal.vue b/src/views/system/org/OrgModal.vue index ab53fa9d..4d23f100 100644 --- a/src/views/system/org/OrgModal.vue +++ b/src/views/system/org/OrgModal.vue @@ -3,11 +3,36 @@ v-bind="$attrs" :use-wrapper="true" :title="getTitle" - width="30%" + width="60%" @register="registerModal" @ok="handleSave" > - + + + + + + + + + + + +