diff --git a/src/views/qms/samplingProcess/samplingProcess.data.ts b/src/views/qms/samplingProcess/samplingProcess.data.ts index 30b2ff8fc..22411b5bc 100644 --- a/src/views/qms/samplingProcess/samplingProcess.data.ts +++ b/src/views/qms/samplingProcess/samplingProcess.data.ts @@ -7,6 +7,7 @@ export const SamplingProcessRules = reactive({ sampleType: [required], evaluationMode: [required], available: [required], + description: [required], }) export const SamplingProcess = useCrudSchemas(reactive([ diff --git a/src/views/qms/samplingScheme/samplingScheme.data.ts b/src/views/qms/samplingScheme/samplingScheme.data.ts index cd022a923..d75fecad2 100644 --- a/src/views/qms/samplingScheme/samplingScheme.data.ts +++ b/src/views/qms/samplingScheme/samplingScheme.data.ts @@ -4,8 +4,8 @@ import { dateFormatter } from '@/utils/formatTime' // 表单校验 export const SamplingSchemeRules = reactive({ code: [required], - // status: [required], available: [required], + description: [required], }) export const SamplingScheme = useCrudSchemas(reactive([