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 { export interface AqlVO {
id: number id: number
sampleProgCode: string code: string
inspectionQualification: string inspectionQualification: string
sampleCharacterCode: string sampleCharacterCode: string
sampleSize: number sampleSize: number

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

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

Loading…
Cancel
Save