From 69353772268751597596949fdebe4e188369e07a Mon Sep 17 00:00:00 2001 From: bjang03 Date: Sun, 7 Apr 2024 13:03:57 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E8=AE=A2=E5=8D=95=E6=9C=88=E8=AE=A1?= =?UTF-8?q?=E5=88=92=EF=BC=8C=E8=AE=A1=E5=88=92=E7=B1=BB=E5=9E=8B=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=AD=97=E5=85=B8=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dict.ts | 2 +- src/views/mes/ordermonthplan/mesOrderMonthMain.data.ts | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index c90f1b236..0d403d742 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -285,7 +285,7 @@ export enum DICT_TYPE { MES_WORKBILL_MODEL='mes_workbill_model',// 工单模式 单工单(根据产品数量生成多个工单)、批量工单(一个产品一个工单) MES_TASK_MODE='mes_task_mode', //生产模式 派工方式、领工方式 MES_PLANDO_STATUS='mes_plando_status', //计划执行状 - + PLAN_TYPE_MES='plan_type_mes', //========== QMS ========== SAMPLING_TYPE = "sampling_type", // 取样类型 diff --git a/src/views/mes/ordermonthplan/mesOrderMonthMain.data.ts b/src/views/mes/ordermonthplan/mesOrderMonthMain.data.ts index 66be46d39..62cdd8d45 100644 --- a/src/views/mes/ordermonthplan/mesOrderMonthMain.data.ts +++ b/src/views/mes/ordermonthplan/mesOrderMonthMain.data.ts @@ -38,7 +38,12 @@ export const MesOrderMonthMain = useCrudSchemas(reactive([ label: '计划类型', field: 'planType', sort: 'custom', - isSearch: true + dictType: DICT_TYPE.PLAN_TYPE_MES, + dictClass: 'string', // 默认都是字符串类型其他暂不考虑 + isSearch: true, + form: { + component: 'SelectV2' + } }, { label: '备注',