diff --git a/src/views/qms/aql/aql.data.ts b/src/views/qms/aql/aql.data.ts index 211efe145..37edf3039 100644 --- a/src/views/qms/aql/aql.data.ts +++ b/src/views/qms/aql/aql.data.ts @@ -8,59 +8,59 @@ export const AqlRules = reactive({ code: [required], inspectionQualification: [required], sampleCharacterCode: [{ required, max: 1, message: '长度不得超过1个字符', trigger: 'blur' }], - sampleQty: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator010: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator010: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator015: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator015: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator025: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator025: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator040: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator040: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator065: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator065: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator10: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator10: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator15: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator15: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator25: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator25: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator40: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator40: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a0separator65: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r0separator65: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a1separator0: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r1separator0: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a1separator5: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r1separator5: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a2separator5: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r2separator5: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a4separator0: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r4separator0: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a6separator5: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r6separator5: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a10: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r10: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a15: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r15: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a25: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r25: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a40: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r40: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a65: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r65: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a100: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r100: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a150: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r150: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a250: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r250: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a400: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r400: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a650: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r650: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - a1000: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], - r1000: [{ validator: validateNum, message: '请输入整数', trigger: 'blur' }], + sampleQty: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator010: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator010: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator015: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator015: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator025: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator025: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator040: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator040: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator065: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator065: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator10: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator10: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator15: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator15: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator25: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator25: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator40: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator40: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a0separator65: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r0separator65: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a1separator0: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r1separator0: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a1separator5: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r1separator5: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a2separator5: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r2separator5: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a4separator0: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r4separator0: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a6separator5: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r6separator5: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a10: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r10: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a15: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r15: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a25: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r25: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a40: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r40: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a65: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r65: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a100: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r100: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a150: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r150: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a250: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r250: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a400: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r400: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a650: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r650: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + a1000: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], + r1000: [{ required, validator: validateNum, message: '请输入整数', trigger: 'blur' }], }) const samplingSchemeList = await getSamplingScheme() export const Aql = useCrudSchemas(reactive([