Browse Source

自动编码

master_hella_20240701
zhaoyiran 8 months ago
parent
commit
c143ebdf04
  1. 2
      src/views/qms/inspectionMethod/inspectionMethod.data.ts
  2. 2
      src/views/qms/samplingProcess/samplingProcess.data.ts
  3. 2
      src/views/qms/samplingScheme/samplingScheme.data.ts

2
src/views/qms/inspectionMethod/inspectionMethod.data.ts

@ -3,7 +3,6 @@ import { dateFormatter } from '@/utils/formatTime'
// 表单校验
export const InspectionMethodRules = reactive({
code: [required],
available: [required],
description: [required],
})
@ -21,6 +20,7 @@ export const InspectionMethod = useCrudSchemas(reactive<CrudSchema[]>([
field: 'code',
sort: 'custom',
isSearch: true,
ifForm:false,
},
{
label: '描述',

2
src/views/qms/samplingProcess/samplingProcess.data.ts

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

2
src/views/qms/samplingScheme/samplingScheme.data.ts

@ -3,7 +3,6 @@ import { dateFormatter } from '@/utils/formatTime'
// 表单校验
export const SamplingSchemeRules = reactive({
code: [required],
available: [required],
description: [required],
})
@ -21,6 +20,7 @@ export const SamplingScheme = useCrudSchemas(reactive<CrudSchema[]>([
field: 'code',
sort: 'custom',
isSearch: true,
isForm: false,
},
{
label: '描述',

Loading…
Cancel
Save