.
18516761980
2022-03-19 9ff5e64187837a3bbd78370c1cfaadf2329f97f0
src/main/java/zy/cloud/wms/manager/controller/WorkController.java
@@ -77,7 +77,9 @@
    @RequestMapping("/stock/out/print")
    @ManagerAuth(memo = "拣货单打印")
    public R stockOutPrint(@RequestBody StockOutParam stockOutParam) {
        return workService.stockOutPrint(stockOutParam, getUserId(), getHostId());
        return workService.stockInPrint(stockOutParam, getUserId(), getHostId());
    }
    @RequestMapping("/stock/allot")
@@ -199,8 +201,9 @@
    // 获取所有单据类型
    @RequestMapping("/docType/all/get")
    @ManagerAuth
    public R getDocTypeData() {
        List<DocType> docTypes = docTypeService.selectList(new EntityWrapper<DocType>().eq("status", 1).eq("host_id", getHostId()).orderBy("create_time", false));
    public R getDocTypeData(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));
        return R.ok().add(docTypes);
    }