From 3962ff371caa135b0a1d605fae8de55afd509f12 Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期一, 27 十月 2025 14:48:29 +0800
Subject: [PATCH] #1

---
 src/main/webapp/static/js/locDetl/locDetl.js |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js
index 92490c7..d440b26 100644
--- a/src/main/webapp/static/js/locDetl/locDetl.js
+++ b/src/main/webapp/static/js/locDetl/locDetl.js
@@ -17,9 +17,13 @@
         ,{field: 'brand', align: 'center',title: '鍝佺墝', hide: true}
         ,{field: 'unit', align: 'center',title: '鍗曚綅', hide: true}
         ,{field: 'price', align: 'center',title: '鍗曚环', hide: true}
-        // ,{fixed: 'right', title:'绠�鍥�', align: 'center', toolbar: '#operate1', width: 300}
-        ,{field: 'right', align: 'center',title: '绠�鍥�', templet:function(row){
-                var html = "<img  src='http://127.0.0.1:8080/czkhasrs/previewImage?maktx=" +row.maktx+"'/>";
+        //,{fixed: 'right', title:'绠�鍥�', align: 'center', toolbar: '#operate1', width: 300}
+        // ,{fixed: 'right', align: 'center',title: '绠�鍥�', templet:function(row){
+        //         var html = "<img  src='http://127.0.0.1:8080/czkhasrs/previewImage?maktx=" +row.maktx+"'/>";
+        //         return html;
+        // }}
+        ,{fixed: 'right', align: 'center', title: '绠�鍥�', templet: function(row){
+                var html = "<a href='http://127.0.0.1:8080/czkhasrs/previewImage?maktx=" + row.maktx + "' target='_blank' rel='noopener noreferrer'>鏌ョ湅绠�鍥�</a>";
                 return html;
         }}
         ,{field: 'units', align: 'center',title: '鍗曚綅閲�', hide: true}

--
Gitblit v1.9.1