From 4e4e1fcf869ccd460640210794cecbe3f710d70d Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 29 六月 2020 09:58:54 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/waitPakin/waitPakin.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/waitPakin/waitPakin.js b/src/main/webapp/static/js/waitPakin/waitPakin.js index a04fec8..0a9aa06 100644 --- a/src/main/webapp/static/js/waitPakin/waitPakin.js +++ b/src/main/webapp/static/js/waitPakin/waitPakin.js @@ -20,13 +20,18 @@ cols: [[ {type: 'checkbox'} // ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} - ,{field: 'id', align: 'center',title: '缂栧彿'} + ,{field: 'id', align: 'center',title: '缂栧彿', sort: true} ,{field: 'barcode', align: 'center',title: '鎵樼洏鐮�'} ,{field: 'matnr', align: 'center',title: '鐗╂枡缂栫爜'} ,{field: 'maktx', align: 'center',title: '鐗╂枡鎻忚堪'} ,{field: 'anfme', align: 'center',title: '鏁伴噺'} ,{field: 'unit', align: 'center',title: '鍗曚綅'} - ,{field: 'status', align: 'center',title: '鐘舵��'} + ,{field: 'status', align: 'center',title: '鐘舵��', templet:function(row){ + var html = "<input value='status' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; + if(row.inEnable === 'Y'){html += " checked ";} + html += ">"; + return html; + }} ,{field: 'memo', align: 'center',title: '澶囨敞'} ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide: true} ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide: true} -- Gitblit v1.9.1