客户属性字典更换

zth
lijingjia 1 week ago
parent c96a0d8350
commit 9f2f370328

@ -616,7 +616,7 @@
source: async (query, process) => { source: async (query, process) => {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const dict = res.map((res) => { const dict = res.map((res) => {
return res.pinYinCode return res.pinYinCode
@ -753,7 +753,7 @@
if (changes[0][1] === 'oldContainerOwner') { if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]
@ -765,7 +765,7 @@
if (changes[0][1] === 'CtnFlowStateId') { if (changes[0][1] === 'CtnFlowStateId') {
const res = CtnFlowStateDict.value.length const res = CtnFlowStateDict.value.length
? CtnFlowStateDict.value ? CtnFlowStateDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!CtnFlowStateDict.value.length) CtnFlowStateDict.value = res if (!CtnFlowStateDict.value.length) CtnFlowStateDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]

@ -137,7 +137,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -232,7 +232,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -335,7 +335,7 @@ export const formSearchBoxSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',

@ -229,7 +229,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -563,7 +563,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',

@ -516,7 +516,7 @@
// source: async (query, process) => { // source: async (query, process) => {
// const res = ContainerOwnerDict.value.length // const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value // ? ContainerOwnerDict.value
// : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => { // const dict = res.map((res) => {
// return res.pinYinCode // return res.pinYinCode
@ -626,7 +626,7 @@
if (changes[0][1] === 'oldContainerOwner') { if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]

@ -136,7 +136,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -251,7 +251,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'id', valueField: 'id',

@ -679,7 +679,7 @@
// source: async (query, process) => { // source: async (query, process) => {
// const res = ContainerOwnerDict.value.length // const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value // ? ContainerOwnerDict.value
// : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => { // const dict = res.map((res) => {
// return res.pinYinCode // return res.pinYinCode
@ -870,7 +870,7 @@
if (changes[0][1] === 'oldContainerOwner') { if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]
@ -991,7 +991,7 @@
// source: async (query, process) => { // source: async (query, process) => {
// const res = ContainerOwnerDict.value.length // const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value // ? ContainerOwnerDict.value
// : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => { // const dict = res.map((res) => {
// return res.pinYinCode // return res.pinYinCode
@ -1172,7 +1172,7 @@
if (changes[0][1] === 'oldContainerOwner') { if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]

@ -198,7 +198,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -446,7 +446,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -541,7 +541,7 @@ export const formSearchBoxSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'id', valueField: 'id',
@ -565,7 +565,7 @@ export const formSearchBoxSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetCtnSelectList, api: GetCtnSelectList,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'ctnName', labelField: 'ctnName',
showName: 'ctnName', showName: 'ctnName',
valueField: 'ctnName', valueField: 'ctnName',

@ -623,7 +623,7 @@
source: async (query, process) => { source: async (query, process) => {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const dict = res.map((res) => { const dict = res.map((res) => {
return res.pinYinCode return res.pinYinCode
@ -853,7 +853,7 @@
if (changes[0][1] === 'oldContainerOwner') { if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]

@ -170,7 +170,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -406,7 +406,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -501,13 +501,13 @@ export const formSearchBoxSchema: FormSchema[] = [
// required: false, // required: false,
// dynamicDisabled: false, // dynamicDisabled: false,
// colProps: { span: 6 }, // colProps: { span: 6 },
// // api: GetSupplierListByCode({ code: 'isLeasing' }), // // api: GetSupplierListByCode({ code: 'leasing' }),
// componentProps: ({ formModel }) => { // componentProps: ({ formModel }) => {
// return { // return {
// allowClear: true, // allowClear: true,
// showSearch: true, // showSearch: true,
// api: GetSupplierListByCode({ code: 'isLeasing' }), // api: GetSupplierListByCode({ code: 'leasing' }),
// params: { code: 'isLeasing' }, // params: { code: 'leasing' },
// labelField: 'pinYinCode', // labelField: 'pinYinCode',
// showName: 'shortName', // showName: 'shortName',
// valueField: 'shortName', // valueField: 'shortName',
@ -591,7 +591,7 @@ export const formSearchBoxSchema: FormSchema[] = [
// allowClear: true, // allowClear: true,
// showSearch: true, // showSearch: true,
// api: GetSupplierListByCode, // api: GetSupplierListByCode,
// params: { code: 'isLeasing' }, // params: { code: 'leasing' },
// labelField: 'pinYinCode', // labelField: 'pinYinCode',
// showName: 'shortName', // showName: 'shortName',
// valueField: 'shortName', // valueField: 'shortName',

@ -569,7 +569,7 @@
source: async (query, process) => { source: async (query, process) => {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const dict = res.map((res) => { const dict = res.map((res) => {
return res.pinYinCode return res.pinYinCode
@ -796,7 +796,7 @@
if (changes[0][1] === 'oldContainerOwner') { if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]

@ -174,7 +174,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -410,7 +410,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -504,7 +504,7 @@ export const formSearchBoxSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',

@ -695,7 +695,7 @@
// source: async (query, process) => { // source: async (query, process) => {
// const res = ContainerOwnerDict.value.length // const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value // ? ContainerOwnerDict.value
// : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => { // const dict = res.map((res) => {
// return res.pinYinCode // return res.pinYinCode
@ -897,7 +897,7 @@
if (changes[0][1] === 'ctnOwner') { if (changes[0][1] === 'ctnOwner') {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]
@ -1032,7 +1032,7 @@
// source: async (query, process) => { // source: async (query, process) => {
// const res = ContainerOwnerDict.value.length // const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value // ? ContainerOwnerDict.value
// : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res // if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => { // const dict = res.map((res) => {
// return res.pinYinCode // return res.pinYinCode
@ -1234,7 +1234,7 @@
if (changes[0][1] === 'ctnOwner') { if (changes[0][1] === 'ctnOwner') {
const res = ContainerOwnerDict.value.length const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value ? ContainerOwnerDict.value
: (await GetSupplierListByCode({ code: 'isLeasing' }))?.data : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => { const item = res.filter((item) => {
return item.pinYinCode === changes[0][3] return item.pinYinCode === changes[0][3]

@ -207,7 +207,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -454,7 +454,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',
@ -543,13 +543,13 @@ export const formSearchBoxSchema: FormSchema[] = [
required: false, required: false,
dynamicDisabled: false, dynamicDisabled: false,
colProps: { span: 6 }, colProps: { span: 6 },
// api: GetSupplierListByCode({ code: 'isLeasing' }), // api: GetSupplierListByCode({ code: 'leasing' }),
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',

@ -198,7 +198,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',

@ -337,7 +337,7 @@ export const formSchema: FormSchema[] = [
allowClear: true, allowClear: true,
showSearch: true, showSearch: true,
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isLeasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',

@ -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" }
]

@ -613,7 +613,7 @@ export const searchFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isBooking' }, params: { code: 'booking' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'id', valueField: 'id',
@ -1006,7 +1006,7 @@ export const formSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isBooking' }, params: { code: 'booking' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'id', valueField: 'id',

@ -638,7 +638,7 @@ export const searchFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isBooking' }, params: { code: 'booking' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'id', valueField: 'id',
@ -920,7 +920,7 @@ export const viewSearchFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isBooking' }, params: { code: 'booking' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'id', valueField: 'id',
@ -1321,7 +1321,7 @@ export const formSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isBooking' }, params: { code: 'booking' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'id', valueField: 'id',

@ -302,7 +302,7 @@ export const searchFormSchema: FormSchema[] = [
componentProps: () => { componentProps: () => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isContract' }, params: { code: 'contract' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'id', valueField: 'id',
showName: 'shortName', showName: 'shortName',
@ -327,7 +327,7 @@ export const searchFormSchema: FormSchema[] = [
componentProps: () => { componentProps: () => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isBooking' }, params: { code: 'booking' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'forwarderId', valueField: 'forwarderId',
showName: 'description', showName: 'description',

@ -276,7 +276,7 @@ export const formSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isTruck' }, params: { code: 'truck' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'shortName', valueField: 'shortName',
showName: 'description', showName: 'description',
@ -488,7 +488,7 @@ export const formSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isYard' }, params: { code: 'yard' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'shortName', valueField: 'shortName',
@ -703,7 +703,7 @@ export const formSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isYard' }, params: { code: 'yard' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'shortName', valueField: 'shortName',

@ -437,7 +437,7 @@ export const formSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isYard' }, params: { code: 'yard' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',

@ -214,7 +214,7 @@ export const basicInfoFormSchema: FormSchema[] = [
componentProps: ({ formModel, formActionType }) => { componentProps: ({ formModel, formActionType }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isContract' }, params: { code: 'contract' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'shortName', valueField: 'shortName',
showName: 'shortName', showName: 'shortName',
@ -327,7 +327,7 @@ export const basicInfoFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isBooking' }, params: { code: 'booking' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'shortName', valueField: 'shortName',
showName: 'description', showName: 'description',
@ -2748,7 +2748,7 @@ export const otherInfoFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isTruck' }, params: { code: 'truck' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'shortName', valueField: 'shortName',
showName: 'description', showName: 'description',
@ -2782,7 +2782,7 @@ export const otherInfoFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isAgent' }, params: { code: 'agent' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'shortName', valueField: 'shortName',
@ -2811,7 +2811,7 @@ export const otherInfoFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isYard' }, params: { code: 'yard' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'shortName', valueField: 'shortName',
@ -2846,7 +2846,7 @@ export const otherInfoFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isShipagency' }, params: { code: 'shipagency' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'description', showName: 'description',
valueField: 'shortName', valueField: 'shortName',
@ -2881,7 +2881,7 @@ export const otherInfoFormSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isCustom' }, params: { code: 'custom' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
valueField: 'shortName', valueField: 'shortName',
showName: 'description', showName: 'description',

@ -614,7 +614,7 @@ export const yardSchema: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isYard' }, params: { code: 'yard' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
placeholder: '场站', placeholder: '场站',
showName: 'shortName', showName: 'shortName',

@ -374,7 +374,7 @@ export const formSchema1: FormSchema[] = [
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
api: GetSupplierListByCode, api: GetSupplierListByCode,
params: { code: 'isAgent' }, params: { code: 'agent' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'shortName',

Loading…
Cancel
Save