#
luxiaotao1123
2021-03-23 d7d00984c029fcc9e340244d2fa974a6d8b3b9e0
#
2个文件已修改
23 ■■■■■ 已修改文件
src/main/java/zy/cloud/wms/common/service/erp/ErpService.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/stockIn.html 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/zy/cloud/wms/common/service/erp/ErpService.java
@@ -47,14 +47,16 @@
                detl.setUserCode(comb.getMatnr());
                detl.setQty(comb.getAnfme());
                detl.setPrice(0.0D);
                detail.add(detl);
            }
            System.out.println(JSON.toJSONString(uploadBill));
            String response = new HttpHandler.Builder()
                    .setUri(ErpScheduler.URI)
                    .setPath(ErpScheduler.UPLOAD_BILL)
                    .setJson(JSON.toJSONString(uploadBill))
                    .build()
                    .doPost();
            if (!Cools.isEmpty(response)) {
                log.warn(response);
                Result result = JSON.parseObject(response, Result.class);
src/main/webapp/views/pda/stockIn.html
@@ -263,6 +263,20 @@
    function confirm() {
        var zpallet = $('#code').val();
        if (isEmpty(zpallet)) {
            tips("托盘条码为空", true);
            return;
        }
        var node = $('#node').val();
        if (isEmpty(node)) {
            tips("货位为空", true);
            return;
        }
        if (matData.length === 0) {
            tips("请提取物料", true);
            return;
        }
        layer.open({
            type: 1,
            title: '单据类型',
@@ -291,6 +305,7 @@
            tips("请提取物料", true);
            return;
        }
        layer.closeAll();
        $.ajax({
            url: baseUrl+"/work/stock/in",
            headers: {'token': localStorage.getItem('token')},
@@ -315,6 +330,10 @@
        })
    }
    function doPost() {
    }
    /**
     * 提示信息
     * @param msg 提示内容