| | |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} |
| | | ,{field: 'batch', align: 'center',title: '序列码', sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'units', align: 'center',title: '销售订单号', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销售订单行号', hide: true} |
| | | ,{field: 'threeCode', align: 'center',title: '销售订单号', hide: true} |
| | | ,{field: 'deadTime', align: 'center',title: '销售订单行号', hide: true} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: true} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: true} |
| | |
| | | layer.close(loadIndex); |
| | | layer.closeAll(); |
| | | if (res.code === 200) { |
| | | res.data.forEach((item,index) => { |
| | | if (item[0] != null) { |
| | | item[0] = "'" + item[0]; |
| | | } |
| | | if (item[1] != null) { |
| | | item[1] = "'" + item[1]; |
| | | } |
| | | if (item[2] != null) { |
| | | item[2] = "'" + item[2]; |
| | | } |
| | | }) |
| | | table.exportFile(titles,res.data,'xls'); |
| | | } else if (res.code === 403) { |
| | | top.location.href = baseUrl+"/"; |