yxj
2026-01-09 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;
@@ -3539,6 +3553,50 @@
                        oGy_BarCodeBillList.Show();
                        oMainForm.AddTabPage(oGy_BarCodeBillList);
                        break;
                    case "gy_barcodebill_cus":
                        Gy_BarCodeBill_Cus oGy_BarCodeBill_Cus = new Gy_BarCodeBill_Cus();
                        oGy_BarCodeBill_Cus.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                        oGy_BarCodeBill_Cus.ModCaption = gnmc;
                        oGy_BarCodeBill_Cus.ShowDialog();
                        break;
                    case "gy_barcodebill_cuslist":
                        Gy_BarCodeBill_CusList oGy_BarCodeBill_CusList = new Gy_BarCodeBill_CusList();
                        oGy_BarCodeBill_CusList.MdiParent = oMain;
                        oGy_BarCodeBill_CusList.ModCaption = gnmc;
                        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();
@@ -3567,444 +3625,465 @@
                        oKf_SellOutReturnedReport.Show();
                        oMainForm.AddTabPage(oKf_SellOutReturnedReport);
                        break;
        //            //==================================金蝶
        //            case "kf_stjginbill_k3":
        //                //
        //                Kf_STJGInBill_K3 oKf_STJGInBill_K3 = new Kf_STJGInBill_K3();
        //                oKf_STJGInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_STJGInBill_K3.ShowDialog();
        //                break;
        //            case "kf_stjginbilllist_k3":
        //                //权限
        //                Kf_STJGInBillList_K3 oKf_STJGInBillList_K3 = new Kf_STJGInBillList_K3();
        //                oKf_STJGInBillList_K3.MdiParent = oMain;
        //                oKf_STJGInBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_STJGInBillList_K3);
        //                break;
        //            case "kf_stjginbillquery_k3":
        //                //权限
        //                Kf_STJGInBillQuery_K3 oKf_STJGInBillQuery_K3 = new Kf_STJGInBillQuery_K3();
        //                oKf_STJGInBillQuery_K3.MdiParent = oMain;
        //                oKf_STJGInBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_STJGInBillQuery_K3);
        //                break;
        //            case "kf_stjgoutbill_k3":
        //                //
        //                Kf_STJGOutBill_K3 oKf_STJGOutBill_K3 = new Kf_STJGOutBill_K3();
        //                oKf_STJGOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_STJGOutBill_K3.ShowDialog();
        //                break;
        //            case "kf_stjgoutbilllist_k3":
        //                //权限
        //                Kf_STJGOutBillList_K3 oKf_STJGOutBillList_K3 = new Kf_STJGOutBillList_K3();
        //                oKf_STJGOutBillList_K3.MdiParent = oMain;
        //                oKf_STJGOutBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_STJGOutBillList_K3);
        //                break;
        //            case "kf_stjgoutbillquery_k3":
        //                //权限
        //                Kf_STJGOutBillQuery_K3 oKf_STJGOutBillQuery_K3 = new Kf_STJGOutBillQuery_K3();
        //                oKf_STJGOutBillQuery_K3.MdiParent = oMain;
        //                oKf_STJGOutBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_STJGOutBillQuery_K3);
        //                break;
        //            case "kf_virtualstockoutbill_k3":
        //                //
        //                Kf_VirtualStockOutBill_K3 oKf_VirtualStockOutBill_K3 = new Kf_VirtualStockOutBill_K3();
        //                oKf_VirtualStockOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_VirtualStockOutBill_K3.ShowDialog();
        //                break;
        //            case "kf_virtualstockoutbilllist_k3":
        //                //权限
        //                Kf_VirtualStockOutBillList_K3 oKf_VirtualStockOutBillList_K3 = new Kf_VirtualStockOutBillList_K3();
        //                oKf_VirtualStockOutBillList_K3.MdiParent = oMain;
        //                oKf_VirtualStockOutBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockOutBillList_K3);
        //                break;
        //            case "kf_virtualstockoutbillquery_k3":
        //                //权限
        //                Kf_VirtualStockOutBillQuery_K3 oKf_VirtualStockOutBillQuery_K3 = new Kf_VirtualStockOutBillQuery_K3();
        //                oKf_VirtualStockOutBillQuery_K3.MdiParent = oMain;
        //                oKf_VirtualStockOutBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockOutBillQuery_K3);
        //                break;
                    case "kf_icinventory_mater":
                        //权限
                        Kf_ICInventory_Mater oKf_ICInventory_Mater = new Kf_ICInventory_Mater();
                        oKf_ICInventory_Mater.MdiParent = oMain;
                        oKf_ICInventory_Mater.Show();
                        oMainForm.AddTabPage(oKf_ICInventory_Mater);
                        break;
                    case "kf_materoutinreport":
                        //权限
                        Kf_MaterOutInReport oKf_MaterOutInReport = new Kf_MaterOutInReport();
                        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":
                    //                //
                    //                Kf_STJGInBill_K3 oKf_STJGInBill_K3 = new Kf_STJGInBill_K3();
                    //                oKf_STJGInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_STJGInBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_stjginbilllist_k3":
                    //                //权限
                    //                Kf_STJGInBillList_K3 oKf_STJGInBillList_K3 = new Kf_STJGInBillList_K3();
                    //                oKf_STJGInBillList_K3.MdiParent = oMain;
                    //                oKf_STJGInBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_STJGInBillList_K3);
                    //                break;
                    //            case "kf_stjginbillquery_k3":
                    //                //权限
                    //                Kf_STJGInBillQuery_K3 oKf_STJGInBillQuery_K3 = new Kf_STJGInBillQuery_K3();
                    //                oKf_STJGInBillQuery_K3.MdiParent = oMain;
                    //                oKf_STJGInBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_STJGInBillQuery_K3);
                    //                break;
                    //            case "kf_stjgoutbill_k3":
                    //                //
                    //                Kf_STJGOutBill_K3 oKf_STJGOutBill_K3 = new Kf_STJGOutBill_K3();
                    //                oKf_STJGOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_STJGOutBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_stjgoutbilllist_k3":
                    //                //权限
                    //                Kf_STJGOutBillList_K3 oKf_STJGOutBillList_K3 = new Kf_STJGOutBillList_K3();
                    //                oKf_STJGOutBillList_K3.MdiParent = oMain;
                    //                oKf_STJGOutBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_STJGOutBillList_K3);
                    //                break;
                    //            case "kf_stjgoutbillquery_k3":
                    //                //权限
                    //                Kf_STJGOutBillQuery_K3 oKf_STJGOutBillQuery_K3 = new Kf_STJGOutBillQuery_K3();
                    //                oKf_STJGOutBillQuery_K3.MdiParent = oMain;
                    //                oKf_STJGOutBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_STJGOutBillQuery_K3);
                    //                break;
                    //            case "kf_virtualstockoutbill_k3":
                    //                //
                    //                Kf_VirtualStockOutBill_K3 oKf_VirtualStockOutBill_K3 = new Kf_VirtualStockOutBill_K3();
                    //                oKf_VirtualStockOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_VirtualStockOutBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_virtualstockoutbilllist_k3":
                    //                //权限
                    //                Kf_VirtualStockOutBillList_K3 oKf_VirtualStockOutBillList_K3 = new Kf_VirtualStockOutBillList_K3();
                    //                oKf_VirtualStockOutBillList_K3.MdiParent = oMain;
                    //                oKf_VirtualStockOutBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockOutBillList_K3);
                    //                break;
                    //            case "kf_virtualstockoutbillquery_k3":
                    //                //权限
                    //                Kf_VirtualStockOutBillQuery_K3 oKf_VirtualStockOutBillQuery_K3 = new Kf_VirtualStockOutBillQuery_K3();
                    //                oKf_VirtualStockOutBillQuery_K3.MdiParent = oMain;
                    //                oKf_VirtualStockOutBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockOutBillQuery_K3);
                    //                break;
        //            case "kf_virtualstockinbill_k3":
        //                //
        //                Kf_VirtualStockInBill_K3 oKf_VirtualStockInBill_K3 = new Kf_VirtualStockInBill_K3();
        //                oKf_VirtualStockInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_VirtualStockInBill_K3.ShowDialog();
        //                break;
        //            case "kf_virtualstockinbilllist_k3":
        //                //权限
        //                Kf_VirtualStockInBillList_K3 oKf_VirtualStockInBillList_K3 = new Kf_VirtualStockInBillList_K3();
        //                oKf_VirtualStockInBillList_K3.MdiParent = oMain;
        //                oKf_VirtualStockInBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockInBillList_K3);
        //                break;
        //            case "kf_virtualstockinbillquery_k3":
        //                //权限
        //                Kf_VirtualStockInBillQuery_K3 oKf_VirtualStockInBillQuery_K3 = new Kf_VirtualStockInBillQuery_K3();
        //                oKf_VirtualStockInBillQuery_K3.MdiParent = oMain;
        //                oKf_VirtualStockInBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockInBillQuery_K3);
        //                break;
                    //            case "kf_virtualstockinbill_k3":
                    //                //
                    //                Kf_VirtualStockInBill_K3 oKf_VirtualStockInBill_K3 = new Kf_VirtualStockInBill_K3();
                    //                oKf_VirtualStockInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_VirtualStockInBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_virtualstockinbilllist_k3":
                    //                //权限
                    //                Kf_VirtualStockInBillList_K3 oKf_VirtualStockInBillList_K3 = new Kf_VirtualStockInBillList_K3();
                    //                oKf_VirtualStockInBillList_K3.MdiParent = oMain;
                    //                oKf_VirtualStockInBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockInBillList_K3);
                    //                break;
                    //            case "kf_virtualstockinbillquery_k3":
                    //                //权限
                    //                Kf_VirtualStockInBillQuery_K3 oKf_VirtualStockInBillQuery_K3 = new Kf_VirtualStockInBillQuery_K3();
                    //                oKf_VirtualStockInBillQuery_K3.MdiParent = oMain;
                    //                oKf_VirtualStockInBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockInBillQuery_K3);
                    //                break;
        //            case "kf_virtualstockmovebill_k3":
        //                //
        //                Kf_VirtualStockMoveBill_K3 oKf_VirtualStockMoveBill_K3 = new Kf_VirtualStockMoveBill_K3();
        //                oKf_VirtualStockMoveBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_VirtualStockMoveBill_K3.ShowDialog();
        //                break;
        //            case "kf_virtualstockmovebilllist_k3":
        //                //权限
        //                Kf_VirtualStockMoveBillList_K3 oKf_VirtualStockMoveBillList_K3 = new Kf_VirtualStockMoveBillList_K3();
        //                oKf_VirtualStockMoveBillList_K3.MdiParent = oMain;
        //                oKf_VirtualStockMoveBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillList_K3);
        //                break;
        //            case "kf_virtualstockmovebillquery_k3":
        //                //权限
        //                Kf_VirtualStockMoveBillQuery_K3 oKf_VirtualStockMoveBillQuery_K3 = new Kf_VirtualStockMoveBillQuery_K3();
        //                oKf_VirtualStockMoveBillQuery_K3.MdiParent = oMain;
        //                oKf_VirtualStockMoveBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillQuery_K3);
        //                break;
        //            case "ic_mateoutrequestbilllist":
        //                //权限
        //                IC_MateOutRequestBillList oIC_MateOutRequestBillList = new IC_MateOutRequestBillList();
        //                oIC_MateOutRequestBillList.MdiParent = oMain;
        //                oIC_MateOutRequestBillList.Show();
        //                oMainForm.AddTabPage(oIC_MateOutRequestBillList);
        //                break;
        //            case "ic_mateoutrequestbillrlist":
        //                //权限
        //                IC_MateOutRequestBillRList oIC_MateOutRequestBillRList = new IC_MateOutRequestBillRList();
        //                oIC_MateOutRequestBillRList.MdiParent = oMain;
        //                oIC_MateOutRequestBillRList.Show();
        //                oMainForm.AddTabPage(oIC_MateOutRequestBillRList);
        //                break;
        //            case "kf_movestockbill_k3":
        //                //
        //                Kf_MoveStockBill_K3 oKf_MoveStockBill_K3 = new Kf_MoveStockBill_K3();
        //                oKf_MoveStockBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_MoveStockBill_K3.ShowDialog();
        //                break;
        //            case "kf_movestockbilllist_k3":
        //                //权限
        //                Kf_MoveStockBillList_K3 oKf_MoveStockBillList_K3 = new Kf_MoveStockBillList_K3();
        //                oKf_MoveStockBillList_K3.MdiParent = oMain;
        //                oKf_MoveStockBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_MoveStockBillList_K3);
        //                break;
        //            case "kf_productinbill_k3":
        //                //
        //                Kf_ProductInBill_K3 oKf_ProductInBill_K3 = new Kf_ProductInBill_K3();
        //                oKf_ProductInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_ProductInBill_K3.ShowDialog();
        //                break;
        //            case "kf_productinbilllist_k3":
        //                //权限
        //                Kf_ProductInBillList_K3 oKf_ProductInBillList_K3 = new Kf_ProductInBillList_K3();
        //                oKf_ProductInBillList_K3.MdiParent = oMain;
        //                oKf_ProductInBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_ProductInBillList_K3);
        //                break;
        //            case "kf_otheroutbill_k3":
        //                //
        //                Kf_OtherOutBill_K3 oKf_OtherOutBill_K3 = new Kf_OtherOutBill_K3();
        //                oKf_OtherOutBill_K3.ShowDialog();
        //                break;
        //            case "kf_otheroutbilllist_k3":
        //                //权限
        //                Kf_OtherOutBillList_K3 oKf_OtherOutBillList_K3 = new Kf_OtherOutBillList_K3();
        //                oKf_OtherOutBillList_K3.MdiParent = oMain;
        //                oKf_OtherOutBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_OtherOutBillList_K3);
        //                break;
        //            case "kf_otherinbill_k3":
        //                //
        //                Kf_OtherInBill_K3 oKf_OtherInBill_K3 = new Kf_OtherInBill_K3();
        //                oKf_OtherInBill_K3.ShowDialog();
        //                break;
        //            case "kf_otherinbilllist_k3":
        //                //权限
        //                Kf_OtherInBillList_K3 oKf_OtherInBillList_K3 = new Kf_OtherInBillList_K3();
        //                oKf_OtherInBillList_K3.MdiParent = oMain;
        //                oKf_OtherInBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_OtherInBillList_K3);
        //                break;
        //            case "kf_mateoutbill_k3":
        //                //
        //                Kf_MateOutBill_K3 oKf_MateOutBill_K3 = new Kf_MateOutBill_K3();
        //                oKf_MateOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_MateOutBill_K3.ShowDialog();
        //                break;
        //            case "kf_mateoutbilllist_k3":
        //                //权限
        //                Kf_MateOutBillList_K3 oKf_MateOutBillList_K3 = new Kf_MateOutBillList_K3();
        //                oKf_MateOutBillList_K3.MdiParent = oMain;
        //                oKf_MateOutBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_MateOutBillList_K3);
        //                break;
        //            case "kf_selloutbill_k3":
        //                //
        //                Kf_SellOutBill_K3 oKf_SellOutBill_K3 = new Kf_SellOutBill_K3();
        //                oKf_SellOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_SellOutBill_K3.ShowDialog();
        //                break;
        //            case "kf_selloutbilllist_k3":
        //                //权限
        //                Kf_SellOutBillList_K3 oKf_SellOutBillList_K3 = new Kf_SellOutBillList_K3();
        //                oKf_SellOutBillList_K3.MdiParent = oMain;
        //                oKf_SellOutBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_SellOutBillList_K3);
        //                break;
        //            case "kf_postockinbill_k3":
        //                //
        //                Kf_POStockInBill_K3 oKf_POStockInBill_K3 = new Kf_POStockInBill_K3();
        //                oKf_POStockInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_POStockInBill_K3.ShowDialog();
        //                break;
        //            case "kf_postockinbillquery_k3":
        //                //权限
        //                Kf_POStockInBillQuery_K3 oKf_POStockInBillQuery_K3 = new Kf_POStockInBillQuery_K3();
        //                oKf_POStockInBillQuery_K3.MdiParent = oMain;
        //                oKf_POStockInBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_POStockInBillQuery_K3);
        //                break;
        //            case "kf_productinbillquery_k3":
        //                //权限
        //                Kf_ProductInBillQuery_K3 oKf_ProductInBillQuery_K3 = new Kf_ProductInBillQuery_K3();
        //                oKf_ProductInBillQuery_K3.MdiParent = oMain;
        //                oKf_ProductInBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_ProductInBillQuery_K3);
        //                break;
        //            case "kf_otherinbillquery_k3":
        //                //权限
        //                Kf_OtherInBillQuery_K3 oKf_OtherInBillQuery_K3 = new Kf_OtherInBillQuery_K3();
        //                oKf_OtherInBillQuery_K3.MdiParent = oMain;
        //                oKf_OtherInBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_OtherInBillQuery_K3);
        //                break;
        //            case "kf_movestockbillquery_k3":
        //                //权限
        //                Kf_MoveStockBillQuery_K3 oKf_MoveStockBillQuery_K3 = new Kf_MoveStockBillQuery_K3();
        //                oKf_MoveStockBillQuery_K3.MdiParent = oMain;
        //                oKf_MoveStockBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_MoveStockBillQuery_K3);
        //                break;
        //            case "kf_otheroutbillquery_k3":
        //                //权限
        //                Kf_OtherOutBillQuery_K3 oKf_OtherOutBillQuery_K3 = new Kf_OtherOutBillQuery_K3();
        //                oKf_OtherOutBillQuery_K3.MdiParent = oMain;
        //                oKf_OtherOutBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_OtherOutBillQuery_K3);
        //                break;
        //            case "kf_mateoutbillquery_k3":
        //                //权限
        //                Kf_MateOutBillQuery_K3 oKf_MateOutBillQuery_K3 = new Kf_MateOutBillQuery_K3();
        //                oKf_MateOutBillQuery_K3.MdiParent = oMain;
        //                oKf_MateOutBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_MateOutBillQuery_K3);
        //                break;
        //            case "kf_selloutbillquery_k3":
        //                //权限
        //                Kf_SellOutBillQuery_K3 oKf_SellOutBillQuery_K3 = new Kf_SellOutBillQuery_K3();
        //                oKf_SellOutBillQuery_K3.MdiParent = oMain;
        //                oKf_SellOutBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_SellOutBillQuery_K3);
        //                break;
        //            case "kf_entrustinbill_k3":
        //                //
        //                Kf_EntrustInBill_K3 oKf_EntrustInBill_K3 = new Kf_EntrustInBill_K3();
        //                oKf_EntrustInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_EntrustInBill_K3.ShowDialog();
        //                break;
        //            case "kf_entrustinbilllist_k3":
        //                //权限
        //                Kf_EntrustInBillList_K3 oKf_EntrustInBillList_K3 = new Kf_EntrustInBillList_K3();
        //                oKf_EntrustInBillList_K3.MdiParent = oMain;
        //                oKf_EntrustInBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_EntrustInBillList_K3);
        //                break;
        //            case "kf_entrustinbillquery_k3":
        //                //权限
        //                Kf_EntrustInBillQuery_K3 oKf_EntrustInBillQuery_K3 = new Kf_EntrustInBillQuery_K3();
        //                oKf_EntrustInBillQuery_K3.MdiParent = oMain;
        //                oKf_EntrustInBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_EntrustInBillQuery_K3);
        //                break;
        //            case "kf_entrustoutbill_k3":
        //                //
        //                Kf_EntrustOutBill_K3 oKf_EntrustOutBill_K3 = new Kf_EntrustOutBill_K3();
        //                oKf_EntrustOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oKf_EntrustOutBill_K3.ShowDialog();
        //                break;
        //            case "kf_entrustoutbilllist_k3":
        //                //权限
        //                Kf_EntrustOutBillList_K3 oKf_EntrustOutBillList_K3 = new Kf_EntrustOutBillList_K3();
        //                oKf_EntrustOutBillList_K3.MdiParent = oMain;
        //                oKf_EntrustOutBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_EntrustOutBillList_K3);
        //                break;
        //            case "kf_entrustoutbillquery_k3":
        //                //权限
        //                Kf_EntrustOutBillQuery_K3 oKf_EntrustOutBillQuery_K3 = new Kf_EntrustOutBillQuery_K3();
        //                oKf_EntrustOutBillQuery_K3.MdiParent = oMain;
        //                oKf_EntrustOutBillQuery_K3.Show();
        //                oMainForm.AddTabPage(oKf_EntrustOutBillQuery_K3);
        //                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 "kf_postockinbilllist_k3":
        //                //权限
        //                Kf_POStockInBillList_K3 oKf_POStockInBillList_K3 = new Kf_POStockInBillList_K3();
        //                oKf_POStockInBillList_K3.MdiParent = oMain;
        //                oKf_POStockInBillList_K3.Show();
        //                oMainForm.AddTabPage(oKf_POStockInBillList_K3);
        //                break;
        //             //========================
        //            case "k3_icmolist":
        //                //
        //                K3_ICMOList oK3_ICMOList = new K3_ICMOList();
        //                oK3_ICMOList.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oK3_ICMOList.ShowDialog();
        //                break;
        //            case "k3_poinstocklist":
        //                //
        //                K3_PoinStockList oK3_PoinStockList = new K3_PoinStockList();
        //                oK3_PoinStockList.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oK3_PoinStockList.ShowDialog();
        //                break;
        //            case "gy_barcodebilllist":
        //                //权限
        //                Gy_BarCodeBillList oGy_BarCodeBillList = new Gy_BarCodeBillList();
        //                oGy_BarCodeBillList.MdiParent = oMain;
        //                oGy_BarCodeBillList.Show();
        //                oMainForm.AddTabPage(oGy_BarCodeBillList);
        //                break;
        //            //==========================================================
                    //            case "kf_virtualstockmovebill_k3":
                    //                //
                    //                Kf_VirtualStockMoveBill_K3 oKf_VirtualStockMoveBill_K3 = new Kf_VirtualStockMoveBill_K3();
                    //                oKf_VirtualStockMoveBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_VirtualStockMoveBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_virtualstockmovebilllist_k3":
                    //                //权限
                    //                Kf_VirtualStockMoveBillList_K3 oKf_VirtualStockMoveBillList_K3 = new Kf_VirtualStockMoveBillList_K3();
                    //                oKf_VirtualStockMoveBillList_K3.MdiParent = oMain;
                    //                oKf_VirtualStockMoveBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillList_K3);
                    //                break;
                    //            case "kf_virtualstockmovebillquery_k3":
                    //                //权限
                    //                Kf_VirtualStockMoveBillQuery_K3 oKf_VirtualStockMoveBillQuery_K3 = new Kf_VirtualStockMoveBillQuery_K3();
                    //                oKf_VirtualStockMoveBillQuery_K3.MdiParent = oMain;
                    //                oKf_VirtualStockMoveBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillQuery_K3);
                    //                break;
                    //            case "ic_mateoutrequestbilllist":
                    //                //权限
                    //                IC_MateOutRequestBillList oIC_MateOutRequestBillList = new IC_MateOutRequestBillList();
                    //                oIC_MateOutRequestBillList.MdiParent = oMain;
                    //                oIC_MateOutRequestBillList.Show();
                    //                oMainForm.AddTabPage(oIC_MateOutRequestBillList);
                    //                break;
                    //            case "ic_mateoutrequestbillrlist":
                    //                //权限
                    //                IC_MateOutRequestBillRList oIC_MateOutRequestBillRList = new IC_MateOutRequestBillRList();
                    //                oIC_MateOutRequestBillRList.MdiParent = oMain;
                    //                oIC_MateOutRequestBillRList.Show();
                    //                oMainForm.AddTabPage(oIC_MateOutRequestBillRList);
                    //                break;
                    //            case "kf_movestockbill_k3":
                    //                //
                    //                Kf_MoveStockBill_K3 oKf_MoveStockBill_K3 = new Kf_MoveStockBill_K3();
                    //                oKf_MoveStockBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_MoveStockBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_movestockbilllist_k3":
                    //                //权限
                    //                Kf_MoveStockBillList_K3 oKf_MoveStockBillList_K3 = new Kf_MoveStockBillList_K3();
                    //                oKf_MoveStockBillList_K3.MdiParent = oMain;
                    //                oKf_MoveStockBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_MoveStockBillList_K3);
                    //                break;
                    //            case "kf_productinbill_k3":
                    //                //
                    //                Kf_ProductInBill_K3 oKf_ProductInBill_K3 = new Kf_ProductInBill_K3();
                    //                oKf_ProductInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_ProductInBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_productinbilllist_k3":
                    //                //权限
                    //                Kf_ProductInBillList_K3 oKf_ProductInBillList_K3 = new Kf_ProductInBillList_K3();
                    //                oKf_ProductInBillList_K3.MdiParent = oMain;
                    //                oKf_ProductInBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_ProductInBillList_K3);
                    //                break;
                    //            case "kf_otheroutbill_k3":
                    //                //
                    //                Kf_OtherOutBill_K3 oKf_OtherOutBill_K3 = new Kf_OtherOutBill_K3();
                    //                oKf_OtherOutBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_otheroutbilllist_k3":
                    //                //权限
                    //                Kf_OtherOutBillList_K3 oKf_OtherOutBillList_K3 = new Kf_OtherOutBillList_K3();
                    //                oKf_OtherOutBillList_K3.MdiParent = oMain;
                    //                oKf_OtherOutBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_OtherOutBillList_K3);
                    //                break;
                    //            case "kf_otherinbill_k3":
                    //                //
                    //                Kf_OtherInBill_K3 oKf_OtherInBill_K3 = new Kf_OtherInBill_K3();
                    //                oKf_OtherInBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_otherinbilllist_k3":
                    //                //权限
                    //                Kf_OtherInBillList_K3 oKf_OtherInBillList_K3 = new Kf_OtherInBillList_K3();
                    //                oKf_OtherInBillList_K3.MdiParent = oMain;
                    //                oKf_OtherInBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_OtherInBillList_K3);
                    //                break;
                    //            case "kf_mateoutbill_k3":
                    //                //
                    //                Kf_MateOutBill_K3 oKf_MateOutBill_K3 = new Kf_MateOutBill_K3();
                    //                oKf_MateOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_MateOutBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_mateoutbilllist_k3":
                    //                //权限
                    //                Kf_MateOutBillList_K3 oKf_MateOutBillList_K3 = new Kf_MateOutBillList_K3();
                    //                oKf_MateOutBillList_K3.MdiParent = oMain;
                    //                oKf_MateOutBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutBillList_K3);
                    //                break;
                    //            case "kf_selloutbill_k3":
                    //                //
                    //                Kf_SellOutBill_K3 oKf_SellOutBill_K3 = new Kf_SellOutBill_K3();
                    //                oKf_SellOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_SellOutBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_selloutbilllist_k3":
                    //                //权限
                    //                Kf_SellOutBillList_K3 oKf_SellOutBillList_K3 = new Kf_SellOutBillList_K3();
                    //                oKf_SellOutBillList_K3.MdiParent = oMain;
                    //                oKf_SellOutBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_SellOutBillList_K3);
                    //                break;
                    //            case "kf_postockinbill_k3":
                    //                //
                    //                Kf_POStockInBill_K3 oKf_POStockInBill_K3 = new Kf_POStockInBill_K3();
                    //                oKf_POStockInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_POStockInBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_postockinbillquery_k3":
                    //                //权限
                    //                Kf_POStockInBillQuery_K3 oKf_POStockInBillQuery_K3 = new Kf_POStockInBillQuery_K3();
                    //                oKf_POStockInBillQuery_K3.MdiParent = oMain;
                    //                oKf_POStockInBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_POStockInBillQuery_K3);
                    //                break;
                    //            case "kf_productinbillquery_k3":
                    //                //权限
                    //                Kf_ProductInBillQuery_K3 oKf_ProductInBillQuery_K3 = new Kf_ProductInBillQuery_K3();
                    //                oKf_ProductInBillQuery_K3.MdiParent = oMain;
                    //                oKf_ProductInBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_ProductInBillQuery_K3);
                    //                break;
                    //            case "kf_otherinbillquery_k3":
                    //                //权限
                    //                Kf_OtherInBillQuery_K3 oKf_OtherInBillQuery_K3 = new Kf_OtherInBillQuery_K3();
                    //                oKf_OtherInBillQuery_K3.MdiParent = oMain;
                    //                oKf_OtherInBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_OtherInBillQuery_K3);
                    //                break;
                    //            case "kf_movestockbillquery_k3":
                    //                //权限
                    //                Kf_MoveStockBillQuery_K3 oKf_MoveStockBillQuery_K3 = new Kf_MoveStockBillQuery_K3();
                    //                oKf_MoveStockBillQuery_K3.MdiParent = oMain;
                    //                oKf_MoveStockBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_MoveStockBillQuery_K3);
                    //                break;
                    //            case "kf_otheroutbillquery_k3":
                    //                //权限
                    //                Kf_OtherOutBillQuery_K3 oKf_OtherOutBillQuery_K3 = new Kf_OtherOutBillQuery_K3();
                    //                oKf_OtherOutBillQuery_K3.MdiParent = oMain;
                    //                oKf_OtherOutBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_OtherOutBillQuery_K3);
                    //                break;
                    //            case "kf_mateoutbillquery_k3":
                    //                //权限
                    //                Kf_MateOutBillQuery_K3 oKf_MateOutBillQuery_K3 = new Kf_MateOutBillQuery_K3();
                    //                oKf_MateOutBillQuery_K3.MdiParent = oMain;
                    //                oKf_MateOutBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutBillQuery_K3);
                    //                break;
                    //            case "kf_selloutbillquery_k3":
                    //                //权限
                    //                Kf_SellOutBillQuery_K3 oKf_SellOutBillQuery_K3 = new Kf_SellOutBillQuery_K3();
                    //                oKf_SellOutBillQuery_K3.MdiParent = oMain;
                    //                oKf_SellOutBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_SellOutBillQuery_K3);
                    //                break;
                    //            case "kf_entrustinbill_k3":
                    //                //
                    //                Kf_EntrustInBill_K3 oKf_EntrustInBill_K3 = new Kf_EntrustInBill_K3();
                    //                oKf_EntrustInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_EntrustInBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_entrustinbilllist_k3":
                    //                //权限
                    //                Kf_EntrustInBillList_K3 oKf_EntrustInBillList_K3 = new Kf_EntrustInBillList_K3();
                    //                oKf_EntrustInBillList_K3.MdiParent = oMain;
                    //                oKf_EntrustInBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustInBillList_K3);
                    //                break;
                    //            case "kf_entrustinbillquery_k3":
                    //                //权限
                    //                Kf_EntrustInBillQuery_K3 oKf_EntrustInBillQuery_K3 = new Kf_EntrustInBillQuery_K3();
                    //                oKf_EntrustInBillQuery_K3.MdiParent = oMain;
                    //                oKf_EntrustInBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustInBillQuery_K3);
                    //                break;
                    //            case "kf_entrustoutbill_k3":
                    //                //
                    //                Kf_EntrustOutBill_K3 oKf_EntrustOutBill_K3 = new Kf_EntrustOutBill_K3();
                    //                oKf_EntrustOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oKf_EntrustOutBill_K3.ShowDialog();
                    //                break;
                    //            case "kf_entrustoutbilllist_k3":
                    //                //权限
                    //                Kf_EntrustOutBillList_K3 oKf_EntrustOutBillList_K3 = new Kf_EntrustOutBillList_K3();
                    //                oKf_EntrustOutBillList_K3.MdiParent = oMain;
                    //                oKf_EntrustOutBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustOutBillList_K3);
                    //                break;
                    //            case "kf_entrustoutbillquery_k3":
                    //                //权限
                    //                Kf_EntrustOutBillQuery_K3 oKf_EntrustOutBillQuery_K3 = new Kf_EntrustOutBillQuery_K3();
                    //                oKf_EntrustOutBillQuery_K3.MdiParent = oMain;
                    //                oKf_EntrustOutBillQuery_K3.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustOutBillQuery_K3);
                    //                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 "kf_postockinbilllist_k3":
                    //                //权限
                    //                Kf_POStockInBillList_K3 oKf_POStockInBillList_K3 = new Kf_POStockInBillList_K3();
                    //                oKf_POStockInBillList_K3.MdiParent = oMain;
                    //                oKf_POStockInBillList_K3.Show();
                    //                oMainForm.AddTabPage(oKf_POStockInBillList_K3);
                    //                break;
                    //             //========================
                    //            case "k3_icmolist":
                    //                //
                    //                K3_ICMOList oK3_ICMOList = new K3_ICMOList();
                    //                oK3_ICMOList.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oK3_ICMOList.ShowDialog();
                    //                break;
                    //            case "k3_poinstocklist":
                    //                //
                    //                K3_PoinStockList oK3_PoinStockList = new K3_PoinStockList();
                    //                oK3_PoinStockList.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oK3_PoinStockList.ShowDialog();
                    //                break;
                    //            case "gy_barcodebilllist":
                    //                //权限
                    //                Gy_BarCodeBillList oGy_BarCodeBillList = new Gy_BarCodeBillList();
                    //                oGy_BarCodeBillList.MdiParent = oMain;
                    //                oGy_BarCodeBillList.Show();
                    //                oMainForm.AddTabPage(oGy_BarCodeBillList);
                    //                break;
                    //            //==========================================================
        //            case "kf_virtualstockoutbill":
        //                Kf_VirtualStockOutBill oKf_VirtualStockOutBill = new Kf_VirtualStockOutBill();
        //                oKf_VirtualStockOutBill.MdiParent = oMain;
        //                oKf_VirtualStockOutBill.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockOutBill);
        //                break;
        //            case "kf_virtualstockoutbilllist":
        //                Kf_VirtualStockOutBillList oKf_VirtualStockOutBillList = new Kf_VirtualStockOutBillList();
        //                oKf_VirtualStockOutBillList.MdiParent = oMain;
        //                oKf_VirtualStockOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockOutBillList);
        //                break;
        //            case "kf_virtualstockoutbillquery":
        //                Kf_VirtualStockOutBillQuery oKf_VirtualStockOutBillQuery = new Kf_VirtualStockOutBillQuery();
        //                oKf_VirtualStockOutBillQuery.MdiParent = oMain;
        //                oKf_VirtualStockOutBillQuery.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockOutBillQuery);
        //                break;
        //            case "kf_virtualstockinbill":
        //                Kf_VirtualStockInBill oKf_VirtualStockInBill = new Kf_VirtualStockInBill();
        //                oKf_VirtualStockInBill.MdiParent = oMain;
        //                oKf_VirtualStockInBill.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockInBill);
        //                break;
        //            case "kf_virtualstockinbilllist":
        //                Kf_VirtualStockInBillList oKf_VirtualStockInBillList = new Kf_VirtualStockInBillList();
        //                oKf_VirtualStockInBillList.MdiParent = oMain;
        //                oKf_VirtualStockInBillList.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockInBillList);
        //                break;
        //            case "kf_virtualstockinbillquery":
        //                Kf_VirtualStockInBillQuery oKf_VirtualStockInBillQuery = new Kf_VirtualStockInBillQuery();
        //                oKf_VirtualStockInBillQuery.MdiParent = oMain;
        //                oKf_VirtualStockInBillQuery.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockInBillQuery);
        //                break;
        //            case "kf_virtualstockmovebill":
        //                Kf_VirtualStockMoveBill oKf_VirtualStockMoveBill = new Kf_VirtualStockMoveBill();
        //                oKf_VirtualStockMoveBill.MdiParent = oMain;
        //                oKf_VirtualStockMoveBill.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockMoveBill);
        //                break;
        //            case "kf_virtualstockmovebilllist":
        //                Kf_VirtualStockMoveBillList oKf_VirtualStockMoveBillList = new Kf_VirtualStockMoveBillList();
        //                oKf_VirtualStockMoveBillList.MdiParent = oMain;
        //                oKf_VirtualStockMoveBillList.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillList);
        //                break;
        //            case "kf_virtualstockmovebillquery":
        //                Kf_VirtualStockMoveBillQuery oKf_VirtualStockMoveBillQuery = new Kf_VirtualStockMoveBillQuery();
        //                oKf_VirtualStockMoveBillQuery.MdiParent = oMain;
        //                oKf_VirtualStockMoveBillQuery.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillQuery);
        //                break;
                    //            case "kf_virtualstockoutbill":
                    //                Kf_VirtualStockOutBill oKf_VirtualStockOutBill = new Kf_VirtualStockOutBill();
                    //                oKf_VirtualStockOutBill.MdiParent = oMain;
                    //                oKf_VirtualStockOutBill.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockOutBill);
                    //                break;
                    //            case "kf_virtualstockoutbilllist":
                    //                Kf_VirtualStockOutBillList oKf_VirtualStockOutBillList = new Kf_VirtualStockOutBillList();
                    //                oKf_VirtualStockOutBillList.MdiParent = oMain;
                    //                oKf_VirtualStockOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockOutBillList);
                    //                break;
                    //            case "kf_virtualstockoutbillquery":
                    //                Kf_VirtualStockOutBillQuery oKf_VirtualStockOutBillQuery = new Kf_VirtualStockOutBillQuery();
                    //                oKf_VirtualStockOutBillQuery.MdiParent = oMain;
                    //                oKf_VirtualStockOutBillQuery.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockOutBillQuery);
                    //                break;
                    //            case "kf_virtualstockinbill":
                    //                Kf_VirtualStockInBill oKf_VirtualStockInBill = new Kf_VirtualStockInBill();
                    //                oKf_VirtualStockInBill.MdiParent = oMain;
                    //                oKf_VirtualStockInBill.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockInBill);
                    //                break;
                    //            case "kf_virtualstockinbilllist":
                    //                Kf_VirtualStockInBillList oKf_VirtualStockInBillList = new Kf_VirtualStockInBillList();
                    //                oKf_VirtualStockInBillList.MdiParent = oMain;
                    //                oKf_VirtualStockInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockInBillList);
                    //                break;
                    //            case "kf_virtualstockinbillquery":
                    //                Kf_VirtualStockInBillQuery oKf_VirtualStockInBillQuery = new Kf_VirtualStockInBillQuery();
                    //                oKf_VirtualStockInBillQuery.MdiParent = oMain;
                    //                oKf_VirtualStockInBillQuery.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockInBillQuery);
                    //                break;
                    //            case "kf_virtualstockmovebill":
                    //                Kf_VirtualStockMoveBill oKf_VirtualStockMoveBill = new Kf_VirtualStockMoveBill();
                    //                oKf_VirtualStockMoveBill.MdiParent = oMain;
                    //                oKf_VirtualStockMoveBill.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockMoveBill);
                    //                break;
                    //            case "kf_virtualstockmovebilllist":
                    //                Kf_VirtualStockMoveBillList oKf_VirtualStockMoveBillList = new Kf_VirtualStockMoveBillList();
                    //                oKf_VirtualStockMoveBillList.MdiParent = oMain;
                    //                oKf_VirtualStockMoveBillList.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillList);
                    //                break;
                    //            case "kf_virtualstockmovebillquery":
                    //                Kf_VirtualStockMoveBillQuery oKf_VirtualStockMoveBillQuery = new Kf_VirtualStockMoveBillQuery();
                    //                oKf_VirtualStockMoveBillQuery.MdiParent = oMain;
                    //                oKf_VirtualStockMoveBillQuery.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillQuery);
                    //                break;
        //            case "kf_inceptentinbill":
        //                //
        //                Kf_InceptEntInBill oKf_InceptEntInBill = new Kf_InceptEntInBill();
        //                oKf_InceptEntInBill.ShowDialog();
        //                break;
        //            case "kf_inceptentoutbilllist":
        //                //权限
        //                Kf_InceptEntOutBillList oKf_InceptEntOutBillList = new Kf_InceptEntOutBillList();
        //                oKf_InceptEntOutBillList.MdiParent = oMain;
        //                oKf_InceptEntOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_InceptEntOutBillList);
        //                break;
        //            case "kf_inceptentinbilllist":
        //                //权限
        //                Kf_InceptEntInBillList oKf_InceptEntInBillList = new Kf_InceptEntInBillList();
        //                oKf_InceptEntInBillList.MdiParent = oMain;
        //                oKf_InceptEntInBillList.Show();
        //                oMainForm.AddTabPage(oKf_InceptEntInBillList);
        //                break;
        //            case "kf_inceptentoutbill":
        //                //
        //                Kf_InceptEntOutBill oKf_InceptEntOutBill = new Kf_InceptEntOutBill();
        //                oKf_InceptEntOutBill.ShowDialog();
        //                break;
        //            case "kf_entrustinbilllist":
        //                //权限
        //                Kf_EntrustInBillList oKf_EntrustInBillList = new Kf_EntrustInBillList();
        //                oKf_EntrustInBillList.MdiParent = oMain;
        //                oKf_EntrustInBillList.Show();
        //                oMainForm.AddTabPage(oKf_EntrustInBillList);
        //                break;
        //            case "kf_entrustinbill":
        //                //
        //                Kf_EntrustInBill oKf_EntrustInBill = new Kf_EntrustInBill();
        //                oKf_EntrustInBill.ShowDialog();
        //                break;
                    //            case "kf_inceptentinbill":
                    //                //
                    //                Kf_InceptEntInBill oKf_InceptEntInBill = new Kf_InceptEntInBill();
                    //                oKf_InceptEntInBill.ShowDialog();
                    //                break;
                    //            case "kf_inceptentoutbilllist":
                    //                //权限
                    //                Kf_InceptEntOutBillList oKf_InceptEntOutBillList = new Kf_InceptEntOutBillList();
                    //                oKf_InceptEntOutBillList.MdiParent = oMain;
                    //                oKf_InceptEntOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_InceptEntOutBillList);
                    //                break;
                    //            case "kf_inceptentinbilllist":
                    //                //权限
                    //                Kf_InceptEntInBillList oKf_InceptEntInBillList = new Kf_InceptEntInBillList();
                    //                oKf_InceptEntInBillList.MdiParent = oMain;
                    //                oKf_InceptEntInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_InceptEntInBillList);
                    //                break;
                    //            case "kf_inceptentoutbill":
                    //                //
                    //                Kf_InceptEntOutBill oKf_InceptEntOutBill = new Kf_InceptEntOutBill();
                    //                oKf_InceptEntOutBill.ShowDialog();
                    //                break;
        //            case "kf_entrustoutbilllist":
        //                //权限
        //                Kf_EntrustOutBillList oKf_EntrustOutBillList = new Kf_EntrustOutBillList();
        //                oKf_EntrustOutBillList.MdiParent = oMain;
        //                oKf_EntrustOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_EntrustOutBillList);
        //                break;
        //            case "kf_entrustoutbill":
        //                //
        //                Kf_EntrustOutBill oKf_EntrustOutBill = new Kf_EntrustOutBill();
        //                oKf_EntrustOutBill.ShowDialog();
        //                break;
                    //            case "kf_entrustinbilllist":
                    //                //权限
                    //                Kf_EntrustInBillList oKf_EntrustInBillList = new Kf_EntrustInBillList();
                    //                oKf_EntrustInBillList.MdiParent = oMain;
                    //                oKf_EntrustInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustInBillList);
                    //                break;
                    //            case "kf_entrustinbill":
                    //                //
                    //                Kf_EntrustInBill oKf_EntrustInBill = new Kf_EntrustInBill();
                    //                oKf_EntrustInBill.ShowDialog();
                    //                break;
                    //            case "kf_entrustoutbilllist":
                    //                //权限
                    //                Kf_EntrustOutBillList oKf_EntrustOutBillList = new Kf_EntrustOutBillList();
                    //                oKf_EntrustOutBillList.MdiParent = oMain;
                    //                oKf_EntrustOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustOutBillList);
                    //                break;
                    //            case "kf_entrustoutbill":
                    //                //
                    //                Kf_EntrustOutBill oKf_EntrustOutBill = new Kf_EntrustOutBill();
                    //                oKf_EntrustOutBill.ShowDialog();
                    //                break;
                    case "kf_selloutbilllist":
                        //权限
@@ -4073,132 +4152,139 @@
                        oKf_OtherOutBillList.Show();
                        oMainForm.AddTabPage(oKf_OtherOutBillList);
                        break;
        //            case "kf_otheroutbill":
        //                //
        //                Kf_OtherOutBill oKf_OtherOutBill = new Kf_OtherOutBill();
        //                oKf_OtherOutBill.ShowDialog();
        //                break;
        //            case "kf_movestockbilllist":
        //                //权限
        //                Kf_MoveStockBillList oKf_MoveStockBillList = new Kf_MoveStockBillList();
        //                oKf_MoveStockBillList.MdiParent = oMain;
        //                oKf_MoveStockBillList.Show();
        //                oMainForm.AddTabPage(oKf_MoveStockBillList);
        //                break;
        //            case "kf_movestockbill":
        //                //
        //                Kf_MoveStockBill oKf_MoveStockBill = new Kf_MoveStockBill();
        //                oKf_MoveStockBill.ShowDialog();
        //                break;
        //            case "kf_checkstockbilllist":
        //                //权限
        //                Kf_CheckStockBillList oKf_CheckStockBillList = new Kf_CheckStockBillList();
        //                oKf_CheckStockBillList.MdiParent = oMain;
        //                oKf_CheckStockBillList.Show();
        //                oMainForm.AddTabPage(oKf_CheckStockBillList);
        //                break;
        //            case "kf_checkstockbill":
        //                //
        //                Kf_CheckStockBill oKf_CheckStockBill = new Kf_CheckStockBill();
        //                oKf_CheckStockBill.ShowDialog();
        //                break;
                    //            case "kf_otheroutbill":
                    //                //
                    //                Kf_OtherOutBill oKf_OtherOutBill = new Kf_OtherOutBill();
                    //                oKf_OtherOutBill.ShowDialog();
                    //                break;
                    //            case "kf_movestockbilllist":
                    //                //权限
                    //                Kf_MoveStockBillList oKf_MoveStockBillList = new Kf_MoveStockBillList();
                    //                oKf_MoveStockBillList.MdiParent = oMain;
                    //                oKf_MoveStockBillList.Show();
                    //                oMainForm.AddTabPage(oKf_MoveStockBillList);
                    //                break;
                    //            case "kf_movestockbill":
                    //                //
                    //                Kf_MoveStockBill oKf_MoveStockBill = new Kf_MoveStockBill();
                    //                oKf_MoveStockBill.ShowDialog();
                    //                break;
                    //            case "kf_checkstockbilllist":
                    //                //权限
                    //                Kf_CheckStockBillList oKf_CheckStockBillList = new Kf_CheckStockBillList();
                    //                oKf_CheckStockBillList.MdiParent = oMain;
                    //                oKf_CheckStockBillList.Show();
                    //                oMainForm.AddTabPage(oKf_CheckStockBillList);
                    //                break;
                    //            case "kf_checkstockbill":
                    //                //
                    //                Kf_CheckStockBill oKf_CheckStockBill = new Kf_CheckStockBill();
                    //                oKf_CheckStockBill.ShowDialog();
                    //                break;
        //            case "kf_entrustcheckstockbilllist":
        //                //权限
        //                Kf_EntrustCheckStockBillList oKf_EntrustCheckStockBillList = new Kf_EntrustCheckStockBillList();
        //                oKf_EntrustCheckStockBillList.MdiParent = oMain;
        //                oKf_EntrustCheckStockBillList.Show();
        //                oMainForm.AddTabPage(oKf_EntrustCheckStockBillList);
        //                break;
        //            case "kf_entrustcheckstockbill":
        //                //
        //                Kf_EntrustCheckStockBill oKf_EntrustCheckStockBill = new Kf_EntrustCheckStockBill();
        //                oKf_EntrustCheckStockBill.ShowDialog();
        //                break;
                    //            case "kf_entrustcheckstockbilllist":
                    //                //权限
                    //                Kf_EntrustCheckStockBillList oKf_EntrustCheckStockBillList = new Kf_EntrustCheckStockBillList();
                    //                oKf_EntrustCheckStockBillList.MdiParent = oMain;
                    //                oKf_EntrustCheckStockBillList.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustCheckStockBillList);
                    //                break;
                    //            case "kf_entrustcheckstockbill":
                    //                //
                    //                Kf_EntrustCheckStockBill oKf_EntrustCheckStockBill = new Kf_EntrustCheckStockBill();
                    //                oKf_EntrustCheckStockBill.ShowDialog();
                    //                break;
        //            case "kf_mateoutrequestbilllist":
        //                //权限
        //                Kf_MateOutRequestBillList oKf_MateOutRequestBillList = new Kf_MateOutRequestBillList();
        //                oKf_MateOutRequestBillList.MdiParent = oMain;
        //                oKf_MateOutRequestBillList.Show();
        //                oMainForm.AddTabPage(oKf_MateOutRequestBillList);
        //                break;
        //            case "kf_mateoutrequestbill":
        //                //
        //                Kf_MateOutRequestBill oKf_MateOutRequestBill = new Kf_MateOutRequestBill();
        //                oKf_MateOutRequestBill.ShowDialog();
        //                break;
        //            //===================================报表分析
        //            case "sc_queryreadyrptnoinstockreport":
        //                //权限
        //                WarM.Sc_QueryReadyRptNoInStockReport oSc_QueryReadyRptNoInStockReport = new WarM.Sc_QueryReadyRptNoInStockReport();
        //                oSc_QueryReadyRptNoInStockReport.MdiParent = oMain;
        //                oSc_QueryReadyRptNoInStockReport.Show();
        //                oMainForm.AddTabPage(oSc_QueryReadyRptNoInStockReport);
        //                break;
        //            case "kf_barcodeoutinreport":
        //                //权限
        //                WarM.Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new WarM.Kf_BarCodeOutInReport();
        //                oKf_BarCodeOutInReport.MdiParent = oMain;
        //                oKf_BarCodeOutInReport.Show();
        //                oMainForm.AddTabPage(oKf_BarCodeOutInReport);
        //                break;
        //            case "kf_icinventory_barcode":
        //                //权限
        //                WarM.Kf_ICInventory_BarCode oKf_ICInventory_BarCode = new WarM.Kf_ICInventory_BarCode();
        //                oKf_ICInventory_BarCode.MdiParent = oMain;
        //                oKf_ICInventory_BarCode.Show();
        //                oMainForm.AddTabPage(oKf_ICInventory_BarCode);
        //                break;
        //            case "kf_icinventorylist":
        //                //权限
        //                WarM.KF_ICInventoryList oKF_ICInventoryList = new WarM.KF_ICInventoryList();
        //                oKF_ICInventoryList.MdiParent = oMain;
        //                oKF_ICInventoryList.Show();
        //                oMainForm.AddTabPage(oKF_ICInventoryList);
        //                break;
        //            case "kf_mateoutinbookreport":
        //                //权限
        //                Kf_MateOutInBookReport oKf_MateOutInBookReport = new Kf_MateOutInBookReport();
        //                oKf_MateOutInBookReport.MdiParent = oMain;
        //                oKf_MateOutInBookReport.Show();
        //                oMainForm.AddTabPage(oKf_MateOutInBookReport);
        //                break;
        //            case "kf_mateoutsumreport":
        //                //权限
        //                Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport();
        //                oKf_MateOutSumReport.MdiParent = oMain;
        //                oKf_MateOutSumReport.Show();
        //                oMainForm.AddTabPage(oKf_MateOutSumReport);
        //                break;
        //            case "kf_matestockaccount":
        //                //权限
        //                Kf_MateStockAccount oKf_MateStockAccount = new Kf_MateStockAccount();
        //                oKf_MateStockAccount.MdiParent = oMain;
        //                oKf_MateStockAccount.Show();
        //                oMainForm.AddTabPage(oKf_MateStockAccount);
        //                break;
        //            case "kf_pstockinoutreport":
        //                //权限
        //                Kf_PStockInOutReport oKf_PStockInOutReport = new Kf_PStockInOutReport();
        //                oKf_PStockInOutReport.MdiParent = oMain;
        //                oKf_PStockInOutReport.Show();
        //                oMainForm.AddTabPage(oKf_PStockInOutReport);
        //                break;
        //            case "kf_pstockinoutsumreport":
        //                //权限
        //                Kf_PStockInOutSumReport oKf_PStockInOutSumReport = new Kf_PStockInOutSumReport();
        //                oKf_PStockInOutSumReport.MdiParent = oMain;
        //                oKf_PStockInOutSumReport.Show();
        //                oMainForm.AddTabPage(oKf_PStockInOutSumReport);
        //                break;
        //            case "kf_safestockreport":
        //                //权限
        //                Kf_SafeStockReport oKf_SafeStockReport = new Kf_SafeStockReport();
        //                oKf_SafeStockReport.MdiParent = oMain;
        //                oKf_SafeStockReport.Show();
        //                oMainForm.AddTabPage(oKf_SafeStockReport);
        //                break;
                    //            case "kf_mateoutrequestbilllist":
                    //                //权限
                    //                Kf_MateOutRequestBillList oKf_MateOutRequestBillList = new Kf_MateOutRequestBillList();
                    //                oKf_MateOutRequestBillList.MdiParent = oMain;
                    //                oKf_MateOutRequestBillList.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutRequestBillList);
                    //                break;
                    //            case "kf_mateoutrequestbill":
                    //                //
                    //                Kf_MateOutRequestBill oKf_MateOutRequestBill = new Kf_MateOutRequestBill();
                    //                oKf_MateOutRequestBill.ShowDialog();
                    //                break;
                    //            //===================================报表分析
                    //            case "sc_queryreadyrptnoinstockreport":
                    //                //权限
                    //                WarM.Sc_QueryReadyRptNoInStockReport oSc_QueryReadyRptNoInStockReport = new WarM.Sc_QueryReadyRptNoInStockReport();
                    //                oSc_QueryReadyRptNoInStockReport.MdiParent = oMain;
                    //                oSc_QueryReadyRptNoInStockReport.Show();
                    //                oMainForm.AddTabPage(oSc_QueryReadyRptNoInStockReport);
                    //                break;
                    //            case "kf_barcodeoutinreport":
                    //                //权限
                    //                WarM.Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new WarM.Kf_BarCodeOutInReport();
                    //                oKf_BarCodeOutInReport.MdiParent = oMain;
                    //                oKf_BarCodeOutInReport.Show();
                    //                oMainForm.AddTabPage(oKf_BarCodeOutInReport);
                    //                break;
                    //            case "kf_icinventory_barcode":
                    //                //权限
                    //                WarM.Kf_ICInventory_BarCode oKf_ICInventory_BarCode = new WarM.Kf_ICInventory_BarCode();
                    //                oKf_ICInventory_BarCode.MdiParent = oMain;
                    //                oKf_ICInventory_BarCode.Show();
                    //                oMainForm.AddTabPage(oKf_ICInventory_BarCode);
                    //                break;
                    //            case "kf_icinventorylist":
                    //                //权限
                    //                WarM.KF_ICInventoryList oKF_ICInventoryList = new WarM.KF_ICInventoryList();
                    //                oKF_ICInventoryList.MdiParent = oMain;
                    //                oKF_ICInventoryList.Show();
                    //                oMainForm.AddTabPage(oKF_ICInventoryList);
                    //                break;
                    //            case "kf_mateoutinbookreport":
                    //                //权限
                    //                Kf_MateOutInBookReport oKf_MateOutInBookReport = new Kf_MateOutInBookReport();
                    //                oKf_MateOutInBookReport.MdiParent = oMain;
                    //                oKf_MateOutInBookReport.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutInBookReport);
                    //                break;
                    //            case "kf_mateoutsumreport":
                    //                //权限
                    //                Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport();
                    //                oKf_MateOutSumReport.MdiParent = oMain;
                    //                oKf_MateOutSumReport.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutSumReport);
                    //                break;
                    //            case "kf_matestockaccount":
                    //                //权限
                    //                Kf_MateStockAccount oKf_MateStockAccount = new Kf_MateStockAccount();
                    //                oKf_MateStockAccount.MdiParent = oMain;
                    //                oKf_MateStockAccount.Show();
                    //                oMainForm.AddTabPage(oKf_MateStockAccount);
                    //                break;
                    //            case "kf_pstockinoutreport":
                    //                //权限
                    //                Kf_PStockInOutReport oKf_PStockInOutReport = new Kf_PStockInOutReport();
                    //                oKf_PStockInOutReport.MdiParent = oMain;
                    //                oKf_PStockInOutReport.Show();
                    //                oMainForm.AddTabPage(oKf_PStockInOutReport);
                    //                break;
                    //            case "kf_pstockinoutsumreport":
                    //                //权限
                    //                Kf_PStockInOutSumReport oKf_PStockInOutSumReport = new Kf_PStockInOutSumReport();
                    //                oKf_PStockInOutSumReport.MdiParent = oMain;
                    //                oKf_PStockInOutSumReport.Show();
                    //                oMainForm.AddTabPage(oKf_PStockInOutSumReport);
                    //                break;
                    //            case "kf_safestockreport":
                    //                //权限
                    //                Kf_SafeStockReport oKf_SafeStockReport = new Kf_SafeStockReport();
                    //                oKf_SafeStockReport.MdiParent = oMain;
                    //                oKf_SafeStockReport.Show();
                    //                oMainForm.AddTabPage(oKf_SafeStockReport);
                    //                break;
                    case "kf_agvrequestbill_fastlist":
                        Kf_AGVRequestBill_FastList oKf_AGVRequestBill_FastList = new Kf_AGVRequestBill_FastList();
                        oKf_AGVRequestBill_FastList.MdiParent = oMain;
                        oKf_AGVRequestBill_FastList.ModCaption = gnmc;
                        oKf_AGVRequestBill_FastList.Show();
                        oMainForm.AddTabPage(oKf_AGVRequestBill_FastList);
                        break;
                    default:
                        break;
                }
@@ -7228,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;