| | |
| | | var cols = [ |
| | | {field: 'io_time', align: 'center', title: '入库日期', width: 200} |
| | | ,{field: 'loc_no', align: 'center',title: '库位号'} |
| | | ,{field: 'mat_no', align: 'center',title: '物料编号'} |
| | | ,{field: 'mat_name', align: 'center',title: '物料名称'} |
| | | ]; |
| | | arrRemove(detlCols, "field", "matNo"); |
| | | arrRemove(detlCols, "field", "matName") |
| | | cols.push.apply(cols, detlCols); |
| | | return cols; |
| | | } |
| | |
| | | statusCode: 200 |
| | | }, |
| | | done: function(res, curr, count) { |
| | | console.log(res); |
| | | if (res.code === 403) { |
| | | top.location.href = baseUrl+"/"; |
| | | } |
| | |
| | | fields.push(col.field); |
| | | } |
| | | }); |
| | | var exportData = {}; |
| | | $.each($('#search-box [name]').serializeArray(), function() { |
| | | exportData[this.name] = this.value; |
| | | }); |
| | | var param = { |
| | | 'fields': fields |
| | | fields: fields, |
| | | exportData: exportData |
| | | }; |
| | | $.ajax({ |
| | | url: baseUrl+"/report/viewWorkInExport.action", |