#
luxiaotao1123
2021-03-26 0ffa7a000fee8d7bde4d9a4cd91327b063b41f7f
src/main/webapp/static/js/custOrder/custOrder.js
@@ -38,7 +38,7 @@
        cols: [[
            {type: 'checkbox'}
//            ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
            ,{field: 'number', align: 'center',title: '销售单号'}
            ,{field: 'number', align: 'center',title: '单号'}
            ,{field: 'btypeId', align: 'center',title: '客户编号'}
            ,{field: 'etypeId', align: 'center',title: '经手人编号', hide: true}
@@ -250,23 +250,24 @@
                            });
                        // 缺料
                        } else if (res.code === 20001) {
                            layer.confirm(res.msg, {
                                    shadeClose: true
                                    , area: ['400px']
                                    , btn: ['库存调拨', '取消']
                                }, function() {
                                    // 库存调拨
                                    stockTransfer(data.number);
                                    layer.closeAll();
                                }, function() {
                                    // printPakouts(data.number);
                                    layer.closeAll();
                                }
                            )
                            // layer.confirm(res.msg, {
                            //         shadeClose: true
                            //         , area: ['400px']
                            //         , btn: ['库存调拨', '取消']
                            //     }, function() {
                            //         // 库存调拨
                            //         stockTransfer(data.number);
                            //         layer.closeAll();
                            //     }, function() {
                            //         // printPakouts(data.number);
                            //         layer.closeAll();
                            //     }
                            // )
                            layer.msg(res.msg, {icon: 2})
                        } else if (res.code === 403){
                            top.location.href = baseUrl+"/";
                        } else {
                            layer.msg(res.msg, {icon: 1})
                            layer.msg(res.msg, {icon: 2})
                        }
                    }
                })