| | |
| | | var pageCurr; |
| | | function getCol() { |
| | | var cols = [ |
| | | {type: 'checkbox'} |
| | | ,{field: 'locNo$', align: 'center',title: '库位号'} |
| | | {type: 'checkbox', fixed: 'left'} |
| | | ,{field: 'qty', title: '通知出库量', fixed: 'left', width:100} |
| | | ,{field: 'outQty', title: '已出库量', fixed: 'left', width:90} |
| | | ]; |
| | | cols.push.apply(cols, detlCols); |
| | | cols.push( |
| | | {field: 'memo', align: 'center',title: '备注'} |
| | | cols.push.apply(cols, matCols); |
| | | cols.push({field: 'billNo', title:'单据编号', align: 'center'} |
| | | ,{field: 'seqNo', title:'序号', align: 'center', width:80} |
| | | ,{field: 'modiUser$', align: 'center',title: '修改人员', hide: true} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间'}) |
| | | return cols; |
| | |
| | | locDetlTableIns = table.render({ |
| | | elem: '#stockOut', |
| | | headers: {token: localStorage.getItem('token')}, |
| | | url: baseUrl+'/stock/out/list/auth', |
| | | url: baseUrl+'/waitMatout/list/auth', |
| | | page: true, |
| | | limit: 10, |
| | | even: true, |
| | |
| | | if (res.code === 403) { |
| | | top.location.href = baseUrl+"/"; |
| | | } |
| | | pageCurr=curr; |
| | | $('.layui-form-checkbox').css("pointer-events", "none"); |
| | | $('td[data-field="0').css("cursor", "pointer") |
| | | // pageCurr=curr; |
| | | // $('.layui-form-checkbox').css("pointer-events", "none"); |
| | | // $('td[data-field="0').css("cursor", "pointer") |
| | | } |
| | | }); |
| | | |