diff --git a/src/views/wms/inventoryManage/containerinit/containerinitadd/containerMain.data.ts b/src/views/wms/inventoryManage/containerinit/containerinitadd/containerMain.data.ts index 91fbddc1c..3e6de4e36 100644 --- a/src/views/wms/inventoryManage/containerinit/containerinitadd/containerMain.data.ts +++ b/src/views/wms/inventoryManage/containerinit/containerinitadd/containerMain.data.ts @@ -8,26 +8,21 @@ import * as BalanceApi from "@/api/wms/balance"; // 表单校验 export const ContainerMainRules = reactive({ - number: [ - { required: true, message: '请输入号码', trigger: 'blur' } - ], type: [ { required: true, message: '请选择类型', trigger: 'change' } ], status: [ { required: true, message: '请选择状态', trigger: 'change' } - ], - ownerCode: [ - { required: true, message: '请选择货主代码', trigger: 'change' } - ], + ] }) export const ContainerMain = useCrudSchemas(reactive([ { - label: '号码', + label: '单据号', field: 'number', sort: 'custom', isSearch: true, + isForm: false, }, { label: '类型', diff --git a/src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue b/src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue index 956735566..5fefb9a21 100644 --- a/src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue +++ b/src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue @@ -28,7 +28,7 @@ v-model:sort="tableObject.sort" >