From d22072910b38c3f9c71f01f02f68094426c543c8 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 25 Sep 2025 10:16:56 +0800
Subject: [PATCH] feat(ai):为公司实体添加编码字段- 在 AiCompany 实体中新增 code 字段 - 使用 ShareCodeUtil生成唯一编码 - 更新前端列表页面展示编码字段 - 调整表格列标题和字段映射 - 移除调试用的 main 方法
---
src/main/resources/templates/febs/views/modules/clothesType/patternList.html | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/clothesType/patternList.html b/src/main/resources/templates/febs/views/modules/clothesType/patternList.html
index 5134a83..f210610 100644
--- a/src/main/resources/templates/febs/views/modules/clothesType/patternList.html
+++ b/src/main/resources/templates/febs/views/modules/clothesType/patternList.html
@@ -1,4 +1,4 @@
-<div class="layui-fluid layui-anim febs-anim" id="febs-pattern" lay-title="图案管理">
+<div class="layui-fluid layui-anim febs-anim" id="febs-pattern" lay-title="正面图案管理">
<div class="layui-row febs-container">
<div class="layui-col-md12">
<div class="layui-card">
@@ -52,16 +52,16 @@
<script type="text/html" id="patternOption">
<button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="patternInfo:view" lay-event="patternInfoEvent">编辑</button>
</script>
-<script type="text/html" id="patternTypeOption">
- {{#
- var type = {
- 1: {title: '文字', color: 'green'},
- 2: {title: '图案', color: 'blue'},
- 3: {title: '文字和图案', color: 'red'},
- }[d.type];
- }}
- <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span>
-</script>
+<!--<script type="text/html" id="patternTypeOption">-->
+<!-- {{#-->
+<!-- var type = {-->
+<!-- 1: {title: '文字', color: 'green'},-->
+<!-- 2: {title: '图案', color: 'blue'},-->
+<!-- 3: {title: '文字和图案', color: 'red'},-->
+<!-- }[d.type];-->
+<!-- }}-->
+<!-- <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span>-->
+<!--</script>-->
<!-- 表格操作栏 end -->
@@ -156,7 +156,7 @@
{field: 'code', title: '编码', minWidth: 150,align:'center'},
{field: 'orderNum', title: '序号', minWidth: 100,align:'center'},
{field: 'price', title: '价格', minWidth: 150,align:'center'},
- {title: '图案类型', templet: '#patternTypeOption', minWidth: 150,align:'center'},
+ // {title: '图案类型', templet: '#patternTypeOption', minWidth: 150,align:'center'},
{field: 'image',title: '小图标',
templet: function (d) {
return '<a lay-event="seePatternImage">' +
--
Gitblit v1.9.1