From d2e82b710b549646cc1eb386f1a4d18de6b34a5e Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 2 May 2026 00:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(system)=EF=BC=9A=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E7=A7=9F=E6=88=B7=20get-by-website=20=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=B8=8D=E6=94=AF=E6=8C=81=E7=AB=AF=E5=8F=A3=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=F0=9F=90=9B=20fix(mes)=EF=BC=9A=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=B8=B8=E8=A7=81=E7=BC=BA=E9=99=B7=E7=9A=84=E3=80=8C?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E9=A1=B9=E7=B1=BB=E5=9E=8B=E3=80=8D=E9=94=99?= =?UTF-8?q?=E7=94=A8=E7=8B=AC=E7=AB=8B=E5=AD=97=E5=85=B8=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 「常见缺陷」与「检测项设置」的「检测项类型」语义一致,应共用同一份字典;DefectForm 与列表页统一改为 MES_INDICATOR_TYPE,并清理未使用的 MES_DEFECT_TYPE 常量。 --- src/utils/dict.ts | 1 - src/views/mes/qc/defect/DefectForm.vue | 2 +- src/views/mes/qc/defect/index.vue | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 7965a9376..91909f538 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -268,7 +268,6 @@ export enum DICT_TYPE { MES_INDICATOR_TYPE = 'mes_indicator_type', // MES 检测项类型 MES_QC_RESULT_TYPE = 'mes_qc_result_type', // MES 质检结果值类型 MES_DEFECT_LEVEL = 'mes_defect_level', // MES 缺陷等级 - MES_DEFECT_TYPE = 'mes_defect_type', // MES 缺陷检测项类型 MES_PRO_WORK_ORDER_STATUS = 'mes_pro_work_order_status', // MES 生产工单状态 MES_PRO_WORK_ORDER_SOURCE_TYPE = 'mes_pro_work_order_source_type', // MES 工单来源类型 MES_PRO_WORK_ORDER_TYPE = 'mes_pro_work_order_type', // MES 工单类型 diff --git a/src/views/mes/qc/defect/DefectForm.vue b/src/views/mes/qc/defect/DefectForm.vue index 6f49ad65c..2a0d623d3 100644 --- a/src/views/mes/qc/defect/DefectForm.vue +++ b/src/views/mes/qc/defect/DefectForm.vue @@ -21,7 +21,7 @@