|
|
@ -370,8 +370,8 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
|
|
// 表单校验
|
|
|
|
export const InspectionRequestPackageRules = reactive({ |
|
|
|
packageCode: [required], |
|
|
|
packageSpecificationCode: [required], |
|
|
|
// packageCode: [required],
|
|
|
|
// packageSpecificationCode: [required],
|
|
|
|
amount: [required,{ validator:validateTwoNum, message: '小数点后最多2位', trigger: 'blur'}], |
|
|
|
measuringUnit: [required], |
|
|
|
}) |
|
|
@ -388,9 +388,6 @@ export const InspectionRequestPackage = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
tableForm:{ |
|
|
|
disabled:true |
|
|
|
}, |
|
|
|
table:{ |
|
|
|
width:200 |
|
|
|
}, |
|
|
|
isTableForm:false, |
|
|
|
form:{ |
|
|
|
componentProps:{ |
|
|
@ -406,9 +403,6 @@ export const InspectionRequestPackage = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
tableForm:{ |
|
|
|
disabled:false |
|
|
|
}, |
|
|
|
table:{ |
|
|
|
width:200 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '包装规格', |
|
|
@ -418,9 +412,6 @@ export const InspectionRequestPackage = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
tableForm:{ |
|
|
|
disabled:false |
|
|
|
}, |
|
|
|
table:{ |
|
|
|
width:180 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '数量', |
|
|
@ -434,9 +425,6 @@ export const InspectionRequestPackage = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
tableForm:{ |
|
|
|
disabled:false |
|
|
|
}, |
|
|
|
table:{ |
|
|
|
width:150 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '计量单位', |
|
|
|