duhe
2023-07-10 fc3e41679ca6eeafb6973715d3fcb1a52df263df
WebTM/views/¼Æ»®¹ÜÀí/¹¤ÒÕ·Ïß/Gy_RoutingBill.html
@@ -503,7 +503,7 @@
                elem: '#mainTable'
                , toolbar: '#toolbarDemo'
                , limit: 500 //每页默认显示的数量
                , cellMinWidth: 120
                //, cellMinWidth: 120
                , height: 400
                , cols: [[ //表头
                    { type: 'checkbox', totalRowText: '合计行' }
@@ -1153,7 +1153,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '物料表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../Baseset/基础资料/Gy_MaterialList_LSQP.html', 'yes']
                    , content: ['../../Baseset/基础资料/Gy_MaterialList.html', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1169,7 +1169,7 @@
                        $("#HUnitID").val(checkStatus.data[0].HUnitID);//计量单位id
                        $("#HUnitName").val(checkStatus.data[0].HUnitName);//计量单位名称
                        if ($("#HName").val() == "") {
                            $("#HName").val(checkStatus.data[0].HNumber + '/' + checkStatus.data[0].HName + '/' + checkStatus.data[0].HModel);
                            $("#HName").val(checkStatus.data[0].HNumber);
                        }
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
@@ -1348,7 +1348,7 @@
                    data: { "sWhere": "" },
                    success: function (result) {
                        if (result.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                            if (result.data == "true") {
                            if (result.data.Gy_RoutingBill_SaveAutoLastProc == "Y") {
                                $("#IsProNo").val("1");
                                $("input[name='checkboxIsProNo']").prop("checked", true);
                                form.render("checkbox");
@@ -2094,6 +2094,7 @@
                    for (var i = 0; i < option.data.length; i++) {
                        if (option.data[i]["HProcNo"] == data[0]["HProcNo"]) {
                            tables.push(option.data[i - 1]);
                            data[0].LAY_CHECKED = true;
                            option.data[i - 1] = data[0];
                            option.data[i] = tables[0];
                            table.render(option);
@@ -2114,6 +2115,7 @@
                    for (var i = 0; i < option.data.length; i++) {
                        if (option.data[i]["HProcNo"] == data[0]["HProcNo"]) {
                            tables.push(option.data[i + 1]);
                            data[0].LAY_CHECKED = true;
                            option.data[i + 1] = data[0];
                            option.data[i] = tables[0];
                            table.render(option);