| | |
| | | return success(true); |
| | | } |
| | | |
| | | @PostMapping("/create-iqc") |
| | | @Operation(summary = "执行质检:为到货通知单的需检行生成来料检验单") |
| | | @Parameter(name = "id", description = "到货通知单编号", required = true) |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-arrival-notice:update')") |
| | | public CommonResult<Integer> createArrivalNoticeIqc(@RequestParam("id") Long id) { |
| | | return success(arrivalNoticeService.createIqcForArrivalNotice(id)); |
| | | } |
| | | |
| | | @PostMapping("/generate-from-purchase-order") |
| | | @Operation(summary = "根据采购订单生成到货通知单") |
| | | @Parameter(name = "purchaseOrderId", description = "采购订单编号", required = true) |