| | |
| | | var pageCurr; |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'locNo$', align: 'center',title: '库位号', hide: true} |
| | | {type: 'checkbox', fixed: 'left'} |
| | | ,{field: 'locNo$', align: 'center',title: '库位号', hide: true} |
| | | ,{field: 'storeDate', align: 'center',title: '库龄(天)', sort:true, hide: true} |
| | | ,{field: 'matnr', align: 'center',title: '商品模具名称', sort:true} |
| | | ,{field: 'model', align: 'center',title: '代码', hide: true} |
| | |
| | | ,{field: 'temp1', align: 'center',title: '属性', hide: false} |
| | | ,{field: 'temp2', align: 'center',title: '套号', hide: false} |
| | | ,{field: 'temp3', align: 'center',title: '库位号', hide: false} |
| | | |
| | | ]; |
| | | |
| | | // cols.push.apply(cols, detlCols); |
| | |
| | | } else { |
| | | layer.confirm('确定删除'+(data.length===1?'此':data.length)+'条数据吗', function(){ |
| | | $.ajax({ |
| | | url: baseUrl+"/locDetl/delete/auth", |
| | | url: baseUrl+"/matInOut/delete/auth", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | data: {param: JSON.stringify(data)}, |
| | | data: JSON.stringify(checkStatus.data), |
| | | contentType:'application/json;charset=UTF-8', |
| | | method: 'POST', |
| | | traditional:true, |
| | | success: function (res) { |