yxj
4 天以前 180e5879d508734f1ad395dba7f81e0d59a8627e
NETSCM/ClsShowMod.cs
@@ -2072,246 +2072,260 @@
                        oSc_DoorOutCheckBillList.Show();
                        oMainForm.AddTabPage(oSc_DoorOutCheckBillList);
                        break;
        //            case "sc_mouldprodoutbill":
        //                //
        //                Sc_MouldProdOutBill oSc_MouldProdOutBill = new Sc_MouldProdOutBill();
        //                oSc_MouldProdOutBill.ShowDialog();
        //                break;
        //            case "sc_mouldprodoutbilllist":
        //                //权限
        //                Sc_MouldProdOutBillList oSc_MouldProdOutBillList = new Sc_MouldProdOutBillList();
        //                oSc_MouldProdOutBillList.MdiParent = oMain;
        //                oSc_MouldProdOutBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldProdOutBillList);
        //                break;
        //            case "sc_mouldprodbackbill":
        //                //
        //                Sc_MouldProdBackBill oSc_MouldProdBackBill = new Sc_MouldProdBackBill();
        //                oSc_MouldProdBackBill.ShowDialog();
        //                break;
        //            case "sc_mouldprodbackbilllist":
        //                //权限
        //                Sc_MouldProdBackBillList oSc_MouldProdBackBillList = new Sc_MouldProdBackBillList();
        //                oSc_MouldProdBackBillList.MdiParent = oMain;
        //                oSc_MouldProdBackBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldProdBackBillList);
        //                break;
        //            case "sc_mouldprodinbill":
        //                //
        //                Sc_MouldProdInBill oSc_MouldProdInBill = new Sc_MouldProdInBill();
        //                oSc_MouldProdInBill.ShowDialog();
        //                break;
        //            case "sc_mouldprodinbilllist":
        //                //权限
        //                Sc_MouldProdInBillList oSc_MouldProdInBillList = new Sc_MouldProdInBillList();
        //                oSc_MouldProdInBillList.MdiParent = oMain;
        //                oSc_MouldProdInBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldProdInBillList);
        //                break;
        //            case "sc_mouldentrustoutplanbill":
        //                //
        //                Sc_MouldEntrustOutPlanBill oSc_MouldEntrustOutPlanBill = new Sc_MouldEntrustOutPlanBill();
        //                oSc_MouldEntrustOutPlanBill.ShowDialog();
        //                break;
        //            case "sc_mouldentrustoutplanbilllist":
        //                //权限
        //                Sc_MouldEntrustOutPlanBillList oSc_MouldEntrustOutPlanBillList = new Sc_MouldEntrustOutPlanBillList();
        //                oSc_MouldEntrustOutPlanBillList.MdiParent = oMain;
        //                oSc_MouldEntrustOutPlanBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldEntrustOutPlanBillList);
        //                break;
        //            case "sc_mouldplanbill":
        //                //
        //                Sc_MouldPlanBill oSc_MouldPlanBill = new Sc_MouldPlanBill();
        //                oSc_MouldPlanBill.ShowDialog();
        //                break;
        //            case "sc_mouldplanbilllist":
        //                //权限
        //                Sc_MouldPlanBillList oSc_MouldPlanBillList = new Sc_MouldPlanBillList();
        //                oSc_MouldPlanBillList.MdiParent = oMain;
        //                oSc_MouldPlanBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldPlanBillList);
        //                break;
        //            case "sc_moulddesignplanbill":
        //                //
        //                Sc_MouldDesignPlanBill oSc_MouldDesignPlanBill = new Sc_MouldDesignPlanBill();
        //                oSc_MouldDesignPlanBill.ShowDialog();
        //                break;
        //            case "sc_moulddesignplanbilllist":
        //                //权限
        //                Sc_MouldDesignPlanBillList oSc_MouldDesignPlanBillList = new Sc_MouldDesignPlanBillList();
        //                oSc_MouldDesignPlanBillList.MdiParent = oMain;
        //                oSc_MouldDesignPlanBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldDesignPlanBillList);
        //                break;
        //            case "sc_moulddesignrequestbill":
        //                //
        //                Sc_MouldDesignRequestBill oSc_MouldDesignRequestBill = new Sc_MouldDesignRequestBill();
        //                oSc_MouldDesignRequestBill.ShowDialog();
        //                break;
        //            case "sc_moulddesignrequestbilllist":
        //                //权限
        //                Sc_MouldDesignRequestBillList oSc_MouldDesignRequestBillList = new Sc_MouldDesignRequestBillList();
        //                oSc_MouldDesignRequestBillList.MdiParent = oMain;
        //                oSc_MouldDesignRequestBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldDesignRequestBillList);
        //                break;
        //            case "sc_mouldcostmoneybill":
        //                //
        //                Sc_MouldCostMoneyBill oSc_MouldCostMoneyBill = new Sc_MouldCostMoneyBill();
        //                oSc_MouldCostMoneyBill.ShowDialog();
        //                break;
        //            case "sc_mouldcostmoneybilllist":
        //                //权限
        //                Sc_MouldCostMoneyBillList oSc_MouldCostMoneyBillList = new Sc_MouldCostMoneyBillList();
        //                oSc_MouldCostMoneyBillList.MdiParent = oMain;
        //                oSc_MouldCostMoneyBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldCostMoneyBillList);
        //                break;
                    case "sc_packunioncarryupbilllist":
                        Sc_PackUnionCarryUpBillList oSc_PackUnionCarryUpBillList = new Sc_PackUnionCarryUpBillList();
                        oSc_PackUnionCarryUpBillList.MdiParent = oMain;
                        oSc_PackUnionCarryUpBillList.ModCaption = gnmc;
                        oSc_PackUnionCarryUpBillList.Show();
                        oMainForm.AddTabPage(oSc_PackUnionCarryUpBillList);
                        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_mouldprodoutbill":
                    //                //
                    //                Sc_MouldProdOutBill oSc_MouldProdOutBill = new Sc_MouldProdOutBill();
                    //                oSc_MouldProdOutBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldprodoutbilllist":
                    //                //权限
                    //                Sc_MouldProdOutBillList oSc_MouldProdOutBillList = new Sc_MouldProdOutBillList();
                    //                oSc_MouldProdOutBillList.MdiParent = oMain;
                    //                oSc_MouldProdOutBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldProdOutBillList);
                    //                break;
                    //            case "sc_mouldprodbackbill":
                    //                //
                    //                Sc_MouldProdBackBill oSc_MouldProdBackBill = new Sc_MouldProdBackBill();
                    //                oSc_MouldProdBackBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldprodbackbilllist":
                    //                //权限
                    //                Sc_MouldProdBackBillList oSc_MouldProdBackBillList = new Sc_MouldProdBackBillList();
                    //                oSc_MouldProdBackBillList.MdiParent = oMain;
                    //                oSc_MouldProdBackBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldProdBackBillList);
                    //                break;
                    //            case "sc_mouldprodinbill":
                    //                //
                    //                Sc_MouldProdInBill oSc_MouldProdInBill = new Sc_MouldProdInBill();
                    //                oSc_MouldProdInBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldprodinbilllist":
                    //                //权限
                    //                Sc_MouldProdInBillList oSc_MouldProdInBillList = new Sc_MouldProdInBillList();
                    //                oSc_MouldProdInBillList.MdiParent = oMain;
                    //                oSc_MouldProdInBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldProdInBillList);
                    //                break;
                    //            case "sc_mouldentrustoutplanbill":
                    //                //
                    //                Sc_MouldEntrustOutPlanBill oSc_MouldEntrustOutPlanBill = new Sc_MouldEntrustOutPlanBill();
                    //                oSc_MouldEntrustOutPlanBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldentrustoutplanbilllist":
                    //                //权限
                    //                Sc_MouldEntrustOutPlanBillList oSc_MouldEntrustOutPlanBillList = new Sc_MouldEntrustOutPlanBillList();
                    //                oSc_MouldEntrustOutPlanBillList.MdiParent = oMain;
                    //                oSc_MouldEntrustOutPlanBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldEntrustOutPlanBillList);
                    //                break;
                    //            case "sc_mouldplanbill":
                    //                //
                    //                Sc_MouldPlanBill oSc_MouldPlanBill = new Sc_MouldPlanBill();
                    //                oSc_MouldPlanBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldplanbilllist":
                    //                //权限
                    //                Sc_MouldPlanBillList oSc_MouldPlanBillList = new Sc_MouldPlanBillList();
                    //                oSc_MouldPlanBillList.MdiParent = oMain;
                    //                oSc_MouldPlanBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldPlanBillList);
                    //                break;
                    //            case "sc_moulddesignplanbill":
                    //                //
                    //                Sc_MouldDesignPlanBill oSc_MouldDesignPlanBill = new Sc_MouldDesignPlanBill();
                    //                oSc_MouldDesignPlanBill.ShowDialog();
                    //                break;
                    //            case "sc_moulddesignplanbilllist":
                    //                //权限
                    //                Sc_MouldDesignPlanBillList oSc_MouldDesignPlanBillList = new Sc_MouldDesignPlanBillList();
                    //                oSc_MouldDesignPlanBillList.MdiParent = oMain;
                    //                oSc_MouldDesignPlanBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldDesignPlanBillList);
                    //                break;
                    //            case "sc_moulddesignrequestbill":
                    //                //
                    //                Sc_MouldDesignRequestBill oSc_MouldDesignRequestBill = new Sc_MouldDesignRequestBill();
                    //                oSc_MouldDesignRequestBill.ShowDialog();
                    //                break;
                    //            case "sc_moulddesignrequestbilllist":
                    //                //权限
                    //                Sc_MouldDesignRequestBillList oSc_MouldDesignRequestBillList = new Sc_MouldDesignRequestBillList();
                    //                oSc_MouldDesignRequestBillList.MdiParent = oMain;
                    //                oSc_MouldDesignRequestBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldDesignRequestBillList);
                    //                break;
                    //            case "sc_mouldcostmoneybill":
                    //                //
                    //                Sc_MouldCostMoneyBill oSc_MouldCostMoneyBill = new Sc_MouldCostMoneyBill();
                    //                oSc_MouldCostMoneyBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldcostmoneybilllist":
                    //                //权限
                    //                Sc_MouldCostMoneyBillList oSc_MouldCostMoneyBillList = new Sc_MouldCostMoneyBillList();
                    //                oSc_MouldCostMoneyBillList.MdiParent = oMain;
                    //                oSc_MouldCostMoneyBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldCostMoneyBillList);
                    //                break;
        //            case "sc_mouldreportbill":
        //                //
        //                Sc_MouldReportBill oSc_MouldReportBill = new Sc_MouldReportBill();
        //                oSc_MouldReportBill.ShowDialog();
        //                break;
        //            case "sc_mouldreportbilllist":
        //                //权限
        //                Sc_MouldReportBillList oSc_MouldReportBillList = new Sc_MouldReportBillList();
        //                oSc_MouldReportBillList.MdiParent = oMain;
        //                oSc_MouldReportBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldReportBillList);
        //                break;
        //            case "sc_mouldentrustoutbill":
        //                //
        //                Sc_MouldEntrustOutBill oSc_MouldEntrustOutBill = new Sc_MouldEntrustOutBill();
        //                oSc_MouldEntrustOutBill.ShowDialog();
        //                break;
        //            case "sc_mouldentrustoutbilllist":
        //                //权限
        //                Sc_MouldEntrustOutBillList oSc_MouldEntrustOutBillList = new Sc_MouldEntrustOutBillList();
        //                oSc_MouldEntrustOutBillList.MdiParent = oMain;
        //                oSc_MouldEntrustOutBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldEntrustOutBillList);
        //                break;
        //            case "sb_mouldrepairworkbill":
        //                //
        //                Sb_MouldRepairWorkBill oSb_MouldRepairWorkBill = new Sb_MouldRepairWorkBill();
        //                oSb_MouldRepairWorkBill.ShowDialog();
        //                break;
        //            case "sb_mouldrepairworkbilllist":
        //                //权限
        //                Sb_MouldRepairWorkBillList oSb_MouldRepairWorkBillList = new Sb_MouldRepairWorkBillList();
        //                oSb_MouldRepairWorkBillList.MdiParent = oMain;
        //                oSb_MouldRepairWorkBillList.Show();
        //                oMainForm.AddTabPage(oSb_MouldRepairWorkBillList);
        //                break;
        //            case "sc_brfhkb":
        //                Sc_BRFHKB oSc_BRFHKB = new Sc_BRFHKB();
        //                oSc_BRFHKB.ShowDialog();
        //                break;
                    //            case "sc_mouldreportbill":
                    //                //
                    //                Sc_MouldReportBill oSc_MouldReportBill = new Sc_MouldReportBill();
                    //                oSc_MouldReportBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldreportbilllist":
                    //                //权限
                    //                Sc_MouldReportBillList oSc_MouldReportBillList = new Sc_MouldReportBillList();
                    //                oSc_MouldReportBillList.MdiParent = oMain;
                    //                oSc_MouldReportBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldReportBillList);
                    //                break;
                    //            case "sc_mouldentrustoutbill":
                    //                //
                    //                Sc_MouldEntrustOutBill oSc_MouldEntrustOutBill = new Sc_MouldEntrustOutBill();
                    //                oSc_MouldEntrustOutBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldentrustoutbilllist":
                    //                //权限
                    //                Sc_MouldEntrustOutBillList oSc_MouldEntrustOutBillList = new Sc_MouldEntrustOutBillList();
                    //                oSc_MouldEntrustOutBillList.MdiParent = oMain;
                    //                oSc_MouldEntrustOutBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldEntrustOutBillList);
                    //                break;
                    //            case "sb_mouldrepairworkbill":
                    //                //
                    //                Sb_MouldRepairWorkBill oSb_MouldRepairWorkBill = new Sb_MouldRepairWorkBill();
                    //                oSb_MouldRepairWorkBill.ShowDialog();
                    //                break;
                    //            case "sb_mouldrepairworkbilllist":
                    //                //权限
                    //                Sb_MouldRepairWorkBillList oSb_MouldRepairWorkBillList = new Sb_MouldRepairWorkBillList();
                    //                oSb_MouldRepairWorkBillList.MdiParent = oMain;
                    //                oSb_MouldRepairWorkBillList.Show();
                    //                oMainForm.AddTabPage(oSb_MouldRepairWorkBillList);
                    //                break;
                    //            case "sc_brfhkb":
                    //                Sc_BRFHKB oSc_BRFHKB = new Sc_BRFHKB();
                    //                oSc_BRFHKB.ShowDialog();
                    //                break;
        //            case "sc_brslkb":
        //                Sc_BRSLKB oSc_BRSLKB = new Sc_BRSLKB();
        //                oSc_BRSLKB.ShowDialog();
        //                break;
        //            case "sc_bjqlfxb":
        //                Sc_BJQLFXB oSc_BJQLFXB = new Sc_BJQLFXB();
        //                oSc_BJQLFXB.ShowDialog();
        //                break;
        //            case "sc_hzqlcgkb":
        //                Sc_HZQLCGKB oSc_HZQLCGKB = new Sc_HZQLCGKB();
        //                oSc_HZQLCGKB.ShowDialog();
        //                break;
                    //            case "sc_brslkb":
                    //                Sc_BRSLKB oSc_BRSLKB = new Sc_BRSLKB();
                    //                oSc_BRSLKB.ShowDialog();
                    //                break;
                    //            case "sc_bjqlfxb":
                    //                Sc_BJQLFXB oSc_BJQLFXB = new Sc_BJQLFXB();
                    //                oSc_BJQLFXB.ShowDialog();
                    //                break;
                    //            case "sc_hzqlcgkb":
                    //                Sc_HZQLCGKB oSc_HZQLCGKB = new Sc_HZQLCGKB();
                    //                oSc_HZQLCGKB.ShowDialog();
                    //                break;
        //            case "sc_processplanchangelist":
        //                //权限
        //                Sc_ProcessPlanChangeList oSc_ProcessPlanChangeList = new Sc_ProcessPlanChangeList();
        //                oSc_ProcessPlanChangeList.MdiParent = oMain;
        //                oSc_ProcessPlanChangeList.Show();
        //                oMainForm.AddTabPage(oSc_ProcessPlanChangeList);
        //                break;
        //            case "sc_processplanchangesec":
        //                //
        //                Sc_ProcessPlanChangeSec oSc_ProcessPlanChangeSec = new Sc_ProcessPlanChangeSec();
        //                oSc_ProcessPlanChangeSec.ShowDialog();
        //                break;
        //            case "sc_processplan":
        //                Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan();
        //                oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessPlan.ModCaption = gnmc;
        //                oSc_ProcessPlan.ShowDialog();
        //                break;
        //            case "sc_processplanlist":
        //                Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList();
        //                oSc_ProcessPlanList.MdiParent = oMain;
        //                oSc_ProcessPlanList.ModCaption = gnmc;
        //                oSc_ProcessPlanList.Show();
        //                oMainForm.AddTabPage(oSc_ProcessPlanList);
        //                break;
        //            case "sc_processreport":
        //                Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
        //                oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessReport.ModCaption = gnmc;
        //                oSc_ProcessReport.ShowDialog();
        //                break;
        //            case "sc_processreportlist":
        //                Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList();
        //                oSc_ProcessReportList.MdiParent = oMain;
        //                oSc_ProcessReportList.ModCaption = gnmc;
        //                oSc_ProcessReportList.Show();
        //                oMainForm.AddTabPage(oSc_ProcessReportList);
        //                break;
        //            case "sc_assemblybilllist":
        //                //权限
        //                Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList();
        //                oSc_AssemblyBillList.MdiParent = oMain;
        //                oSc_AssemblyBillList.Show();
        //                oMainForm.AddTabPage(oSc_AssemblyBillList);
        //                break;
        //            case "sc_assemblybill":
        //                //
        //                Sc_AssemblyBill oSc_AssemblyBill = new Sc_AssemblyBill();
        //                oSc_AssemblyBill.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_AssemblyBill.ShowDialog();
        //                break;
        //            case "sc_processbackplan":
        //                Sc_ProcessBackPlan oSc_ProcessBackPlan = new Sc_ProcessBackPlan();
        //                oSc_ProcessBackPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessBackPlan.ShowDialog();
        //                break;
        //            case "sc_processbackplanlist":
        //                Sc_ProcessBackPlanList oSc_ProcessBackPlanList = new Sc_ProcessBackPlanList();
        //                oSc_ProcessBackPlanList.MdiParent = oMain;
        //                oSc_ProcessBackPlanList.Show();
        //                oMainForm.AddTabPage(oSc_ProcessBackPlanList);
        //                break;
        //            //======================报表
        //            case "sc_monthsource":
        //                //权限
        //                Sc_MonthSource oSc_MonthSource = new Sc_MonthSource();
        //                oSc_MonthSource.MdiParent = oMain;
        //                oSc_MonthSource.Show();
        //                oMainForm.AddTabPage(oSc_MonthSource);
        //                break;
        //            case "sc_workprocreport":
        //                //Sc_WorkProcReport oSc_WorkProcReport = new Sc_WorkProcReport();
        //                //oSc_WorkProcReport.MdiParent = oMain;
        //                //oSc_WorkProcReport.ModCaption = gnmc;
        //                //oSc_WorkProcReport.Show();
        //                break;
        //            case "sc_workbillreport":
        //                //Sc_WorkBillReport oSc_WorkBillReport = new Sc_WorkBillReport();
        //                //oSc_WorkBillReport.MdiParent = oMain;
        //                //oSc_WorkBillReport.ModCaption = gnmc;
        //                //oSc_WorkBillReport.Show();
        //                break;
        //            case "sc_procprogressreport":
        //                Sc_ProcProgressReport oSc_ProcProgressReport = new Sc_ProcProgressReport();
        //                oSc_ProcProgressReport.MdiParent = oMain;
        //                oSc_ProcProgressReport.ModCaption = gnmc;
        //                oSc_ProcProgressReport.Show();
        //                oMainForm.AddTabPage(oSc_ProcProgressReport);
        //                break;
                    //            case "sc_processplanchangelist":
                    //                //权限
                    //                Sc_ProcessPlanChangeList oSc_ProcessPlanChangeList = new Sc_ProcessPlanChangeList();
                    //                oSc_ProcessPlanChangeList.MdiParent = oMain;
                    //                oSc_ProcessPlanChangeList.Show();
                    //                oMainForm.AddTabPage(oSc_ProcessPlanChangeList);
                    //                break;
                    //            case "sc_processplanchangesec":
                    //                //
                    //                Sc_ProcessPlanChangeSec oSc_ProcessPlanChangeSec = new Sc_ProcessPlanChangeSec();
                    //                oSc_ProcessPlanChangeSec.ShowDialog();
                    //                break;
                    //            case "sc_processplan":
                    //                Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan();
                    //                oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_ProcessPlan.ModCaption = gnmc;
                    //                oSc_ProcessPlan.ShowDialog();
                    //                break;
                    //            case "sc_processplanlist":
                    //                Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList();
                    //                oSc_ProcessPlanList.MdiParent = oMain;
                    //                oSc_ProcessPlanList.ModCaption = gnmc;
                    //                oSc_ProcessPlanList.Show();
                    //                oMainForm.AddTabPage(oSc_ProcessPlanList);
                    //                break;
                    //            case "sc_processreport":
                    //                Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
                    //                oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_ProcessReport.ModCaption = gnmc;
                    //                oSc_ProcessReport.ShowDialog();
                    //                break;
                    //            case "sc_processreportlist":
                    //                Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList();
                    //                oSc_ProcessReportList.MdiParent = oMain;
                    //                oSc_ProcessReportList.ModCaption = gnmc;
                    //                oSc_ProcessReportList.Show();
                    //                oMainForm.AddTabPage(oSc_ProcessReportList);
                    //                break;
                    //            case "sc_assemblybilllist":
                    //                //权限
                    //                Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList();
                    //                oSc_AssemblyBillList.MdiParent = oMain;
                    //                oSc_AssemblyBillList.Show();
                    //                oMainForm.AddTabPage(oSc_AssemblyBillList);
                    //                break;
                    //            case "sc_assemblybill":
                    //                //
                    //                Sc_AssemblyBill oSc_AssemblyBill = new Sc_AssemblyBill();
                    //                oSc_AssemblyBill.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_AssemblyBill.ShowDialog();
                    //                break;
                    //            case "sc_processbackplan":
                    //                Sc_ProcessBackPlan oSc_ProcessBackPlan = new Sc_ProcessBackPlan();
                    //                oSc_ProcessBackPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_ProcessBackPlan.ShowDialog();
                    //                break;
                    //            case "sc_processbackplanlist":
                    //                Sc_ProcessBackPlanList oSc_ProcessBackPlanList = new Sc_ProcessBackPlanList();
                    //                oSc_ProcessBackPlanList.MdiParent = oMain;
                    //                oSc_ProcessBackPlanList.Show();
                    //                oMainForm.AddTabPage(oSc_ProcessBackPlanList);
                    //                break;
                    //            //======================报表
                    //            case "sc_monthsource":
                    //                //权限
                    //                Sc_MonthSource oSc_MonthSource = new Sc_MonthSource();
                    //                oSc_MonthSource.MdiParent = oMain;
                    //                oSc_MonthSource.Show();
                    //                oMainForm.AddTabPage(oSc_MonthSource);
                    //                break;
                    //            case "sc_workprocreport":
                    //                //Sc_WorkProcReport oSc_WorkProcReport = new Sc_WorkProcReport();
                    //                //oSc_WorkProcReport.MdiParent = oMain;
                    //                //oSc_WorkProcReport.ModCaption = gnmc;
                    //                //oSc_WorkProcReport.Show();
                    //                break;
                    //            case "sc_workbillreport":
                    //                //Sc_WorkBillReport oSc_WorkBillReport = new Sc_WorkBillReport();
                    //                //oSc_WorkBillReport.MdiParent = oMain;
                    //                //oSc_WorkBillReport.ModCaption = gnmc;
                    //                //oSc_WorkBillReport.Show();
                    //                break;
                    //            case "sc_procprogressreport":
                    //                Sc_ProcProgressReport oSc_ProcProgressReport = new Sc_ProcProgressReport();
                    //                oSc_ProcProgressReport.MdiParent = oMain;
                    //                oSc_ProcProgressReport.ModCaption = gnmc;
                    //                oSc_ProcProgressReport.Show();
                    //                oMainForm.AddTabPage(oSc_ProcProgressReport);
                    //                break;
                    default:
                        break;
@@ -3552,6 +3566,37 @@
                        oGy_BarCodeBill_CusList.Show();
                        oMainForm.AddTabPage(oGy_BarCodeBill_CusList);
                        break;
                    case "gy_barcodebill_tesila":
                        Gy_BarCodeBill_TeSiLa oGy_BarCodeBill_TeSiLa = new Gy_BarCodeBill_TeSiLa();
                        oGy_BarCodeBill_TeSiLa.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oGy_BarCodeBill_TeSiLa.ModCaption = gnmc;
                        oGy_BarCodeBill_TeSiLa.ShowDialog();
                        break;
                    case "gy_barcodebill_ft":
                        Gy_BarCodeBill_FT oGy_BarCodeBill_FT = new Gy_BarCodeBill_FT();
                        oGy_BarCodeBill_FT.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oGy_BarCodeBill_FT.ModCaption = gnmc;
                        oGy_BarCodeBill_FT.ShowDialog();
                        break;
                    case "gy_barcodebill_changcheng":
                        Gy_BarCodeBill_ChangCheng oGy_BarCodeBill_ChangCheng = new Gy_BarCodeBill_ChangCheng();
                        oGy_BarCodeBill_ChangCheng.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oGy_BarCodeBill_ChangCheng.ModCaption = gnmc;
                        oGy_BarCodeBill_ChangCheng.ShowDialog();
                        break;
                    case "gy_barcodebill_changchenglist":
                        Gy_BarCodeBill_ChangChengList oGy_BarCodeBill_ChangChengList = new Gy_BarCodeBill_ChangChengList();
                        oGy_BarCodeBill_ChangChengList.MdiParent = oMain;
                        oGy_BarCodeBill_ChangChengList.ModCaption = gnmc;
                        oGy_BarCodeBill_ChangChengList.Show();
                        oMainForm.AddTabPage(oGy_BarCodeBill_ChangChengList);
                        break;
                    case "gy_packbarcodebill":
                        Gy_PackBarCodeBill oGy_PackBarCodeBill = new Gy_PackBarCodeBill();
                        oGy_PackBarCodeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oGy_PackBarCodeBill.ModCaption = gnmc;
                        oGy_PackBarCodeBill.ShowDialog();
                        break;
                    case "kf_icinventory_barcode":
                        //权限
                        Kf_ICInventory_BarCode oKf_ICInventory_BarCode = new Kf_ICInventory_BarCode();
@@ -3593,6 +3638,13 @@
                        oKf_MaterOutInReport.MdiParent = oMain;
                        oKf_MaterOutInReport.Show();
                        oMainForm.AddTabPage(oKf_MaterOutInReport);
                        break;
                    case "kf_barcodelogreport":
                        //权限
                        Kf_BarCodeLogReport oKf_BarCodeLogReport = new Kf_BarCodeLogReport();
                        oKf_BarCodeLogReport.MdiParent = oMain;
                        oKf_BarCodeLogReport.Show();
                        oMainForm.AddTabPage(oKf_BarCodeLogReport);
                        break;
                    //            //==================================金蝶
                    //            case "kf_stjginbill_k3":
@@ -7262,6 +7314,12 @@
                        oGy_Material.Show();
                        oMainForm.AddTabPage(oGy_Material);
                        break;
                    case "gy_material_changcheng":
                        Gy_Material_ChangCheng oGy_Material_ChangCheng = new Gy_Material_ChangCheng();
                        oGy_Material_ChangCheng.MdiParent = oMain;
                        oGy_Material_ChangCheng.Show();
                        oMainForm.AddTabPage(oGy_Material_ChangCheng);
                        break;
                    case "gy_supplier":
                        Gy_Supplier oGy_Supplier = new Gy_Supplier();
                        oGy_Supplier.MdiParent = oMain;