zzr99
2022-02-21 8f3490c656fe05dd3007956ba8c478437d5bc04b
WebTM/views/IpadStepIndex.html
@@ -554,25 +554,25 @@
                shift: 2,
                area: ['100%', '100%'],
                maxmin: true,
                content: '生产管理/报工台工序/开工/Sc_Add_MESBeginStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=',
                content: '生产管理/报工台工序/开工/Sc_Add_MESBeginStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=&HBillType=' + HBillType + '&HSourceInterID=' + HSourceInterID + '&HSourceEntryID=' + HSourceEntryID + '&HSourceBillNo=' + HSourceBillNo + '&HSourceBillType=' + HSourceBillType+'',
                end: function () {
                },
                success: function (dom, index) {
                    var data = [];
                    data.push({
                        "HBillType": HBillType,
                        "HSourceInterID": HSourceInterID,
                        "HSourceEntryID": HSourceEntryID,
                        "HSourceBillNo": HSourceBillNo,
                        "HSourceBillType": HSourceBillType
                    });
                //success: function (dom, index) {
                //    var data = [];
                //    data.push({
                //        "HBillType": HBillType,
                //        "HSourceInterID": HSourceInterID,
                //        "HSourceEntryID": HSourceEntryID,
                //        "HSourceBillNo": HSourceBillNo,
                //        "HSourceBillType": HSourceBillType
                //    });
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
                //    //通过索引获取到当前iframe弹出层
                //    var iframe = window['layui-layer-iframe' + index];
                //    //调用iframe弹出层内的方法
                //    iframe.edit(data);
                //},
            });
        }
@@ -594,25 +594,26 @@
                shift: 2,
                area: ['100%', '100%'],
                maxmin: true,
                content: '生产管理/报工台工序/产量汇报/Sc_Add_ProductReportStepBillList.html?OperationType=2&linterid=&HSouceBillType=',
                content: '生产管理/报工台工序/产量汇报/Sc_Add_ProductReportStepBillList.html?OperationType=2&linterid=&HSouceBillType=&HBillType=' + HBillType + '&HSourceInterID=' + HSourceInterID + '&HSourceEntryID=' + HSourceEntryID + '&HSourceBillNo=' + HSourceBillNo + '&HSourceBillType=' + HSourceBillType + '',
                //content: '生产管理/报工台工序/产量汇报/Sc_Add_ProductReportStepBillList.html?OperationType=2&linterid=&HSouceBillType=',
                end: function () {
                },
                success: function (dom, index) {
                    var data = [];
                    data.push({
                        "HBillType": HBillType,
                        "HSourceInterID": HSourceInterID,
                        "HSourceEntryID": HSourceEntryID,
                        "HSourceBillNo": HSourceBillNo,
                        "HSourceBillType": HSourceBillType
                    });
                //success: function (dom, index) {
                //    var data = [];
                //    data.push({
                //        "HBillType": HBillType,
                //        "HSourceInterID": HSourceInterID,
                //        "HSourceEntryID": HSourceEntryID,
                //        "HSourceBillNo": HSourceBillNo,
                //        "HSourceBillType": HSourceBillType
                //    });
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
                //    //通过索引获取到当前iframe弹出层
                //    var iframe = window['layui-layer-iframe' + index];
                //    //调用iframe弹出层内的方法
                //    iframe.edit(data);
                //},
            });
        }
@@ -634,25 +635,26 @@
                shift: 2,
                area: ['100%', '100%'],
                maxmin: true,
                content: '生产管理/报工台工序/完工/Sc_Add_MESEndStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=',
                content: '生产管理/报工台工序/完工/Sc_Add_MESEndStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=&HBillType=' + HBillType + '&HSourceInterID=' + HSourceInterID + '&HSourceEntryID=' + HSourceEntryID + '&HSourceBillNo=' + HSourceBillNo + '&HSourceBillType=' + HSourceBillType + '',
                //content: '生产管理/报工台工序/完工/Sc_Add_MESEndStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=',
                end: function () {
                },
                success: function (dom, index) {
                    var data = [];
                    data.push({
                        "HBillType": HBillType,
                        "HSourceInterID": HSourceInterID,
                        "HSourceEntryID": HSourceEntryID,
                        "HSourceBillNo": HSourceBillNo,
                        "HSourceBillType": HSourceBillType
                    });
                //success: function (dom, index) {
                //    var data = [];
                //    data.push({
                //        "HBillType": HBillType,
                //        "HSourceInterID": HSourceInterID,
                //        "HSourceEntryID": HSourceEntryID,
                //        "HSourceBillNo": HSourceBillNo,
                //        "HSourceBillType": HSourceBillType
                //    });
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
                //    //通过索引获取到当前iframe弹出层
                //    var iframe = window['layui-layer-iframe' + index];
                //    //调用iframe弹出层内的方法
                //    iframe.edit(data);
                //},
            });
        }
@@ -674,25 +676,26 @@
                shift: 2,
                area: ['100%', '100%'],
                maxmin: true,
                content: '生产管理/报工台工序/停工/Sc_Add_MESStopStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=',
                content: '生产管理/报工台工序/停工/Sc_Add_MESStopStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=&HBillType=' + HBillType + '&HSourceInterID=' + HSourceInterID + '&HSourceEntryID=' + HSourceEntryID + '&HSourceBillNo=' + HSourceBillNo + '&HSourceBillType=' + HSourceBillType + '',
                //content: '生产管理/报工台工序/停工/Sc_Add_MESStopStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=',
                end: function () {
                },
                success: function (dom, index) {
                    var data = [];
                    data.push({
                        "HBillType": HBillType,
                        "HSourceInterID": HSourceInterID,
                        "HSourceEntryID": HSourceEntryID,
                        "HSourceBillNo": HSourceBillNo,
                        "HSourceBillType": HSourceBillType
                    });
                //success: function (dom, index) {
                //    var data = [];
                //    data.push({
                //        "HBillType": HBillType,
                //        "HSourceInterID": HSourceInterID,
                //        "HSourceEntryID": HSourceEntryID,
                //        "HSourceBillNo": HSourceBillNo,
                //        "HSourceBillType": HSourceBillType
                //    });
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
                //    //通过索引获取到当前iframe弹出层
                //    var iframe = window['layui-layer-iframe' + index];
                //    //调用iframe弹出层内的方法
                //    iframe.edit(data);
                //},
            });
        }
@@ -710,30 +713,31 @@
                shift: 2,
                area: ['100%', '100%'],
                maxmin: true,
                content: '生产管理/报工台工序/产量汇报/Sc_ProductReportStepBillList.html?OperationType=2&linterid=&HSouceBillType=',
                content: '生产管理/报工台工序/产量汇报/Sc_ProductReportStepBillList.html?OperationType=2&linterid=&HSouceBillType=&workcode=' + workcode + '&HSourceID=' + HSourceID1 + '&HSourceName=' + HSourceName1 + '&HICMOInterID=' + HICMOInterID + '&HICMOEntryID=' + HICMOEntryID + '&HMaker=' + sessionStorage["HUserName"] + '&Czybm=' + sessionStorage["Czybm"] + '&HSourceInterID=' + HSourceInterID + '&HSourceBillType=' + HSourceBillType + '&HProcID=' + HProcID+'',
                //content: '生产管理/报工台工序/产量汇报/Sc_ProductReportStepBillList.html?OperationType=2&linterid=&HSouceBillType=',
                end: function () {
                },
                success: function (dom, index) {
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    var data = [];
                    data.push({
                        "workcode": workcode,
                        "HSourceID": HSourceID1,
                        "HSourceName": HSourceName1,
                        "HICMOInterID": HICMOInterID,
                        "HICMOEntryID": HICMOEntryID,
                        "HMaker": sessionStorage["HUserName"],    //sessionStorage["HUserName"]
                        "Czybm": sessionStorage["Czybm"],
                        //"HEmpID": "0",    //sessionStorage["HEmpID"]
                        "HSourceInterID": HSourceInterID,
                        "HSourceBillType": HSourceBillType,
                        "HProcID": HProcID
                    });
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
                //success: function (dom, index) {
                //    //通过索引获取到当前iframe弹出层
                //    var iframe = window['layui-layer-iframe' + index];
                //    var data = [];
                //    data.push({
                //        "workcode": workcode,
                //        "HSourceID": HSourceID1,
                //        "HSourceName": HSourceName1,
                //        "HICMOInterID": HICMOInterID,
                //        "HICMOEntryID": HICMOEntryID,
                //        "HMaker": sessionStorage["HUserName"],    //sessionStorage["HUserName"]
                //        "Czybm": sessionStorage["Czybm"],
                //        //"HEmpID": "0",    //sessionStorage["HEmpID"]
                //        "HSourceInterID": HSourceInterID,
                //        "HSourceBillType": HSourceBillType,
                //        "HProcID": HProcID
                //    });
                //    //调用iframe弹出层内的方法
                //    iframe.edit(data);
                //},
            });
        }
@@ -755,24 +759,25 @@
                shift: 2,
                area: ['100%', '100%'],
                maxmin: true,
                content: '生产管理/报工台工序/返工/Sc_Add_MESReturnStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=',
                content: '生产管理/报工台工序/返工/Sc_Add_MESReturnStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=&HBillType=' + HBillType + '&HSourceInterID=' + HSourceInterID + '&HSourceEntryID=' + HSourceEntryID + '&HSourceBillNo=' + HSourceBillNo + '&HSourceBillType=' + HSourceBillType + '',
                //content: '生产管理/报工台工序/返工/Sc_Add_MESReturnStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=',
                end: function () {
                },
                success: function (dom, index) {
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    var data = [];
                    data.push({
                        "HBillType": HBillType,
                        "HSourceInterID": HSourceInterID,
                        "HSourceEntryID": HSourceEntryID,
                        "HSourceBillNo": HSourceBillNo,
                        "HSourceBillType": HSourceBillType
                    });
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
                //success: function (dom, index) {
                //    //通过索引获取到当前iframe弹出层
                //    var iframe = window['layui-layer-iframe' + index];
                //    var data = [];
                //    data.push({
                //        "HBillType": HBillType,
                //        "HSourceInterID": HSourceInterID,
                //        "HSourceEntryID": HSourceEntryID,
                //        "HSourceBillNo": HSourceBillNo,
                //        "HSourceBillType": HSourceBillType
                //    });
                //    //调用iframe弹出层内的方法
                //    iframe.edit(data);
                //},
            });
        }
@@ -790,25 +795,26 @@
                shift: 2,
                area: ['100%', '100%'],
                maxmin: true,
                content: '生产管理/报工台工序/防错/Sc_Add_MaterToSourceStepBillList.html?OperationType=2&linterid=&HSouceBillType=',
                content: '生产管理/报工台工序/防错/Sc_Add_MaterToSourceStepBillList.html?OperationType=2&linterid=&HSouceBillType=&HBillType=' + HBillType + '&HSourceInterID=' + HSourceInterID + '&HSourceEntryID=' + HSourceEntryID + '&HSourceBillNo=' + HSourceBillNo + '&HSourceBillType=' + HSourceBillType + '',
                //content: '生产管理/报工台工序/防错/Sc_Add_MaterToSourceStepBillList.html?OperationType=2&linterid=&HSouceBillType=',
                end: function () {
                },
                success: function (dom, index) {
                    var data = [];
                    data.push({
                        "HBillType": HBillType,
                        "HSourceInterID": HSourceInterID,
                        "HSourceEntryID": HSourceEntryID,
                        "HSourceBillNo": HSourceBillNo,
                        "HSourceBillType": HSourceBillType
                    });
                //success: function (dom, index) {
                //    var data = [];
                //    data.push({
                //        "HBillType": HBillType,
                //        "HSourceInterID": HSourceInterID,
                //        "HSourceEntryID": HSourceEntryID,
                //        "HSourceBillNo": HSourceBillNo,
                //        "HSourceBillType": HSourceBillType
                //    });
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
                //    //通过索引获取到当前iframe弹出层
                //    var iframe = window['layui-layer-iframe' + index];
                //    //调用iframe弹出层内的方法
                //    iframe.edit(data);
                //},
            });
        }
@@ -852,26 +858,26 @@
                shift: 2,
                area: ['100%', '100%'],
                maxmin: true,
                content: '生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html?OperationType=2&linterid=&HSouceBillType=',
                content: '生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html?OperationType=2&linterid=&HSouceBillType=&HBillType=' + HBillType + '&HSourceInterID=' + HSourceInterID + '&HSourceEntryID=' + HSourceEntryID + '&HSourceBillNo=' + HSourceBillNo + '&HSourceBillType=' + HSourceBillType + '',
                //content: '生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html?OperationType=2&linterid=&HSouceBillType=',
                end: function () {
                },
                success: function (dom, index) {
                    var data = [];
                    data.push({
                        "HBillType": HBillType,
                        "HSourceInterID": HSourceInterID,
                        "HSourceEntryID": HSourceEntryID,
                        "HSourceBillNo": HSourceBillNo,
                        "HSourceBillType": HSourceBillType
                    });
                //success: function (dom, index) {
                //    var data = [];
                //    data.push({
                //        "HBillType": HBillType,
                //        "HSourceInterID": HSourceInterID,
                //        "HSourceEntryID": HSourceEntryID,
                //        "HSourceBillNo": HSourceBillNo,
                //        "HSourceBillType": HSourceBillType
                //    });
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
                //    //通过索引获取到当前iframe弹出层
                //    var iframe = window['layui-layer-iframe' + index];
                //    //调用iframe弹出层内的方法
                //    iframe.edit(data);
                //},
            });
        }