| | |
| | | .where("loc_no like '" +row +"%'"); |
| | | } |
| | | List<LocDetl> list = locDetlService.selectList(wrapper); |
| | | for (LocDetl item : list) { |
| | | if (item.getSpecs() != null) { |
| | | item.setSpecs(item.getSpecs().replace("\"", "\"\"")); // 转义双引号 |
| | | } |
| | | if (item.getBrand() != null) { |
| | | item.setBrand(item.getBrand().replace("\"", "\"\"")); |
| | | } |
| | | } |
| | | return R.ok(exportSupport(list, fields)); |
| | | } |
| | | |
| | |
| | | private String maktx; |
| | | |
| | | @ApiModelProperty(value= "批号") |
| | | // @ExcelProperty("批号") |
| | | @ExcelProperty("批号") |
| | | private String batch; |
| | | |
| | | @ApiModelProperty(value= "单据编号") |
| | |
| | | private String orderNo; |
| | | |
| | | @ApiModelProperty(value= "规格") |
| | | @ExcelProperty("规格") |
| | | private String specs; |
| | | |
| | | @ApiModelProperty(value= "型号") |
| | |
| | | arrRemove(detlCols, "field", "anfme") |
| | | arrRemove(detlCols, "field", "zpallet") |
| | | cols.push.apply(cols, detlCols); |
| | | cols.push({field: 'memo$', align: 'center',title: '备注', hide: false}) |
| | | return cols; |
| | | } |
| | | |
| | |
| | | <div class="layui-btn-container layui-col-md1"> |
| | | <button class="layui-btn" lay-event="exportAll" style="margin-top: -0px">导出全部</button> |
| | | </div> |
| | | <div class="layui-btn-container"> |
| | | <button class="layui-btn" lay-event="exportData" >导出部分</button> |
| | | </div> |
| | | </script> |
| | | |
| | | |