| | |
| | | var pageCurr; |
| | | function getCol() { |
| | | var cols = [ {type: 'checkbox'} ]; |
| | | cols.push( |
| | | //{field: 'suppCode', align: 'center',title: '料箱码'}, |
| | | {field: 'anfme', align: 'center',title: '数量'}); |
| | | arrRemove(detlCols, 'field', 'zpallet'); |
| | | 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+"'"; |
| | |
| | | } else { |
| | | layer.confirm('确定生成工作档任务吗', function(){ |
| | | $.ajax({ |
| | | url: baseUrl+"/create/waitPain/wrkMast/start", |
| | | url: baseUrl+"/agv/create/waitPain/wrkMast/start", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | data: JSON.stringify(checkStatus.data), |
| | | contentType:'application/json;charset=UTF-8', |