|
@ -8,26 +8,21 @@ import * as BalanceApi from "@/api/wms/balance"; |
|
|
|
|
|
|
|
|
// 表单校验
|
|
|
// 表单校验
|
|
|
export const ContainerMainRules = reactive({ |
|
|
export const ContainerMainRules = reactive({ |
|
|
number: [ |
|
|
|
|
|
{ required: true, message: '请输入号码', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
|
|
|
type: [ |
|
|
type: [ |
|
|
{ required: true, message: '请选择类型', trigger: 'change' } |
|
|
{ required: true, message: '请选择类型', trigger: 'change' } |
|
|
], |
|
|
], |
|
|
status: [ |
|
|
status: [ |
|
|
{ required: true, message: '请选择状态', trigger: 'change' } |
|
|
{ required: true, message: '请选择状态', trigger: 'change' } |
|
|
], |
|
|
] |
|
|
ownerCode: [ |
|
|
|
|
|
{ required: true, message: '请选择货主代码', trigger: 'change' } |
|
|
|
|
|
], |
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
export const ContainerMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const ContainerMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '号码', |
|
|
label: '单据号', |
|
|
field: 'number', |
|
|
field: 'number', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '类型', |
|
|
label: '类型', |
|
|