| | |
| | | //using ReportM; |
| | | using Kanban; |
| | | using Demo; |
| | | using ProM.委外管理; |
| | | |
| | | namespace LMES |
| | | { |
| | |
| | | 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(); |
| | |
| | | oPt_RadiumCarvingCodeBillList.MdiParent = oMain; |
| | | oPt_RadiumCarvingCodeBillList.Show(); |
| | | oMainForm.AddTabPage(oPt_RadiumCarvingCodeBillList); |
| | | break; |
| | | case "sc_packunionbill": |
| | | Sc_PackUnionBill oSc_PackUnionBill = new Sc_PackUnionBill(); |
| | | oSc_PackUnionBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | oSc_PackUnionBill.ModCaption = gnmc; |
| | | oSc_PackUnionBill.ShowDialog(); |
| | | break; |
| | | default: |
| | | break; |
| | |
| | | oWW_EntrustOrderBillList.MdiParent = oMain; |
| | | oWW_EntrustOrderBillList.Show(); |
| | | oMainForm.AddTabPage(oWW_EntrustOrderBillList); |
| | | break; |
| | | case "ww_ppbombilllist": |
| | | //权限 |
| | | WW_PPBomBillList oWW_PPBomBillList = new WW_PPBomBillList(); |
| | | oWW_PPBomBillList.MdiParent = oMain; |
| | | oWW_PPBomBillList.Show(); |
| | | oMainForm.AddTabPage(oWW_PPBomBillList); |
| | | break; |
| | | default: |
| | | break; |
| | |
| | | { |
| | | 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; |
| | |
| | | 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(); |
| | |
| | | // oSc_PackSplitBillList.Show(); |
| | | // oMainForm.AddTabPage(oSc_PackSplitBillList); |
| | | // break; |
| | | //case "sc_packunionbill": |
| | | // Sc_PackUnionBill oSc_PackUnionBill = new Sc_PackUnionBill(); |
| | | // oSc_PackUnionBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | // oSc_PackUnionBill.ModCaption = gnmc; |
| | | // oSc_PackUnionBill.ShowDialog(); |
| | | // break; |
| | | //case "sc_packunionbilllist": |
| | | // Sc_PackUnionBillList oSc_PackUnionBillList = new Sc_PackUnionBillList(); |
| | | // oSc_PackUnionBillList.MdiParent = oMain; |
| | | // oSc_PackUnionBillList.ModCaption = gnmc; |
| | | // oSc_PackUnionBillList.Show(); |
| | | // oMainForm.AddTabPage(oSc_PackUnionBillList); |
| | | // break; |
| | | case "sc_packunionbill": |
| | | Sc_PackUnionBill oSc_PackUnionBill = new Sc_PackUnionBill(); |
| | | oSc_PackUnionBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | oSc_PackUnionBill.ModCaption = gnmc; |
| | | oSc_PackUnionBill.ShowDialog(); |
| | | break; |
| | | case "sc_packunionbilllist": |
| | | Sc_PackUnionBillList oSc_PackUnionBillList = new Sc_PackUnionBillList(); |
| | | oSc_PackUnionBillList.MdiParent = oMain; |
| | | oSc_PackUnionBillList.ModCaption = gnmc; |
| | | oSc_PackUnionBillList.Show(); |
| | | oMainForm.AddTabPage(oSc_PackUnionBillList); |
| | | break; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //===========================MES平板系统单据 |
| | | |
| | |
| | | oMES_StationOutBillList.Show(); |
| | | oMainForm.AddTabPage(oMES_StationOutBillList); |
| | | break; |
| | | case "sc_packunionbill": |
| | | Sc_PackUnionBill oSc_PackUnionBill = new Sc_PackUnionBill(); |
| | | oSc_PackUnionBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | oSc_PackUnionBill.ModCaption = gnmc; |
| | | oSc_PackUnionBill.ShowDialog(); |
| | | break; |
| | | case "sc_packunionbilllist": |
| | | //权限 |
| | | Sc_PackUnionBillList oSc_PackUnionBillList = new Sc_PackUnionBillList(); |
| | | oSc_PackUnionBillList.MdiParent = oMain; |
| | | oSc_PackUnionBillList.ModCaption = gnmc; |
| | | oSc_PackUnionBillList.Show(); |
| | | oMainForm.AddTabPage(oSc_PackUnionBillList); |
| | | break; |
| | | //case "sc_packunionbill": |
| | | // Sc_PackUnionBill oSc_PackUnionBill = new Sc_PackUnionBill(); |
| | | // oSc_PackUnionBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | // oSc_PackUnionBill.ModCaption = gnmc; |
| | | // oSc_PackUnionBill.ShowDialog(); |
| | | // break; |
| | | //case "sc_packunionbilllist": |
| | | // //权限 |
| | | // Sc_PackUnionBillList oSc_PackUnionBillList = new Sc_PackUnionBillList(); |
| | | // oSc_PackUnionBillList.MdiParent = oMain; |
| | | // oSc_PackUnionBillList.ModCaption = gnmc; |
| | | // oSc_PackUnionBillList.Show(); |
| | | // oMainForm.AddTabPage(oSc_PackUnionBillList); |
| | | // break; |
| | | //case "mes_mesbeginworkbill": |
| | | // MES_MESBeginWorkBill oMES_MESBeginWorkBill = new MES_MESBeginWorkBill(); |
| | | // oMES_MESBeginWorkBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |