From 51b1242dc2f55276b65f287974e7f86dcab8c74d Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Tue, 16 Mar 2021 21:56:27 +0800
Subject: [PATCH] 修改商品查询bug1

---
 zq-erp/src/main/resources/templates/views/admin/hive/operate/label-list.html |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/operate/label-list.html b/zq-erp/src/main/resources/templates/views/admin/hive/operate/label-list.html
index 3973f5c..9d6bce4 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/operate/label-list.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/operate/label-list.html
@@ -110,9 +110,14 @@
 					+ '<ul class="dropdown-menu" role="menu">'
 					+ '<li><a href="javascript:void(0)" style="display:'
 					+ value
-					+ '"  onClick="lookInfo(\''
+					+ '"  onClick="openEdit(\''
 					+ value
-					+ '\')" title="编辑">查看</a></li>'
+					+ '\')" title="编辑">编辑</a></li>'
+					+ '<li><a href="javascript:void(0)" style="display:'
+					+ value
+					+ '" onClick="myGrid.delItem(\''
+					+ value
+					+ '\')" title="删除">删除</a></li>' + '</ul>' + '</div>';
 			html += '';
 			return html; 
 		} 
@@ -126,6 +131,16 @@
 				content : [ basePath+'/admin/label/edit']
 			}); 
 		}
+
+		 function openEdit(id) {
+			 layer.open({
+				 type : 2,
+				 title : "添加标签",
+				 area : [ MUI.SIZE_L, '400px' ],
+				 maxmin : true,
+				 content : [ basePath+'/admin/label/edit?id=' + id]
+			 });
+		 }
 	</script>
 </body>
 </html>

--
Gitblit v1.9.1