From 5348b28de1d43c37347c6f3ee8701bfb50316ce4 Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Mon, 29 Apr 2024 14:11:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qms/basicDataManage/inspectionScheme/addForm.vue | 1 + src/views/qms/basicDataManage/inspectionScheme/index.vue | 2 ++ .../basicDataManage/inspectionScheme/inspectionScheme.data.ts | 1 + 3 files changed, 4 insertions(+) diff --git a/src/views/qms/basicDataManage/inspectionScheme/addForm.vue b/src/views/qms/basicDataManage/inspectionScheme/addForm.vue index a899e68ef..11bdaa3b4 100644 --- a/src/views/qms/basicDataManage/inspectionScheme/addForm.vue +++ b/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: [] } diff --git a/src/views/qms/basicDataManage/inspectionScheme/index.vue b/src/views/qms/basicDataManage/inspectionScheme/index.vue index e6a591505..419b53f99 100644 --- a/src/views/qms/basicDataManage/inspectionScheme/index.vue +++ b/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) } diff --git a/src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts b/src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts index 324caf813..a15fe2c9c 100644 --- a/src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts +++ b/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([ {