自动化立体仓库 - WMS系统
1
ZY
2024-09-26 ddb9678030a8391fe63e6eb0775a77d12f1023ca
src/main/java/com/zy/asrs/controller/MobileController.java
@@ -70,6 +70,7 @@
        mobileService.onSale(combParam);
        return R.ok("上架成功");
    }
    // 商品下架
    @RequestMapping("/mat/offSale/auth")
    //@ManagerAuth
@@ -77,7 +78,6 @@
        mobileService.offSale(offSaleParam);
        return R.ok("下架成功");
    }
    // 组托 ----------------------------------------------------------------------------------------------------
@@ -461,6 +461,10 @@
    public R plaPackInTestErp(@RequestBody JSONObject json) throws ParseException {
        String locNo = json.get("locNo").toString();
        JSONArray jsonArray = JSONArray.parseArray(json.getJSONArray("pla").toJSONString());
        //判断此次入库是否达到库存上限
        if (!mobileService.checkMaximum(locNo, jsonArray.size())) {
            return R.error("当前入库包数已超过库存上限");
        }
        for (Object o : jsonArray){
            JSONObject jsonObject = (JSONObject)o;
            String brand = jsonObject.get("brand").toString();
@@ -630,9 +634,9 @@
        String orderNo = json.get("orderNo").toString();
        return R.ok();
    }
    @RequestMapping("select/mat/information/v1")
    @ManagerAuth
    public R pdaSelectInformation(@RequestParam String barcode){