From 7dfbaba5930676252d8339f7d04861c1c2351d5b Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 13 八月 2026 16:27:56 +0800
Subject: [PATCH] feat(mes): 增加产品设计项目审批流程和批次追溯功能

---
 src/views/mes/md/item/index.vue |   21 +++++++--------------
 1 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/src/views/mes/md/item/index.vue b/src/views/mes/md/item/index.vue
index 85c3375..f8855f6 100644
--- a/src/views/mes/md/item/index.vue
+++ b/src/views/mes/md/item/index.vue
@@ -9,10 +9,10 @@
     confirm,
     Page,
     useVbenModal,
-  } from "../../../../packages/effects/common-ui/src";
-  import { DICT_TYPE } from "../../../../packages/constants/src";
-  import { getDictLabel } from "../../../../packages/effects/hooks/src";
-  import { downloadFileFromBlobPart } from "../../../../packages/utils/src";
+  } from "@vben/common-ui";
+  import { DICT_TYPE } from "@vben/constants";
+  import { getDictLabel } from "@vben/hooks";
+  import { downloadFileFromBlobPart } from "@vben/utils";
 
   import { Button, Card, message } from "ant-design-vue";
 
@@ -25,7 +25,7 @@
   } from "#/api/mes/md/item";
   import { $t } from "#/locales";
   import { MdItemTypeTree } from "#/views/mes/md/item/type/components";
-  import { PrinterLabel } from "#/views/wls/barcode/components";
+  // import { PrinterLabel } from "#/views/wls/barcode/components";
 
   import { useGridColumns, useGridFormSchema } from "./data";
   import Form from "./modules/form.vue";
@@ -160,13 +160,6 @@
           <template #toolbar-tools>
             <TableAction :actions="[
                 {
-                  label: $t('ui.actionTitle.create', ['鐗╂枡']),
-                  type: 'primary',
-                  icon: ACTION_ICON.ADD,
-                  auth: ['mes:md-item:create'],
-                  onClick: handleCreate,
-                },
-                {
                   label: $t('ui.actionTitle.import'),
                   type: 'primary',
                   icon: ACTION_ICON.UPLOAD,
@@ -210,9 +203,9 @@
                     },
                   },
                 ]" />
-              <PrinterLabel :biz-id="row.id"
+              <!-- <PrinterLabel :biz-id="row.id"
                             :biz-code="row.code"
-                            biz-type="ITEM" />
+                            biz-type="ITEM" /> -->
             </div>
           </template>
         </Grid>

--
Gitblit v1.9.3