| | |
| | | private SnowflakeIdWorker snowflakeIdWorker; |
| | | @Autowired |
| | | private OrderService orderService; |
| | | @Autowired |
| | | private PickoutService pickoutService; |
| | | |
| | | @Autowired |
| | | private ReceiveService receiveService; |
| | |
| | | @ManagerAuth(memo = "拣货单打印") |
| | | public R stockOutPrint(@RequestBody StockOutParam stockOutParam) { |
| | | return workService.stockOutPrint(stockOutParam, getUserId(), getHostId()); |
| | | } |
| | | |
| | | @RequestMapping("/pick/out/print") |
| | | @ManagerAuth(memo = "PickOut打印拣货单") |
| | | public R pickOutPrint(@RequestBody Pickout pickout){ |
| | | return pickoutService.stockOutPrint(pickout,getUserId(), getHostId()); |
| | | } |
| | | |
| | | @RequestMapping("/stock/allot") |
| | |
| | | @RequestMapping("docType/out/get") |
| | | @ManagerAuth |
| | | public R getDocOutTypeData(Integer docClass){ |
| | | List<DocType> docTypes = docTypeService.selectList(new EntityWrapper<DocType>().eq("status", 1). |
| | | eq("host_id", getHostId()).orderBy("create_time", false).eq("doc_class",docClass)); |
| | | |
| | | List<DocType> docTypes = docTypeService.selectList(new EntityWrapper<DocType>() |
| | | .eq("host_id", "2") |
| | | .orderBy("create_time", false) |
| | | .eq("doc_class",docClass)); |
| | | return R.ok().add(docTypes); |
| | | } |
| | | |