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' });
                        }