Browse Source

修改描述为必填

master_hella_20240701
zhaoyiran 7 months ago
parent
commit
78792369a5
  1. 1
      src/views/qms/samplingProcess/samplingProcess.data.ts
  2. 2
      src/views/qms/samplingScheme/samplingScheme.data.ts

1
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<CrudSchema[]>([

2
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<CrudSchema[]>([

Loading…
Cancel
Save