#
luxiaotao1123
2021-03-16 1230ae74df4b27a417c1ef67886c1c8c807a8772
src/main/webapp/static/js/custOrder/custOrder.js
@@ -228,7 +228,8 @@
                                            {field: 'locNo', title: '货位', align: 'center'},
                                            {field: 'prior$', title: '推荐货位', align: 'center', width: 100},
                                            {field: 'reduce', title: '数量', align: 'center', width: 80, style: 'font-weight: bold'},
                                            {field: 'remQty', title: '余量', align: 'center', width: 80},
                                            // {field: 'remQty', title: '余量', align: 'center', width: 80},
                                            {field: 'total', title: '总量', align: 'center', width: 80},
                                        ]],
                                        done: function () {
                                            tableX.merges('stoPreTab', [0,1]);
@@ -487,22 +488,22 @@
        page: {
            curr: pageCurr
        },
        done: function (res, curr, count) {
            if (res.code === 403) {
                top.location.href = baseUrl+"/";
            }
            pageCurr=curr;
            if (res.data.length === 0 && count !== 0) {
                tableIns.reload({
                    where: searchData,
                    page: {
                        curr: pageCurr-1
                    }
                });
                pageCurr -= 1;
            }
            limit(child);
        }
        // done: function (res, curr, count) {
        //     if (res.code === 403) {
        //         top.location.href = baseUrl+"/";
        //     }
        //     pageCurr=curr;
        //     if (res.data.length === 0 && count !== 0) {
        //         tableIns.reload({
        //             where: searchData,
        //             page: {
        //                 curr: pageCurr-1
        //             }
        //         });
        //         pageCurr -= 1;
        //     }
        //     limit(child);
        // }
    });
}