From 958db58d4842c2f6de4f3fe9330334f2fd8f1243 Mon Sep 17 00:00:00 2001 From: 18516761980 <4761516tqsxp> Date: 星期二, 14 六月 2022 16:00:59 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/waitPakinLog/waitPakinLog.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js b/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js index 0e3e360..54fc129 100644 --- a/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js +++ b/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js @@ -3,15 +3,15 @@ var cols = [ ]; cols.push.apply(cols, detlCols); - cols.push({field: 'status', align: 'center',title: '鐘舵��', templet:function(row){ - var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='寰呭叆搴搢宸插惎鍔�' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'"; - if(row.status !== 'Y'){html += " checked ";} + cols.push({field: 'status', align: 'center',title: '鏁版嵁鐘舵��', templet:function(row){ + var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='姝e父|閿佸畾' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'"; + if(row.status === 'Y'){html += " checked ";} html += ">"; return html; }} ,{field: 'ioStatus', align: 'center',title: '鍏ュ嚭鐘舵��', templet:function(row){ - var html = "<input value='ioStatus' type='checkbox' lay-skin='switch' lay-text='鍏ュ簱|鍑哄簱' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'"; - if(row.ioStatus !== 'Y'){html += " checked ";} + var html = "<input value='ioStatus' type='checkbox' lay-skin='switch' lay-text='杩愯涓瓅寰呭鐞�' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'"; + if(row.ioStatus === 'Y'){html += " checked ";} html += ">"; return html; }} -- Gitblit v1.9.1