From b4a8d50e3d97fc9e893b554a60134e4eceb012eb Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期一, 05 一月 2026 08:58:08 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/basAgv/basAgv.js | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/static/js/basAgv/basAgv.js b/src/main/webapp/static/js/basAgv/basAgv.js
index e0dc95c..cb26f01 100644
--- a/src/main/webapp/static/js/basAgv/basAgv.js
+++ b/src/main/webapp/static/js/basAgv/basAgv.js
@@ -21,7 +21,18 @@
{type: 'checkbox'}
// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
,{field: 'agvId', align: 'center',title: '灏忚溅缂栧彿'}
- ,{field: 'inEnable', align: 'center',title: '鍙叆'}
+ ,{field: 'inEnable', align: 'center',title: '鍙叆', templet:function(row){
+ var html = "<input value='inEnable' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.inEnable === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ },width:80}
+ ,{field: 'outEnable', align: 'center',title: '鍙嚭', templet:function(row){
+ var html = "<input value='outEnable' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.outEnable === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ },width:80}
,{field: 'outEnable', align: 'center',title: '鍙嚭'}
,{field: 'isUser$', align: 'center',title: '鏄惁鍚敤'}
,{field: 'currentNode', align: 'center',title: '褰撳墠浣嶇疆'}
--
Gitblit v1.9.1