zzr99
2021-11-25 ce9ca83de554df69c145cea57c0960f49632fa8c
LMES/ClsShowMod.cs
@@ -3632,6 +3632,12 @@
                        oGy_BarCodeBill.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oGy_BarCodeBill.ShowDialog();
                        break;
                    case "sc_icmotobarcode":
                        //
                        Sc_ICMOToBarCode oSc_ICMOToBarCode = new Sc_ICMOToBarCode();
                        oSc_ICMOToBarCode.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oSc_ICMOToBarCode.ShowDialog();
                        break;
                    case "kf_barcodeoutinreport":
                        //权限
                        Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new Kf_BarCodeOutInReport();
@@ -3920,6 +3926,13 @@
                        oKf_SafeStockReport.MdiParent = oMain;
                        oKf_SafeStockReport.Show();
                        oMainForm.AddTabPage(oKf_SafeStockReport);
                        break;
                    case "pt_radiumcarvingcodebilllist":
                        //权限
                        Pt_RadiumCarvingCodeBillList oPt_RadiumCarvingCodeBillList = new Pt_RadiumCarvingCodeBillList();
                        oPt_RadiumCarvingCodeBillList.MdiParent = oMain;
                        oPt_RadiumCarvingCodeBillList.Show();
                        oMainForm.AddTabPage(oPt_RadiumCarvingCodeBillList);
                        break;
                    default:
                        break;
@@ -5189,12 +5202,54 @@
            {
                switch (gnsy.ToLower())
                {
                    case "jit_getppbominfo":
                        JIT_GetPPBomInfo oJIT_GetPPBomInfo = new JIT_GetPPBomInfo();
                        oJIT_GetPPBomInfo.MdiParent = oMain;
                        oJIT_GetPPBomInfo.ModCaption = gnmc;
                        oJIT_GetPPBomInfo.Show();
                        oMainForm.AddTabPage(oJIT_GetPPBomInfo);
                        break;
                    case "eam_sourceruningstatus":
                        EAM_SourceRuningStatus oEAM_SourceRuningStatus = new EAM_SourceRuningStatus();
                        oEAM_SourceRuningStatus.MdiParent = oMain;
                        oEAM_SourceRuningStatus.ModCaption = gnmc;
                        oEAM_SourceRuningStatus.Show();
                        oMainForm.AddTabPage(oEAM_SourceRuningStatus);
                        break;
                    case "mes_stationoutbilllist_baofei":
                        MES_StationOutBillList_BaoFei oMES_StationOutBillList_BaoFei = new MES_StationOutBillList_BaoFei();
                        oMES_StationOutBillList_BaoFei.MdiParent = oMain;
                        oMES_StationOutBillList_BaoFei.ModCaption = gnmc;
                        oMES_StationOutBillList_BaoFei.Show();
                        oMainForm.AddTabPage(oMES_StationOutBillList_BaoFei);
                        break;
                    case "mes_stationoutbilllist_geli":
                        MES_StationOutBillList_GeLi oMES_StationOutBillList_GeLi = new MES_StationOutBillList_GeLi();
                        oMES_StationOutBillList_GeLi.MdiParent = oMain;
                        oMES_StationOutBillList_GeLi.ModCaption = gnmc;
                        oMES_StationOutBillList_GeLi.Show();
                        oMainForm.AddTabPage(oMES_StationOutBillList_GeLi);
                        break;
                    case "mes_stationoutbilllist_bad":
                        MES_StationOutBillList_Bad oMES_StationOutBillList_Bad = new MES_StationOutBillList_Bad();
                        oMES_StationOutBillList_Bad.MdiParent = oMain;
                        oMES_StationOutBillList_Bad.ModCaption = gnmc;
                        oMES_StationOutBillList_Bad.Show();
                        oMainForm.AddTabPage(oMES_StationOutBillList_Bad);
                        break;
                    case "sc_prodwiptotalreport":
                        Sc_ProdWIPTotalReport oSc_ProdWIPTotalReport = new Sc_ProdWIPTotalReport();
                        oSc_ProdWIPTotalReport.MdiParent = oMain;
                        oSc_ProdWIPTotalReport.ModCaption = gnmc;
                        oSc_ProdWIPTotalReport.Show();
                        oMainForm.AddTabPage(oSc_ProdWIPTotalReport);
                        break;
                    case "mes_wipprocreport_wip":
                        MES_WIPProcReport_WIP oMES_WIPProcReport_WIP = new MES_WIPProcReport_WIP();
                        oMES_WIPProcReport_WIP.MdiParent = oMain;
                        oMES_WIPProcReport_WIP.ModCaption = gnmc;
                        oMES_WIPProcReport_WIP.Show();
                        oMainForm.AddTabPage(oMES_WIPProcReport_WIP);
                        break;
                    case "mes_wipprocreport":
                        MES_WIPProcReport oMES_WIPProcReport = new MES_WIPProcReport();
@@ -5872,6 +5927,12 @@
                        oQC_NoPassProdCheckBillQuery.MdiParent = oMain;
                        oQC_NoPassProdCheckBillQuery.Show();
                        oMainForm.AddTabPage(oQC_NoPassProdCheckBillQuery);
                        break;
                    case "defectivedetailedyieldreport":
                        DefectiveDetailedYieldReport oDefectiveDetailedYieldReport = new DefectiveDetailedYieldReport();
                        oDefectiveDetailedYieldReport.MdiParent = oMain;
                        oDefectiveDetailedYieldReport.Show();
                        oMainForm.AddTabPage(oDefectiveDetailedYieldReport);
                        break;
                    default:
@@ -6594,8 +6655,15 @@
                return;
            try
            {
                //MessageBox.Show("gnsy:"+gnsy + "gnmc:"+ gnmc);
                switch (gnsy.ToLower())
                {
                    case "gy_dotcheck"://点检项目
                        Gy_DotCheck oGy_DotCheck = new Gy_DotCheck();
                        oGy_DotCheck.MdiParent = oMain;
                        oGy_DotCheck.Show();
                        oMainForm.AddTabPage(oGy_DotCheck);
                        break;
                    case "gy_basedemo":
                        //权限
                        Gy_BaseDemo oGy_BaseDemo = new Gy_BaseDemo();
@@ -7668,6 +7736,7 @@
                        oGy_QCCheckItem.Show();
                        oMainForm.AddTabPage(oGy_QCCheckItem);
                        break;
                    case "":
                        //
                        break;