|  |  |  | 
|---|
|  |  |  | var cols = [ | 
|---|
|  |  |  | ]; | 
|---|
|  |  |  | cols.push.apply(cols, detlCols); | 
|---|
|  |  |  | cols.push({field: 'locNo', align: 'center',title: '库位号'} | 
|---|
|  |  |  | cols.push( | 
|---|
|  |  |  | {field: 'locNo', align: 'center',title: '库位号'} | 
|---|
|  |  |  | ,{field: 'cstateid$', align: 'center',title: '库存状态'} | 
|---|
|  |  |  | ,{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 ";} | 
|---|
|  |  |  | 
|---|
|  |  |  | html += ">"; | 
|---|
|  |  |  | return html; | 
|---|
|  |  |  | }} | 
|---|
|  |  |  | ,{field: 'tkFlag', align: 'center',title: '退库标记'} | 
|---|
|  |  |  | ,{field: 'modiUser$', align: 'center',title: '修改人员', hide:true} | 
|---|
|  |  |  | ,{field: 'modiTime$', align: 'center',title: '修改时间', hide:true}) | 
|---|
|  |  |  | ,{field: 'modiTime$', align: 'center',title: '修改时间', hide:false}) | 
|---|
|  |  |  | return cols; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | layui.use(['table','laydate', 'form'], function(){ | 
|---|