智云SRM-LAYUI(夏宝服务器版本)
wy
2022-11-05 4e62c59ffc64e3cefd7eb5aeb39097d7122f1e88
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POOrderBillList.html
@@ -161,7 +161,7 @@
    <script src="../../../../Scripts/webConfig.js"></script>
    <script>
        var _cur_page = 1;
        var sql = " and 1=1";
        var sql = "";
        var options = document.getElementById('HStatus').children;
        function getUrlVars() {
            var vars = [], hash;
@@ -256,6 +256,7 @@
                    , { field: 'F_xbkf_Combo', title: '自定义标识', width: 120 }
                    , { field: 'FSHDD', title: '送货地点', width: 120 }
                    , { field: 'FStockInQty', title: '累计入库数量', width: 120 }
                    , { field: '包装标识', title: '包装标识', width: 120 }
                    , { field: 'FMRBQTY', title: '累计退料数量', width: 120 }
                    //, { field: '物料编码', title: '物料编码', width: 120, sort: true }
                    , { field: '物料代码', title: '物料代码', width: 120, sort: true }
@@ -281,7 +282,7 @@
                //, skin: 'row' //表格风格
                // , even: true
                , page: true //是否显示分页
                , limits: [10, 20, 50, 100]
                , limits: [10, 20, 50, 100,500,1000,5000,10000]
                , limit: 50 //每页默认显示的数量
                //, height: 500
                , done: function (res, curr, count) {
@@ -406,18 +407,23 @@
                            , data = checkStatus.data;
                        ajaxLabelData = data;
                        //根据选中的采购订单,重新从金蝶云同步采购订单关联数量过来。考虑采购订单删除和关闭状态,同步状态
                        var ids = [];
                        var ids = "";
                        var entryids = "";
                        $.each(data, function (obj) {
                            ids.push(data[obj].hmainid);
                            ids += data[obj].hmainid + ",";
                            entryids += data[obj].hsubid + ",";
                        })
                        ids = ids.substring(0, ids.length - 1);
                        entryids = entryids.substring(0, entryids.length - 1);
                        var hasPrivileage = true;
                        $.ajax({
                            url: GetWEBURL() + 'TestSaverPOInStock',
                            type: 'Post',
                            type: 'get',
                            async: false,
                            traditional: true,   // 重点
                            traditional: true,   //重点
                            data: {
                                "": ids      // 重点
                                "ids": ids,
                                "entryids": entryids //重点
                            },
                            success: function (data) {
                                if (data.code == "0") {
@@ -608,7 +614,7 @@
            function RoadHBillNo(sqlWhere) {
                where = sqlWhere;
                $.ajax({
                    type: "get",
                    type: "post",
                    url: GetWEBURL() + "GetPOOrderBill",
                    async: true,
                    data: { "HSupNo": sessionStorage["HUserName"], "sqlWhere": sqlWhere },