| | |
| | | return success(productSalesDetailService.createProductSalesDetail(createReqVO)); |
| | | } |
| | | |
| | | @PostMapping("/create-mobile-manual") |
| | | @Operation(summary = "移动端按数量拣选无袋码历史库存") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-product-sales:stock')") |
| | | public CommonResult<Long> createMobileManual(@Valid @RequestBody MesWmProductSalesDetailSaveReqVO reqVO) { |
| | | if (reqVO.getRemark() == null || !reqVO.getRemark().matches("移动端无袋码拣货 #[a-f0-9-]{36}")) |
| | | throw new IllegalArgumentException("缺少有效的拣货请求标识"); |
| | | return success(productSalesDetailService.createProductSalesDetail(reqVO)); |
| | | } |
| | | |
| | | @PutMapping("/update") |
| | | @Operation(summary = "修改销售出库明细") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-product-sales:update')") |