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',
dynamicUpdateCode:'',
description:"",
samplePieceSize:"",
isWhole:"TRUE",
process: []
}

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

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

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

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

Loading…
Cancel
Save