From c406bd1c50a8bf05bfb48fee14304a3b3a522335 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 08 5月 2025 11:50:03 +0800
Subject: [PATCH] 增加弹出

---
 Weben_CMS专用代码生成器/Code/Templete/Web/Views/Pages/EntityNameClass/EntityNameClass模板.txt |   28 ++++++++++------------------
 1 files changed, 10 insertions(+), 18 deletions(-)

diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/Views/Pages/EntityNameClass/EntityNameClass\346\250\241\346\235\277.txt" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/Views/Pages/EntityNameClass/EntityNameClass\346\250\241\346\235\277.txt"
index 0b6abb3..893c4f0 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/Views/Pages/EntityNameClass/EntityNameClass\346\250\241\346\235\277.txt"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/Templete/Web/Views/Pages/EntityNameClass/EntityNameClass\346\250\241\346\235\277.txt"
@@ -10,9 +10,10 @@
 import { columns } from './Config'
 import TdButton from '@/components/TdButton/TdButton'
 import { vPermission } from '@/libs/Permission/Permission'
+import dayjs from 'dayjs'
 import {
   getWmsEnumData
-} from '@/widgets/$NameSpacePath$/Models/Service/$EntityName$Drawer'
+} from '@/widgets/$EntityName$/Models/Service/$EntityName$Drawer'
 import {
   ElInput,
   ElSelect,
@@ -85,23 +86,6 @@
     const fetchEnumData = async () => {
       try {
         $EntityNameClass_fetchEnumData$
-        // 获取物料类型枚举
-        const materialTypeData = await getWmsEnumData({
-          EnumName: 'MaterialTypeEnum',
-        })
-        enumOptions.materialType = materialTypeData.map((item) => ({
-          label: item.description,
-          value: item.value,
-        }))
-
-        // 获取采购类型枚举
-        const purchaseTypeData = await getWmsEnumData({
-          EnumName: 'PurchaseTypeEnum',
-        })
-        enumOptions.purchaseType = purchaseTypeData.map((item) => ({
-          label: item.description,
-          value: item.value,
-        }))
       } catch (error) {
         console.error('获取枚举数据失败:', error)
       }
@@ -200,6 +184,7 @@
             isHidePagination={isHidePagination}
             pageSize={20}
             v-slots={{
+              $QueryTableListForBool$
               name: ({ row }: any) => {
                 return row?.name ? (
                   <TdButton
@@ -281,12 +266,19 @@
             </div>
             <ElFormItem style={{ marginTop: '15px' }}>
               <ElFormItem label="关键字">
+                 <el-tooltip
+                  class="box-item"
+                  effect="dark"
+                  content={searchFormInputAttrs_Placeholder.value}
+                  placement="top-start"
+                >
                 <ElInput
                   v-model={queryForm.value.searchVal}
                   placeholder={searchFormInputAttrs_Placeholder.value}
                   clearable
                   class={styles.formItem}
                 />
+                </el-tooltip>
               </ElFormItem>
               <IconButton type="primary" icon="search" onClick={handleQueryForMain}>
                 查询

--
Gitblit v1.9.3