自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-03-29 34e08619ee8fa88ea81b32b19a553743587f9244
src/main/webapp/static/js/order/out.js
@@ -155,13 +155,14 @@
                                limit: Number.MAX_VALUE,
                                cellMinWidth: 100,
                                cols: [[
                                    {type: 'checkbox', merge: ['orderNo']},
                                    // {type: 'checkbox', merge: ['orderNo']},
                                    {field: 'orderNo', title: '单据编号', merge: true, align: 'center'},
                                    {field: 'title', title: '商品', align: 'center', width: 350},
                                    {field: 'batch', title: '批号', merge: ['title'], align: 'center'},
                                    {field: 'title', title: '商品', merge: true, align: 'center', width: 350},
                                    {field: 'batch', title: '批号', align: 'center'},
                                    {field: 'anfme', title: '数量', align: 'center', width: 90, style: 'font-weight: bold'},
                                    {field: 'locNo', title: '货位', align: 'center', width: 100, templet: '#locNoTpl'},
                                    {field: 'staNo', align: 'center', title: '出库站', merge: ['locNo'], templet: '#tbBasicTbStaNos'},
                                    {field: 'staNos', align: 'center', title: '出库站', merge: ['locNo'], templet: '#tbBasicTbStaNos'},
                                    {type: 'checkbox', merge: ['locNo']},
                                ]],
                                done: function (res) {
                                    tableMerge.render(this);
@@ -197,7 +198,8 @@
    }
    function pakout(tableCache, layerIndex) {
        let loadIndex = layer.load(2);
        // let loadIndex = layer.load(2);
        notice.msg('正在生成出库任务......', {icon: 4, position: "top"});
        $.ajax({
            url: baseUrl + "/out/pakout/auth",
            headers: {'token': localStorage.getItem('token')},
@@ -205,7 +207,7 @@
            data: JSON.stringify(tableCache),
            method: 'POST',
            success: function (res) {
                layer.close(loadIndex);
                notice.destroy();
                if (res.code === 200) {
                    layer.close(layerIndex);
                    layer.msg(res.msg, {icon: 1});