From 9f2f370328d865c0305735b7304e61eeda7e1544 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Thu, 14 Nov 2024 10:54:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=B1=9E=E6=80=A7=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BuyCtn/TenantAuditStepModal.vue | 6 ++--- .../ContainerManagement/BuyCtn/columns.tsx | 6 ++--- .../CurrentState/columns.tsx | 4 ++-- .../CustFeeDui/TenantAuditStepModal.vue | 4 ++-- .../CustFeeDui/columns.tsx | 4 ++-- .../RentIn/TenantAuditStepModal.vue | 8 +++---- .../ContainerManagement/RentIn/columns.tsx | 8 +++---- .../RentOneWay/TenantAuditStepModal.vue | 4 ++-- .../RentOneWay/columns.tsx | 12 +++++----- .../RentOneWayIn/TenantAuditStepModal.vue | 4 ++-- .../RentOneWayIn/columns.tsx | 6 ++--- .../RentOut/TenantAuditStepModal.vue | 8 +++---- .../ContainerManagement/RentOut/columns.tsx | 8 +++---- .../ContainerManagement/SellCtn/columns.tsx | 2 +- .../StateChange/columns.tsx | 2 +- .../baseinfo/infoclient/Data/ClientTag.json | 23 ------------------- .../infoclient/FeeCustTemplate/columns.tsx | 4 ++-- src/views/fee/FeeCustTemplate/columns.tsx | 6 ++--- src/views/operation/seaexport/columns.tsx | 4 ++-- .../modules/Letter/OpBusinessTruckColumns.tsx | 6 ++--- .../modules/Letter/OpBusinessYardColumns.tsx | 2 +- .../seaexport/detail/modules/baseInfo.tsx | 14 +++++------ .../seaexport/detail/modules/preOrder.tsx | 2 +- .../taskList/BLConfirmation/columns.tsx | 2 +- 24 files changed, 63 insertions(+), 86 deletions(-) delete mode 100644 src/views/baseinfo/infoclient/Data/ClientTag.json diff --git a/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue b/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue index 5b7ca5fd..623c3b5c 100644 --- a/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue @@ -616,7 +616,7 @@ source: async (query, process) => { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const dict = res.map((res) => { return res.pinYinCode @@ -753,7 +753,7 @@ if (changes[0][1] === 'oldContainerOwner') { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] @@ -765,7 +765,7 @@ if (changes[0][1] === 'CtnFlowStateId') { const res = CtnFlowStateDict.value.length ? CtnFlowStateDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!CtnFlowStateDict.value.length) CtnFlowStateDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] diff --git a/src/views/ContainerManagement/BuyCtn/columns.tsx b/src/views/ContainerManagement/BuyCtn/columns.tsx index e94c98a3..52f97c40 100644 --- a/src/views/ContainerManagement/BuyCtn/columns.tsx +++ b/src/views/ContainerManagement/BuyCtn/columns.tsx @@ -137,7 +137,7 @@ export const searchFormSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -232,7 +232,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -335,7 +335,7 @@ export const formSearchBoxSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', diff --git a/src/views/ContainerManagement/CurrentState/columns.tsx b/src/views/ContainerManagement/CurrentState/columns.tsx index 86a36085..c15a07b0 100644 --- a/src/views/ContainerManagement/CurrentState/columns.tsx +++ b/src/views/ContainerManagement/CurrentState/columns.tsx @@ -229,7 +229,7 @@ export const searchFormSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -563,7 +563,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', diff --git a/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue b/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue index 8fc76f09..52b04a2a 100644 --- a/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue @@ -516,7 +516,7 @@ // source: async (query, process) => { // const res = ContainerOwnerDict.value.length // ? ContainerOwnerDict.value - // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + // : (await GetSupplierListByCode({ code: 'leasing' }))?.data // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // const dict = res.map((res) => { // return res.pinYinCode @@ -626,7 +626,7 @@ if (changes[0][1] === 'oldContainerOwner') { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] diff --git a/src/views/ContainerManagement/CustFeeDui/columns.tsx b/src/views/ContainerManagement/CustFeeDui/columns.tsx index 33a5ebdd..fbe1b445 100644 --- a/src/views/ContainerManagement/CustFeeDui/columns.tsx +++ b/src/views/ContainerManagement/CustFeeDui/columns.tsx @@ -136,7 +136,7 @@ export const searchFormSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -251,7 +251,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'id', diff --git a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue index cf8da45f..bd1ade80 100644 --- a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue @@ -679,7 +679,7 @@ // source: async (query, process) => { // const res = ContainerOwnerDict.value.length // ? ContainerOwnerDict.value - // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + // : (await GetSupplierListByCode({ code: 'leasing' }))?.data // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // const dict = res.map((res) => { // return res.pinYinCode @@ -870,7 +870,7 @@ if (changes[0][1] === 'oldContainerOwner') { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] @@ -991,7 +991,7 @@ // source: async (query, process) => { // const res = ContainerOwnerDict.value.length // ? ContainerOwnerDict.value - // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + // : (await GetSupplierListByCode({ code: 'leasing' }))?.data // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // const dict = res.map((res) => { // return res.pinYinCode @@ -1172,7 +1172,7 @@ if (changes[0][1] === 'oldContainerOwner') { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] diff --git a/src/views/ContainerManagement/RentIn/columns.tsx b/src/views/ContainerManagement/RentIn/columns.tsx index 0f81a88f..664f1799 100644 --- a/src/views/ContainerManagement/RentIn/columns.tsx +++ b/src/views/ContainerManagement/RentIn/columns.tsx @@ -198,7 +198,7 @@ export const searchFormSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -446,7 +446,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -541,7 +541,7 @@ export const formSearchBoxSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'id', @@ -565,7 +565,7 @@ export const formSearchBoxSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetCtnSelectList, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'ctnName', showName: 'ctnName', valueField: 'ctnName', diff --git a/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue index c1c577f0..2bf7471d 100644 --- a/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue @@ -623,7 +623,7 @@ source: async (query, process) => { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const dict = res.map((res) => { return res.pinYinCode @@ -853,7 +853,7 @@ if (changes[0][1] === 'oldContainerOwner') { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] diff --git a/src/views/ContainerManagement/RentOneWay/columns.tsx b/src/views/ContainerManagement/RentOneWay/columns.tsx index 85ab7a13..7ed98f07 100644 --- a/src/views/ContainerManagement/RentOneWay/columns.tsx +++ b/src/views/ContainerManagement/RentOneWay/columns.tsx @@ -170,7 +170,7 @@ export const searchFormSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -406,7 +406,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -501,13 +501,13 @@ export const formSearchBoxSchema: FormSchema[] = [ // required: false, // dynamicDisabled: false, // colProps: { span: 6 }, - // // api: GetSupplierListByCode({ code: 'isLeasing' }), + // // api: GetSupplierListByCode({ code: 'leasing' }), // componentProps: ({ formModel }) => { // return { // allowClear: true, // showSearch: true, - // api: GetSupplierListByCode({ code: 'isLeasing' }), - // params: { code: 'isLeasing' }, + // api: GetSupplierListByCode({ code: 'leasing' }), + // params: { code: 'leasing' }, // labelField: 'pinYinCode', // showName: 'shortName', // valueField: 'shortName', @@ -591,7 +591,7 @@ export const formSearchBoxSchema: FormSchema[] = [ // allowClear: true, // showSearch: true, // api: GetSupplierListByCode, - // params: { code: 'isLeasing' }, + // params: { code: 'leasing' }, // labelField: 'pinYinCode', // showName: 'shortName', // valueField: 'shortName', diff --git a/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue index bc66b65a..46dae44e 100644 --- a/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue @@ -569,7 +569,7 @@ source: async (query, process) => { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const dict = res.map((res) => { return res.pinYinCode @@ -796,7 +796,7 @@ if (changes[0][1] === 'oldContainerOwner') { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] diff --git a/src/views/ContainerManagement/RentOneWayIn/columns.tsx b/src/views/ContainerManagement/RentOneWayIn/columns.tsx index 4df4bf75..3c414d33 100644 --- a/src/views/ContainerManagement/RentOneWayIn/columns.tsx +++ b/src/views/ContainerManagement/RentOneWayIn/columns.tsx @@ -174,7 +174,7 @@ export const searchFormSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -410,7 +410,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -504,7 +504,7 @@ export const formSearchBoxSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', diff --git a/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue index 48458903..96826703 100644 --- a/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue @@ -695,7 +695,7 @@ // source: async (query, process) => { // const res = ContainerOwnerDict.value.length // ? ContainerOwnerDict.value - // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + // : (await GetSupplierListByCode({ code: 'leasing' }))?.data // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // const dict = res.map((res) => { // return res.pinYinCode @@ -897,7 +897,7 @@ if (changes[0][1] === 'ctnOwner') { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] @@ -1032,7 +1032,7 @@ // source: async (query, process) => { // const res = ContainerOwnerDict.value.length // ? ContainerOwnerDict.value - // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + // : (await GetSupplierListByCode({ code: 'leasing' }))?.data // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // const dict = res.map((res) => { // return res.pinYinCode @@ -1234,7 +1234,7 @@ if (changes[0][1] === 'ctnOwner') { const res = ContainerOwnerDict.value.length ? ContainerOwnerDict.value - : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data + : (await GetSupplierListByCode({ code: 'leasing' }))?.data if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res const item = res.filter((item) => { return item.pinYinCode === changes[0][3] diff --git a/src/views/ContainerManagement/RentOut/columns.tsx b/src/views/ContainerManagement/RentOut/columns.tsx index 5c98d135..0733fd9c 100644 --- a/src/views/ContainerManagement/RentOut/columns.tsx +++ b/src/views/ContainerManagement/RentOut/columns.tsx @@ -207,7 +207,7 @@ export const searchFormSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -454,7 +454,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', @@ -543,13 +543,13 @@ export const formSearchBoxSchema: FormSchema[] = [ required: false, dynamicDisabled: false, colProps: { span: 6 }, - // api: GetSupplierListByCode({ code: 'isLeasing' }), + // api: GetSupplierListByCode({ code: 'leasing' }), componentProps: ({ formModel }) => { return { allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', diff --git a/src/views/ContainerManagement/SellCtn/columns.tsx b/src/views/ContainerManagement/SellCtn/columns.tsx index 20b7baaf..fedc5761 100644 --- a/src/views/ContainerManagement/SellCtn/columns.tsx +++ b/src/views/ContainerManagement/SellCtn/columns.tsx @@ -198,7 +198,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', diff --git a/src/views/ContainerManagement/StateChange/columns.tsx b/src/views/ContainerManagement/StateChange/columns.tsx index 53866730..af0e6682 100644 --- a/src/views/ContainerManagement/StateChange/columns.tsx +++ b/src/views/ContainerManagement/StateChange/columns.tsx @@ -337,7 +337,7 @@ export const formSchema: FormSchema[] = [ allowClear: true, showSearch: true, api: GetSupplierListByCode, - params: { code: 'isLeasing' }, + params: { code: 'leasing' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', diff --git a/src/views/baseinfo/infoclient/Data/ClientTag.json b/src/views/baseinfo/infoclient/Data/ClientTag.json deleted file mode 100644 index 98248c36..00000000 --- a/src/views/baseinfo/infoclient/Data/ClientTag.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { "label": "船公司", "value": "isCarrier" }, - { "label": "订舱口", "value": "isBooking" }, - { "label": "场站", "value": "isYard" }, - { "label": "车队", "value": "isTruck" }, - { "label": "委托单位", "value": "isController" }, - { "label": "报关行", "value": "isCustom" }, - { "label": "代理(国外)", "value": "isAgent" }, - { "label": "代理(国内)", "value": "isAgentCn" }, - { "label": "快递公司", "value": "isExpress" }, - { "label": "航空公司", "value": "isAirLines" }, - { "label": "国外发货人", "value": "isShipper" }, - { "label": "通知人", "value": "isNotifyParty" }, - { "label": "仓库", "value": "isWareHouse" }, - { "label": "码头", "value": "isWharf" }, - { "label": "保险公司", "value": "isInsurer" }, - { "label": "租箱公司", "value": "isLeasing" }, - { "label": "贸易代理", "value": "isTradingAgency" }, - { "label": "其他", "value": "isOther" }, - { "label": "船代", "value": "isShipAgency" }, - { "label": "经营单位", "value": "isEnterprise" }, - { "label": "国内发货人", "value": "isShipperCn" } -] diff --git a/src/views/baseinfo/infoclient/FeeCustTemplate/columns.tsx b/src/views/baseinfo/infoclient/FeeCustTemplate/columns.tsx index 423d1e2b..2b79f3b0 100644 --- a/src/views/baseinfo/infoclient/FeeCustTemplate/columns.tsx +++ b/src/views/baseinfo/infoclient/FeeCustTemplate/columns.tsx @@ -613,7 +613,7 @@ export const searchFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isBooking' }, + params: { code: 'booking' }, labelField: 'pinYinCode', showName: 'description', valueField: 'id', @@ -1006,7 +1006,7 @@ export const formSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isBooking' }, + params: { code: 'booking' }, labelField: 'pinYinCode', showName: 'description', valueField: 'id', diff --git a/src/views/fee/FeeCustTemplate/columns.tsx b/src/views/fee/FeeCustTemplate/columns.tsx index 3224188a..a304e238 100644 --- a/src/views/fee/FeeCustTemplate/columns.tsx +++ b/src/views/fee/FeeCustTemplate/columns.tsx @@ -638,7 +638,7 @@ export const searchFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isBooking' }, + params: { code: 'booking' }, labelField: 'pinYinCode', showName: 'description', valueField: 'id', @@ -920,7 +920,7 @@ export const viewSearchFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isBooking' }, + params: { code: 'booking' }, labelField: 'pinYinCode', showName: 'description', valueField: 'id', @@ -1321,7 +1321,7 @@ export const formSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isBooking' }, + params: { code: 'booking' }, labelField: 'pinYinCode', showName: 'description', valueField: 'id', diff --git a/src/views/operation/seaexport/columns.tsx b/src/views/operation/seaexport/columns.tsx index a36d6bc8..923880e4 100644 --- a/src/views/operation/seaexport/columns.tsx +++ b/src/views/operation/seaexport/columns.tsx @@ -302,7 +302,7 @@ export const searchFormSchema: FormSchema[] = [ componentProps: () => { return { api: GetSupplierListByCode, - params: { code: 'isContract' }, + params: { code: 'contract' }, labelField: 'pinYinCode', valueField: 'id', showName: 'shortName', @@ -327,7 +327,7 @@ export const searchFormSchema: FormSchema[] = [ componentProps: () => { return { api: GetSupplierListByCode, - params: { code: 'isBooking' }, + params: { code: 'booking' }, labelField: 'pinYinCode', valueField: 'forwarderId', showName: 'description', diff --git a/src/views/operation/seaexport/detail/modules/Letter/OpBusinessTruckColumns.tsx b/src/views/operation/seaexport/detail/modules/Letter/OpBusinessTruckColumns.tsx index 75d4d09b..ffff6f35 100644 --- a/src/views/operation/seaexport/detail/modules/Letter/OpBusinessTruckColumns.tsx +++ b/src/views/operation/seaexport/detail/modules/Letter/OpBusinessTruckColumns.tsx @@ -276,7 +276,7 @@ export const formSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isTruck' }, + params: { code: 'truck' }, labelField: 'pinYinCode', valueField: 'shortName', showName: 'description', @@ -488,7 +488,7 @@ export const formSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isYard' }, + params: { code: 'yard' }, labelField: 'pinYinCode', showName: 'description', valueField: 'shortName', @@ -703,7 +703,7 @@ export const formSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isYard' }, + params: { code: 'yard' }, labelField: 'pinYinCode', showName: 'description', valueField: 'shortName', diff --git a/src/views/operation/seaexport/detail/modules/Letter/OpBusinessYardColumns.tsx b/src/views/operation/seaexport/detail/modules/Letter/OpBusinessYardColumns.tsx index 8ba4739a..ed025ef5 100644 --- a/src/views/operation/seaexport/detail/modules/Letter/OpBusinessYardColumns.tsx +++ b/src/views/operation/seaexport/detail/modules/Letter/OpBusinessYardColumns.tsx @@ -437,7 +437,7 @@ export const formSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isYard' }, + params: { code: 'yard' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName', diff --git a/src/views/operation/seaexport/detail/modules/baseInfo.tsx b/src/views/operation/seaexport/detail/modules/baseInfo.tsx index 0b03f55e..0b41b480 100644 --- a/src/views/operation/seaexport/detail/modules/baseInfo.tsx +++ b/src/views/operation/seaexport/detail/modules/baseInfo.tsx @@ -214,7 +214,7 @@ export const basicInfoFormSchema: FormSchema[] = [ componentProps: ({ formModel, formActionType }) => { return { api: GetSupplierListByCode, - params: { code: 'isContract' }, + params: { code: 'contract' }, labelField: 'pinYinCode', valueField: 'shortName', showName: 'shortName', @@ -327,7 +327,7 @@ export const basicInfoFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isBooking' }, + params: { code: 'booking' }, labelField: 'pinYinCode', valueField: 'shortName', showName: 'description', @@ -2748,7 +2748,7 @@ export const otherInfoFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isTruck' }, + params: { code: 'truck' }, labelField: 'pinYinCode', valueField: 'shortName', showName: 'description', @@ -2782,7 +2782,7 @@ export const otherInfoFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isAgent' }, + params: { code: 'agent' }, labelField: 'pinYinCode', showName: 'description', valueField: 'shortName', @@ -2811,7 +2811,7 @@ export const otherInfoFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isYard' }, + params: { code: 'yard' }, labelField: 'pinYinCode', showName: 'description', valueField: 'shortName', @@ -2846,7 +2846,7 @@ export const otherInfoFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isShipagency' }, + params: { code: 'shipagency' }, labelField: 'pinYinCode', showName: 'description', valueField: 'shortName', @@ -2881,7 +2881,7 @@ export const otherInfoFormSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isCustom' }, + params: { code: 'custom' }, labelField: 'pinYinCode', valueField: 'shortName', showName: 'description', diff --git a/src/views/operation/seaexport/detail/modules/preOrder.tsx b/src/views/operation/seaexport/detail/modules/preOrder.tsx index 84b043e2..9ec5c912 100644 --- a/src/views/operation/seaexport/detail/modules/preOrder.tsx +++ b/src/views/operation/seaexport/detail/modules/preOrder.tsx @@ -614,7 +614,7 @@ export const yardSchema: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isYard' }, + params: { code: 'yard' }, labelField: 'pinYinCode', placeholder: '场站', showName: 'shortName', diff --git a/src/views/taskmanage/taskList/BLConfirmation/columns.tsx b/src/views/taskmanage/taskList/BLConfirmation/columns.tsx index 1de1369f..60b9c608 100644 --- a/src/views/taskmanage/taskList/BLConfirmation/columns.tsx +++ b/src/views/taskmanage/taskList/BLConfirmation/columns.tsx @@ -374,7 +374,7 @@ export const formSchema1: FormSchema[] = [ componentProps: ({ formModel }) => { return { api: GetSupplierListByCode, - params: { code: 'isAgent' }, + params: { code: 'agent' }, labelField: 'pinYinCode', showName: 'shortName', valueField: 'shortName',