diff --git a/src/views/ContainerManagement/CurrentState/columns.tsx b/src/views/ContainerManagement/CurrentState/columns.tsx index a34b8fab..8a01daf2 100644 --- a/src/views/ContainerManagement/CurrentState/columns.tsx +++ b/src/views/ContainerManagement/CurrentState/columns.tsx @@ -40,6 +40,12 @@ export const columns: BasicColumn[] = [ sorter: true, width: 150, }, + { + title: '是否上线', + dataIndex: 'isOnline', + sorter: true, + width: 200, + }, { title: '序号', dataIndex: 'index', @@ -176,12 +182,6 @@ export const columns: BasicColumn[] = [ // sorter: true, // width: 200, // }, - // { - // title: '是否上线', - // dataIndex: 'isOnline', - // sorter: true, - // width: 200, - // }, // { // title: '当前港口', @@ -223,6 +223,17 @@ export const columns: BasicColumn[] = [ ] export const searchFormSchema: FormSchema[] = [ + { + field: 'cntrno', + label: '箱号', + component: 'InputTextArea', + colProps: { span: 8 }, + componentProps: { + validateOnRuleChange: false, + placeholder: '可输入多个箱号', + rows: 1, + }, + }, { field: 'ctnOwner', label: '箱主', @@ -252,7 +263,6 @@ export const searchFormSchema: FormSchema[] = [ label: '是否上线', component: 'ApiSelect', colProps: { span: 4 }, - defaultValue: '1', componentProps: () => { return { api: () => { @@ -342,17 +352,6 @@ export const searchFormSchema: FormSchema[] = [ component: 'InputNumber', colProps: { span: 4 }, }, - { - field: 'cntrno', - label: '箱号', - component: 'InputTextArea', - colProps: { span: 8 }, - componentProps: { - validateOnRuleChange: false, - placeholder: '可输入多个箱号', - rows: 1, - }, - }, { field: 'portid', label: '当前港口', diff --git a/src/views/ContainerManagement/CurrentState/index.vue b/src/views/ContainerManagement/CurrentState/index.vue index 92f14f54..9d66d4aa 100644 --- a/src/views/ContainerManagement/CurrentState/index.vue +++ b/src/views/ContainerManagement/CurrentState/index.vue @@ -2,10 +2,10 @@