| | |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @PostMapping("/scanShipApply") |
| | | @ApiOperation("销售订单扫码-发起发货审批(填写车牌/快递、审批人、附件;通过后自动扣库存并标记已发货)") |
| | | public AjaxResult scanShipApply(@RequestBody SalesScanShipDto dto) { |
| | | salesLedgerService.scanShipApply(dto); |
| | | return AjaxResult.success("发货审批已发起"); |
| | | } |
| | | |
| | | @PostMapping("/scanOutboundUnqualified") |
| | | @ApiOperation("销售订单扫码-不合格出库") |
| | | public AjaxResult scanOutboundUnqualified(@RequestBody SalesScanInboundDto dto) { |
| | |
| | | @ApiOperation("销售发货历史数据导入-已发货导入模板下载") |
| | | public void shippingImportTemplate(HttpServletResponse response) { |
| | | ExcelUtil<SalesShippingImportDto> excelUtil = new ExcelUtil<>(SalesShippingImportDto.class); |
| | | excelUtil.importTemplateExcel(response, "已发货导入模板下载"); |
| | | excelUtil.importTemplateExcel(response, "已出库导入模板下载"); |
| | | } |
| | | |
| | | @PostMapping("/salesHistory/notShippingImportTemplate") |
| | | @ApiOperation("销售发货历史数据导入-未发货导入模板下载") |
| | | public void notShippingImportTemplate(HttpServletResponse response) { |
| | | ExcelUtil<SalesNotShippingImportDto> excelUtil = new ExcelUtil<>(SalesNotShippingImportDto.class); |
| | | excelUtil.importTemplateExcel(response, "未发货导入模板下载"); |
| | | excelUtil.importTemplateExcel(response, "未出库导入模板下载"); |
| | | } |
| | | |
| | | } |