|
|
@ -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<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '号码', |
|
|
|
label: '单据号', |
|
|
|
field: 'number', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '类型', |
|
|
|