Browse Source

修改编码字段

master_hella_20240701
zhaoyiran 8 months ago
parent
commit
6aef365d9a
  1. 2
      src/api/qms/aql/index.ts
  2. 6
      src/views/qms/aql/aql.data.ts

2
src/api/qms/aql/index.ts

@ -2,7 +2,7 @@ import request from '@/config/axios'
export interface AqlVO {
id: number
sampleProgCode: string
code: string
inspectionQualification: string
sampleCharacterCode: string
sampleSize: number

6
src/views/qms/aql/aql.data.ts

@ -3,7 +3,7 @@ import { dateFormatter } from '@/utils/formatTime'
// 表单校验
export const AqlRules = reactive({
sampleProgCode: [required],
code: [required],
inspectionQualification: [required],
sampleCharacterCode: [required],
sampleSize: [required],
@ -19,8 +19,8 @@ export const Aql = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false,
},
{
label: '编码',
field: 'sampleProgCode',
label: '采样方案编码',
field: 'code',
sort: 'custom',
isSearch: true,
},

Loading…
Cancel
Save