From f73947395184fd635df3d74c1c4b2701d0c708c1 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 25 六月 2024 14:51:04 +0800
Subject: [PATCH] 动态Import更新

---
 src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue b/src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue
index acd731b..6b150b6 100644
--- a/src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue
+++ b/src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue
@@ -4,13 +4,13 @@
  * @version: 
  * @Date: 2024-05-25 00:27:00
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-06-10 23:54:01
+ * @LastEditTime: 2024-06-24 22:58:16
 -->
 <template>
   <div>
     <BasicTable @register="registerTable">
       <template #toolbar>
-        <a-button color="primary" @click="addWo" preIcon="add_02|svg"> 鏂板 </a-button>
+        <a-button type="primary" @click="addWo" preIcon="add_02|svg"> 鏂板 </a-button>
         <a-button ghost color="success" @click="ExcelToDb" preIcon="excel-import|svg">
           瀵煎叆
         </a-button>
@@ -23,7 +23,7 @@
           @click="handleSelectItem"
           preIcon="search|svg"
         />
-        <NormalModal @register="registerItemAdd" @success="handleItemSuccess" />
+        <GeneralModal @register="registerItemAdd" @success="handleItemSuccess" />
       </template>
       <template #action="{ record }">
         <TableAction
@@ -88,7 +88,7 @@
               @click="handleCustClick(field)"
               :preIcon="item.preIcons[name]"
             />
-            <NormalModal
+            <GeneralModal
               @register="useModalData[name][0]"
               @success="(d, u) => handleEntSuccess(d, u, item.name)"
             />
@@ -108,7 +108,7 @@
   import { BasicForm, FormSchema, FormActionType, useForm } from '/@/components/Form/index';
   import WoDrawer from './WoDrawer.vue';
   import WoModal from './WoModal.vue';
-  import NormalModal from '/@/views/components/NormalModal.vue';
+  import GeneralModal from '/@/views/components/GeneralModal.vue';
   import RouteViewModal from '/@/views/components/RouteViewModal.vue';
   import CustModal from '/@/views/components/CustModal.vue';
   import { useDrawer } from '/@/components/Drawer';
@@ -447,6 +447,7 @@
       ],
       tableName: 'BAS_ITEM',
       rowKey: 'ITEM_CODE',
+      searchInfo: {TABLE_NAME: 'BAS_ITEM'}
     });
   }
 

--
Gitblit v1.9.3