From ee5c9a9a3da85dff584d382b9a5b65098f7b2571 Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 28 Jul 2025 17:53:17 +0800 Subject: [PATCH 1/5] =?UTF-8?q?update=20qms=E8=B4=A8=E6=A3=80=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E9=A1=B5=E9=9D=A2=E5=85=B3=E8=81=94=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qms/QcInspectionMain/index.vue | 34 ++++++++++-------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/src/views/qms/QcInspectionMain/index.vue b/src/views/qms/QcInspectionMain/index.vue index 8e3bad0..b18f5b7 100644 --- a/src/views/qms/QcInspectionMain/index.vue +++ b/src/views/qms/QcInspectionMain/index.vue @@ -21,11 +21,11 @@ - - - - - + + + + + @@ -103,11 +103,7 @@ - - - + - + From fb342f236df1d7d9dea47bf0c9ede4224df6c4b4 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Tue, 29 Jul 2025 15:32:32 +0800 Subject: [PATCH 5/5] =?UTF-8?q?refactor(qms):=20=E4=BC=98=E5=8C=96qms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 字典移除不必要的 parseInt 转换 - 添加筛选条件以根据 selectedTypeId过滤检测项列表 - 优化模板添加/修改对话框,支持根据模板类型过滤检测项 - 质检任务主表只有不合格时才能编辑不合格数量 --- src/api/qms/qcUnqualifiedRecord/types.ts | 3 ++ src/views/qms/QcInspectionMain/index.vue | 32 +++++++++++--------- src/views/qms/qcInspectionItem/index.vue | 6 ++-- src/views/qms/qcInspectionResult/index.vue | 8 ++--- src/views/qms/qcInspectionTemplate/index.vue | 20 +++++++++--- src/views/qms/qcInspectionType/index.vue | 6 ++-- src/views/qms/qcTemplateItem/index.vue | 4 +-- src/views/qms/qcUnqualifiedRecord/index.vue | 6 ++-- src/views/qms/qcUnqualifiedReview/index.vue | 10 +++--- 9 files changed, 55 insertions(+), 40 deletions(-) diff --git a/src/api/qms/qcUnqualifiedRecord/types.ts b/src/api/qms/qcUnqualifiedRecord/types.ts index efff4b2..2410901 100644 --- a/src/api/qms/qcUnqualifiedRecord/types.ts +++ b/src/api/qms/qcUnqualifiedRecord/types.ts @@ -28,6 +28,7 @@ export interface QcUnqualifiedRecordVO { * 检测项目类别 */ categoryName: number; + categoryId: string | number; /** * 关联检测类型表 @@ -116,6 +117,7 @@ export interface QcUnqualifiedRecordForm extends BaseEntity { * 检测项目类别 */ categoryName?: number; + categoryId?: string | number; /** * 关联检测类型表 @@ -205,6 +207,7 @@ export interface QcUnqualifiedRecordQuery extends PageQuery { * 检测项目类别 */ categoryName?: number; + categoryId?: string | number; /** * 关联检测类型表 diff --git a/src/views/qms/QcInspectionMain/index.vue b/src/views/qms/QcInspectionMain/index.vue index b18f5b7..fa83e7f 100644 --- a/src/views/qms/QcInspectionMain/index.vue +++ b/src/views/qms/QcInspectionMain/index.vue @@ -293,7 +293,7 @@ - + @@ -304,7 +304,7 @@ v-for="dict in qc_result" :key="dict.value" :label="dict.label" - :value="parseInt(dict.value)" + :value="dict.value" > @@ -324,7 +324,7 @@ v-for="dict in qc_inspection_type" :key="dict.value" :label="dict.label" - :value="parseInt(dict.value)" + :value="dict.value" > @@ -335,7 +335,7 @@ {{dict.label}} @@ -462,7 +462,7 @@ - + @@ -471,7 +471,7 @@ - + @@ -525,7 +525,7 @@ - + @@ -567,7 +567,7 @@ - +