diff --git a/src/views/qms/sampleCode/sampleCode.data.ts b/src/views/qms/sampleCode/sampleCode.data.ts index b9fe5d648..5466941fb 100644 --- a/src/views/qms/sampleCode/sampleCode.data.ts +++ b/src/views/qms/sampleCode/sampleCode.data.ts @@ -7,9 +7,14 @@ import {validateNum} from "@/utils/validator"; export const SampleCodeRules = reactive({ code: [required], batchLowLimiting: [{ validator:validateNum, message: '请输入整数', trigger: 'blur'}], - batchUpperLimiting: [ - { required:true, message: '该项为必填', trigger: 'blur'}, - { validator:validateNum, message: '请输入整数', trigger: 'blur'}], + batchUpperLimiting: [{ required:true, message: '该项为必填', trigger: 'blur'}, { validator:validateNum, message: '请输入整数', trigger: 'blur'}], + s1: [{ required }], + s2: [{ required }], + s3: [{ required }], + s4: [{ required }], + g1: [{ required }], + g2: [{ required }], + g3: [{ required }] }) const samplingSchemeList = await getSamplingScheme() export const SampleCode = useCrudSchemas(reactive([