zrg
2025-06-09 e73352ec1211ec700717f025d4e54baec0f7e949
WebTM/views/Éú²ú¹ÜÀí/±¨¹¤Ì¨¹¤Ðò/¿ª¹¤/Sc_Add_MESBeginStepWorkBillList.html
@@ -707,18 +707,22 @@
                            //子表  èµ‹å€¼
                            var rowdata = [];
                            for (var i = 0; i < tableSub.length; i++) {
                                rowdata.push(
                                    {
                                        "HRelationBillInterID": tableSub[i].HRelationBillInterID, "HRelationBillEntryID": tableSub[i].HRelationBillEntryID, "HRelationBillNo": tableSub[i].HRelationBillNo, "HRelationBillType": tableSub[i].HRelationBillType,
                                        "HICMOInterID": tableSub[i].生产订单内码, "HICMOEntryID": tableSub[i].生产订单子内码, "HICMOBillNo": tableSub[i].生产订单, "HRemark": tableSub[i].备注,
                                        "HProcExchInterID": tableSub[i].HProcExchInterID, "HProcExchEntryID": tableSub[i].HProcExchEntryID, "HProcExchBillNo": tableSub[i].HProcExchBillNo,
                                        "HMaterID": tableSub[i].HMaterID, "HMaterName": tableSub[i].产品名称, "HProcID": tableSub[i].HProcID, "HProcName": tableSub[i].工序名称,
                                    }
                                )
                            if (tableSub[0].HRelationBillInterID!=null) {
                                for (var i = 0; i < tableSub.length; i++) {
                                    rowdata.push(
                                        {
                                            "HRelationBillInterID": tableSub[i].HRelationBillInterID, "HRelationBillEntryID": tableSub[i].HRelationBillEntryID, "HRelationBillNo": tableSub[i].HRelationBillNo, "HRelationBillType": tableSub[i].HRelationBillType,
                                            "HICMOInterID": tableSub[i].生产订单内码, "HICMOEntryID": tableSub[i].生产订单子内码, "HICMOBillNo": tableSub[i].生产订单, "HRemark": tableSub[i].备注,
                                            "HProcExchInterID": tableSub[i].HProcExchInterID, "HProcExchEntryID": tableSub[i].HProcExchEntryID, "HProcExchBillNo": tableSub[i].HProcExchBillNo,
                                            "HMaterID": tableSub[i].HMaterID, "HMaterName": tableSub[i].产品名称, "HProcID": tableSub[i].HProcID, "HProcName": tableSub[i].工序名称,
                                        }
                                    )
                                }
                            }
                            option.data = rowdata;
                            table.render(option);
                        } else {
                            layer.alert(result.msg, { icon: 5, btn: ['退出'], time: 100000, offset: 't' });
                        }
@@ -932,7 +936,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/公用基础资料/Gy_Material.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_Material.html?openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -972,7 +976,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/生产基础资料/Gy_Source.html', 'yes'],
                    content: ['../../../基础资料/生产基础资料/Gy_Source.html?Htype=&openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1010,7 +1014,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1050,7 +1054,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html?type=HGroup', 'yes'],
                    content: ['../../../基础资料/工资基础资料/Gy_Group.html?Type=HGroup&openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1088,7 +1092,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../../基础资料/公用基础资料/Gy_DepartmentList.html', 'yes'],
                    content: ['../../../基础资料/公用基础资料/Gy_DepartmentList.html?openType=2&HOrgName=' + sessionStorage["Organization"], 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1289,7 +1293,7 @@
                                , shift: 2                                          //弹出动画
                                , area: ["90%", "90%"]                              //窗体大小
                                , maxmin: true                                      //设置最大最小按钮是否显示
                                , content: ['../../../views/Baseset/基础资料/Sc_ProcessExchangeBillListView.html', 'yes']
                                , content: ['../../../Baseset/基础资料/Sc_ProcessExchangeBillListView.html', 'yes']
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调
@@ -1367,7 +1371,7 @@
                                , shift: 2                                          //弹出动画
                                , area: ["90%", "90%"]                              //窗体大小
                                , maxmin: true                                      //设置最大最小按钮是否显示
                                , content: ['../../../views/基础资料/生产基础资料/Gy_Process.html', 'yes']
                                , content: ['../../../基础资料/生产基础资料/Gy_Process.html?openType=2', 'yes']
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调