@ -68,14 +68,6 @@ export const searchFormSchema: FormSchema[] = [
labelField: 'ctnName',
valueField: 'ediCode',
resultField: 'data',
onChange: (e, obj) => {
if (e && obj) {
formModel.ctnall = obj.label
}
if (!e && !obj) {
formModel.ctnall = ''
},
@ -33,7 +33,8 @@
})
beforeFetch: (p) => {
let Rdata = formatParams(p, ['ctnCode'])
// ['ctnCode']
let Rdata = formatParams(p, searchFormSchema)
if (!!p.cntrno) {
let data = JSON.parse(Rdata.queryCondition)
data.forEach((item, index) => {
@ -65,7 +65,8 @@
return formatParams(p, ['oldContainerOwner', 'bsdate', 'accdate'])
// ['oldContainerOwner', 'bsdate', 'accdate']
return formatParams(p, searchFormSchema)
columns,
formConfig: {
return formatParams(p, ['bsdate', 'accdate'])
// ['bsdate', 'accdate']
@ -54,7 +54,8 @@
let Rdata = formatParams(p, ['ctnOwner', 'ctnSourceId', 'isOnlineId', 'portid'])
// ['ctnOwner', 'ctnSourceId', 'isOnlineId', 'portid']
if (!!p.cntrno || !!p.CM_ctnCode || !!p.CM_ctnSize || !!p.stateTime) {
let CM_ctnCode: any = null
@ -57,7 +57,8 @@
return formatParams(p, ['oldContainerOwner', 'rentDirectId'])
// ['oldContainerOwner', 'rentDirectId']
return formatParams(p, ['oldContainerOwner', 'rentDirectId', 'bsdate', 'accdate'])
// ['oldContainerOwner', 'rentDirectId', 'bsdate', 'accdate']
return formatParams(p, ['rentCustomerName', 'bsdate', 'accdate'])
// ['rentCustomerName', 'bsdate', 'accdate']
return formatParams(p, ['rentCustomerName', 'rentDirectId', 'bsdate', 'accdate'])
// ['rentCustomerName', 'rentDirectId', 'bsdate', 'accdate']
@ -55,7 +55,8 @@
return formatParams(p, ['ctnOwner', 'ctnSourceId', 'isOnlineId', 'portid'])
@ -32,7 +32,8 @@
return formatParams(p, ['ctnall', 'ctnSourceId', 'isOnlineId'])
// ['ctnall', 'ctnSourceId', 'isOnlineId']
rowSelection: { type: 'checkbox' },
@ -89,7 +89,8 @@
p['isShared'] = 1
p['customerId'] = props.clientId
return formatParams(p, ['isShared', 'isDisabled'])
// ['isShared', 'isDisabled']
columns: columns,