|
|
@ -30,12 +30,91 @@ export const columns: BasicColumn[] = [
|
|
|
|
sorter: true,
|
|
|
|
sorter: true,
|
|
|
|
width: 150,
|
|
|
|
width: 150,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
|
|
|
// title: '序号',
|
|
|
|
|
|
|
|
// dataIndex: 'index',
|
|
|
|
|
|
|
|
// width: 50,
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '当前箱业务状态',
|
|
|
|
|
|
|
|
dataIndex: 'ctnBizState',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '关联合同号',
|
|
|
|
|
|
|
|
dataIndex: 'ctnReleaseNo',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '船名航次',
|
|
|
|
|
|
|
|
dataIndex: 'vesselVoyno',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '当前业务编号',
|
|
|
|
|
|
|
|
dataIndex: 'mblno',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '状态时间',
|
|
|
|
|
|
|
|
dataIndex: 'stateTime',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '箱型',
|
|
|
|
title: '箱型',
|
|
|
|
dataIndex: 'ctnall',
|
|
|
|
dataIndex: 'ctnall',
|
|
|
|
sorter: true,
|
|
|
|
sorter: true,
|
|
|
|
width: 150,
|
|
|
|
width: 150,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '空重箱',
|
|
|
|
|
|
|
|
dataIndex: 'isHeavy',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 80,
|
|
|
|
|
|
|
|
customRender: ({ text }) => {
|
|
|
|
|
|
|
|
if (text) {
|
|
|
|
|
|
|
|
return <Tag color="success">重箱</Tag>
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return <Tag color="error">空箱</Tag>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return text
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '始发港',
|
|
|
|
|
|
|
|
dataIndex: 'portLoad',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 150,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '目的港',
|
|
|
|
|
|
|
|
dataIndex: 'portDelivery',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 150,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '预抵港',
|
|
|
|
|
|
|
|
dataIndex: 'portDischarge',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 150,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '码头或场站',
|
|
|
|
|
|
|
|
dataIndex: 'depot',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 150,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '备注',
|
|
|
|
|
|
|
|
dataIndex: 'remark',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '新旧箱',
|
|
|
|
title: '新旧箱',
|
|
|
|
dataIndex: 'usedState',
|
|
|
|
dataIndex: 'usedState',
|
|
|
@ -60,24 +139,14 @@ export const columns: BasicColumn[] = [
|
|
|
|
sorter: true,
|
|
|
|
sorter: true,
|
|
|
|
width: 200,
|
|
|
|
width: 200,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '当前箱业务状态',
|
|
|
|
|
|
|
|
dataIndex: 'ctnBizState',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '箱业务编号',
|
|
|
|
title: '箱业务编号',
|
|
|
|
dataIndex: 'billno',
|
|
|
|
dataIndex: 'billno',
|
|
|
|
sorter: true,
|
|
|
|
sorter: true,
|
|
|
|
width: 200,
|
|
|
|
width: 200,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '关联合同号',
|
|
|
|
|
|
|
|
dataIndex: 'ctnReleaseNo',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '箱状态',
|
|
|
|
title: '箱状态',
|
|
|
|
dataIndex: 'ctnState',
|
|
|
|
dataIndex: 'ctnState',
|
|
|
@ -96,44 +165,14 @@ export const columns: BasicColumn[] = [
|
|
|
|
sorter: true,
|
|
|
|
sorter: true,
|
|
|
|
width: 200,
|
|
|
|
width: 200,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '空重箱',
|
|
|
|
|
|
|
|
dataIndex: 'isHeavy',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 80,
|
|
|
|
|
|
|
|
customRender: ({ text }) => {
|
|
|
|
|
|
|
|
if (text) {
|
|
|
|
|
|
|
|
return <Tag color="success">重箱</Tag>
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return <Tag color="error">空箱</Tag>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return text
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '当前港口',
|
|
|
|
title: '当前港口',
|
|
|
|
dataIndex: 'port',
|
|
|
|
dataIndex: 'port',
|
|
|
|
sorter: true,
|
|
|
|
sorter: true,
|
|
|
|
width: 150,
|
|
|
|
width: 150,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '码头或场站',
|
|
|
|
|
|
|
|
dataIndex: 'depot',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 150,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '船名航次',
|
|
|
|
|
|
|
|
dataIndex: 'vesselVoyno',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '当前业务编号',
|
|
|
|
|
|
|
|
dataIndex: 'mblno',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '业务委托单位',
|
|
|
|
title: '业务委托单位',
|
|
|
|
dataIndex: 'customerName',
|
|
|
|
dataIndex: 'customerName',
|
|
|
@ -164,18 +203,6 @@ export const columns: BasicColumn[] = [
|
|
|
|
sorter: true,
|
|
|
|
sorter: true,
|
|
|
|
width: 200,
|
|
|
|
width: 200,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '状态时间',
|
|
|
|
|
|
|
|
dataIndex: 'stateTime',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '备注',
|
|
|
|
|
|
|
|
dataIndex: 'remark',
|
|
|
|
|
|
|
|
sorter: true,
|
|
|
|
|
|
|
|
width: 200,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
@ -656,6 +683,117 @@ export const formSchema: FormSchema[] = [
|
|
|
|
unCheckedChildren: '空箱',
|
|
|
|
unCheckedChildren: '空箱',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
field: 'portLoadCode',
|
|
|
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
field: 'portLoad',
|
|
|
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'portLoadid',
|
|
|
|
|
|
|
|
label: '始发港',
|
|
|
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
option: optionsStore.getOptionsByCode('GetClientPortSelectList'),
|
|
|
|
|
|
|
|
labelField: 'portName',
|
|
|
|
|
|
|
|
valueField: 'id',
|
|
|
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onChange: (v, obj) => {
|
|
|
|
|
|
|
|
console.log(v, obj)
|
|
|
|
|
|
|
|
formModel.portLoad = obj?.label || ''
|
|
|
|
|
|
|
|
formModel.portLoadCode = obj?.ediCode || ''
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
field: 'portDeliveryCode',
|
|
|
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
field: 'portDelivery',
|
|
|
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'portDeliveryid',
|
|
|
|
|
|
|
|
label: '目的港',
|
|
|
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
option: optionsStore.getOptionsByCode('GetClientPortSelectList'),
|
|
|
|
|
|
|
|
labelField: 'portName',
|
|
|
|
|
|
|
|
valueField: 'id',
|
|
|
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onChange: (v, obj) => {
|
|
|
|
|
|
|
|
console.log(v, obj)
|
|
|
|
|
|
|
|
formModel.portDelivery = obj?.label || ''
|
|
|
|
|
|
|
|
formModel.portDeliveryCode = obj?.ediCode || ''
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
field: 'portDischargeCode',
|
|
|
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
field: 'portDischarge',
|
|
|
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
field: 'portDischargeid',
|
|
|
|
|
|
|
|
label: '预抵港',
|
|
|
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
|
|
|
required: false,
|
|
|
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
option: optionsStore.getOptionsByCode('GetClientPortSelectList'),
|
|
|
|
|
|
|
|
labelField: 'portName',
|
|
|
|
|
|
|
|
valueField: 'id',
|
|
|
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onChange: (v, obj) => {
|
|
|
|
|
|
|
|
console.log(v, obj)
|
|
|
|
|
|
|
|
formModel.portDischarge = obj?.label || ''
|
|
|
|
|
|
|
|
formModel.portDischargeCode = obj?.ediCode || ''
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '',
|
|
|
|
label: '',
|
|
|
|
field: 'port',
|
|
|
|
field: 'port',
|
|
|
|