From 84b16d12cc9b87f6886a603154e9d6889fd765a4 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Fri, 2 Aug 2024 14:15:44 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dict.ts | 1 + .../systemSetting/supplierUser/supplierUser.data.ts | 2 +- .../supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index b433eb591..79b9bfc0b 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -291,6 +291,7 @@ export enum DICT_TYPE { TT_GLTYPE = 'tt_gltype', //账户类型 REPLY_STATUS = 'reply_status', //询证函回函状态 PRIORITY = 'priority', //优先级 + ENABLE_STATUS = 'enable_status', //启用状态 // ========== 业务 - mes ========== MESDO_STATUS = 'mes_do_status', // 工单执行状态 diff --git a/src/views/wms/basicDataManage/systemSetting/supplierUser/supplierUser.data.ts b/src/views/wms/basicDataManage/systemSetting/supplierUser/supplierUser.data.ts index 67fec6e8c..6630ae609 100644 --- a/src/views/wms/basicDataManage/systemSetting/supplierUser/supplierUser.data.ts +++ b/src/views/wms/basicDataManage/systemSetting/supplierUser/supplierUser.data.ts @@ -186,7 +186,7 @@ export const SupplierUser = useCrudSchemas(reactive([ label: '状态', field: 'status', sort: 'custom', - dictType: DICT_TYPE.ITEM_STATUS, + dictType: DICT_TYPE.ENABLE_STATUS, dictClass: 'string', isSearch: false, form: { diff --git a/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts b/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts index 230009a74..8c4a9e4dd 100644 --- a/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts +++ b/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts @@ -179,6 +179,8 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive([ { label: '计量单位', field: 'uom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', sort: 'custom', table: { width: 150