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], sampleType: [required],
evaluationMode: [required], evaluationMode: [required],
available: [required], available: [required],
description: [required],
}) })
export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([ 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({ export const SamplingSchemeRules = reactive({
code: [required], code: [required],
// status: [required],
available: [required], available: [required],
description: [required],
}) })
export const SamplingScheme = useCrudSchemas(reactive<CrudSchema[]>([ export const SamplingScheme = useCrudSchemas(reactive<CrudSchema[]>([

Loading…
Cancel
Save