From 07be4d7d9002739b54170fdca63f0e8c7773e647 Mon Sep 17 00:00:00 2001 From: yxj <1qaz@123> Date: 星期四, 11 十一月 2021 15:56:03 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- LMES/ClsShowMod.cs | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 51 insertions(+), 1 deletions(-) diff --git a/LMES/ClsShowMod.cs b/LMES/ClsShowMod.cs index bf20bf5..8bb07b8 100644 --- a/LMES/ClsShowMod.cs +++ b/LMES/ClsShowMod.cs @@ -35,11 +35,11 @@ if (!DBUtility.ClsPub.Security_Log(gnsy.Trim(), 1, true, DBUtility.ClsPub.CurUserName)) { return; + } // switch (gnbm.Trim().Substring(0, 2)) { - case "zp": //装配车间 Zxxymk_ZPCJ(gnsy, gnmc, oMain); @@ -50,6 +50,7 @@ break; case "pa": //工资管理 + Zxxymk_GZXT(gnsy, gnmc, oMain); break; case "jh": @@ -5188,6 +5189,41 @@ { switch (gnsy.ToLower()) { + 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": + MES_WIPProcReport oMES_WIPProcReport = new MES_WIPProcReport(); + oMES_WIPProcReport.MdiParent = oMain; + oMES_WIPProcReport.ModCaption = gnmc; + oMES_WIPProcReport.Show(); + oMainForm.AddTabPage(oMES_WIPProcReport); + break; case "mes_icmobillstatusreport": MES_ICMOBillStatusReport oMES_ICMOBillStatusReport = new MES_ICMOBillStatusReport(); oMES_ICMOBillStatusReport.MdiParent = oMain; @@ -5857,6 +5893,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: @@ -6579,8 +6621,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(); @@ -7653,6 +7702,7 @@ oGy_QCCheckItem.Show(); oMainForm.AddTabPage(oGy_QCCheckItem); break; + case "": // break; -- Gitblit v1.9.1