From b5d0bbde2cd8d77e781690a7b3e762a5ce7645ca Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期三, 02 六月 2021 14:43:23 +0800
Subject: [PATCH] pda新增小车组托入库功能
---
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