|
@ -5,18 +5,10 @@ import { dateFormatter } from '@/utils/formatTime' |
|
|
export const SamplingProcessRules = reactive({ |
|
|
export const SamplingProcessRules = reactive({ |
|
|
sampleType: [required], |
|
|
sampleType: [required], |
|
|
evaluationMode: [required], |
|
|
evaluationMode: [required], |
|
|
// available: [required],
|
|
|
|
|
|
description: [required], |
|
|
description: [required], |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
|
|
|
label: 'id', |
|
|
|
|
|
field: 'id', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '编码', |
|
|
label: '编码', |
|
|
field: 'code', |
|
|
field: 'code', |
|
|