#
luxiaotao1123
2021-03-13 40bfd7078ca4e46ae127dea1cf37870af2865c46
src/main/webapp/static/js/custOrder/custOrder.js
@@ -196,6 +196,7 @@
                    }),
                    method: 'POST',
                    success: function (res) {
                        console.log(res)
                        layer.close(loadIndex);
                        // 成功
                        if (res.code === 200){
@@ -204,19 +205,38 @@
                                ,title: false
                                ,closeBtn: false
                                ,offset: '100px'
                                ,area: '300px;'
                                ,area: '1200px;'
                                ,shade: 0.5
                                ,id: 'LAY_layuipro'
                                ,btn: ['马上拣货', '稍后处理']
                                ,btnAlign: 'c'
                                ,moveType: 1 //拖拽模式,0或者1
                                ,content: '<div style="padding: 50px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;">你知道吗?亲!<br>layer ≠ layui<br><br>layer只是作为Layui的一个弹层模块,由于其用户基数较大,所以常常会有人以为layui是layerui<br><br>layer虽然已被 Layui 收编为内置的弹层模块,但仍然会作为一个独立组件全力维护、升级。<br><br>我们此后的征途是星辰大海 ^_^</div>'
                                ,success: function(layero){
                                    var btn = layero.find('.layui-layer-btn');
                                    btn.find('.layui-layer-btn0').attr({
                                        href: 'http://www.layui.com/'
                                        ,target: '_blank'
                                // ,content: '<div style="padding: 50px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;">你知道吗?亲!<br>layer ≠ layui<br><br>layer只是作为Layui的一个弹层模块,由于其用户基数较大,所以常常会有人以为layui是layerui<br><br>layer虽然已被 Layui 收编为内置的弹层模块,但仍然会作为一个独立组件全力维护、升级。<br><br>我们此后的征途是星辰大海 ^_^</div>'
                                ,content: $('#stoukOutPreview')
                                ,success: function(layero, index){
                                    table.render({
                                        elem: '#stoPreTab',
                                        // url: 'tablex-tb2.json',
                                        data: res.data,
                                        page: true,
                                        cellMinWidth: 100,
                                        cols: [[
                                            {field: 'title', title: '名称', sort: true},
                                            {field: 'maktx', title: '菜单名称'},
                                            {field: 'locNo', title: '货位'},
                                            {field: 'reduce', title: '出库数量'},
                                            {field: 'prior', title: '推荐货位'},
                                        ]],
                                        done: function () {
                                            tableX.merges('stoPreTab', [0]);
                                        }
                                    });
                                    // var btn = layero.find('.layui-layer-btn');
                                    // btn.find('.layui-layer-btn0').attr({
                                    //     href: 'http://www.layui.com/'
                                    //     ,target: '_blank'
                                    // });
                                }
                            });
                        // 缺料