|
@ -3,7 +3,6 @@ import { dateFormatter } from '@/utils/formatTime' |
|
|
|
|
|
|
|
|
// 表单校验
|
|
|
// 表单校验
|
|
|
export const SamplingProcessRules = reactive({ |
|
|
export const SamplingProcessRules = reactive({ |
|
|
code: [required], |
|
|
|
|
|
sampleType: [required], |
|
|
sampleType: [required], |
|
|
evaluationMode: [required], |
|
|
evaluationMode: [required], |
|
|
available: [required], |
|
|
available: [required], |
|
@ -23,6 +22,7 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'code', |
|
|
field: 'code', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '描述', |
|
|
label: '描述', |
|
|