Browse Source

修改bug

master_hella_20240701
liuchen864 7 months ago
parent
commit
5348b28de1
  1. 1
      src/views/qms/basicDataManage/inspectionScheme/addForm.vue
  2. 2
      src/views/qms/basicDataManage/inspectionScheme/index.vue
  3. 1
      src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts

1
src/views/qms/basicDataManage/inspectionScheme/addForm.vue

@ -845,6 +845,7 @@ const open = async (type: string, row?: any, masterParmas?: any, titleName?: any
available: 'TRUE', available: 'TRUE',
dynamicUpdateCode:'', dynamicUpdateCode:'',
description:"", description:"",
samplePieceSize:"",
isWhole:"TRUE", isWhole:"TRUE",
process: [] process: []
} }

2
src/views/qms/basicDataManage/inspectionScheme/index.vue

@ -180,6 +180,8 @@ const submitForm = async (formType,data) => {
inspectionLevel: data.inspectionLevel, inspectionLevel: data.inspectionLevel,
effectiveDate: data.effectiveDate, effectiveDate: data.effectiveDate,
expirationDate: data.expirationDate, expirationDate: data.expirationDate,
samplePieceSize: data.samplePieceSize,
isWhole: data.isWhole,
available: data.available, available: data.available,
content:JSON.stringify(data.process) content:JSON.stringify(data.process)
} }

1
src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts

@ -67,6 +67,7 @@ export const InspectionTemplateRules = reactive({
quantifyQuantifyCode: [ quantifyQuantifyCode: [
{ required: true, message: '请输入选择集编码', trigger: 'blur' } { required: true, message: '请输入选择集编码', trigger: 'blur' }
], ],
isWhole: [{ required: true}],
}) })
export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {

Loading…
Cancel
Save