using System;
|
using System.Collections.Generic;
|
using System.Text;
|
using System.Data;
|
using System.Windows.Forms;
|
|
namespace HuanXin.ERP
|
{
|
class ClsShowMod
|
{
|
public void Zxxymk(string gnsy, string gnbm,Form oMain)
|
{
|
//ȨÏÞ
|
if (!Pub_Class.ClsPub.Security_Log(gnsy.Trim(), 1, true))
|
{
|
return;
|
}
|
//
|
switch (gnbm.Trim().Substring(0, 2))
|
{
|
case "01":
|
//
|
break;
|
case "02":
|
//
|
break;
|
case "03":
|
//
|
break;
|
case "11":
|
case "cg":
|
//²É¹ºÏµÍ³
|
Zxxymk_CGXT(gnsy, oMain);
|
break;
|
case "12":
|
case "kf":
|
//²Ö¿âϵͳ
|
Zxxymk_CKXT(gnsy, oMain);
|
break;
|
case "14":
|
case "xs":
|
//ÏúÊÛϵͳ
|
Zxxymk_XSXT(gnsy, oMain);
|
break;
|
case "18":
|
case "cb":
|
//³É±¾ÏµÍ³
|
Zxxymk_CBXT(gnsy, oMain);
|
break;
|
case "20":
|
case "ys":
|
//Ó¦ÊÕϵͳ
|
Zxxymk_YSXT(gnsy, oMain);
|
break;
|
case "21":
|
case "yf":
|
//Ó¦¸¶ÏµÍ³
|
Zxxymk_YFXT(gnsy, oMain);
|
break;
|
case "22":
|
case "pa":
|
//¹¤×Êϵͳ
|
Zxxymk_GZXT(gnsy,oMain);
|
break;
|
case "33":
|
case "gy":
|
//»ù´¡×ÊÁÏ
|
Zxxymk_JCSJ(gnsy,oMain);
|
break;
|
case "36":
|
//ͳ¼Æ±¨±í
|
Zxxymk_TJBB(gnsy,oMain);
|
break;
|
case "37":
|
case "sc":
|
//Éú²úϵͳ
|
Zxxymk_SCXT(gnsy, oMain);
|
break;
|
case "cu":
|
//¿Í»§¹ÜÀí
|
Zxxymk_KHGL(gnsy, oMain);
|
break;
|
case "su":
|
//¹©Ó¦É̹ÜÀí
|
Zxxymk_GFGL(gnsy, oMain);
|
break;
|
case "88":
|
case "xt":
|
//ϵͳ¹ÜÀí
|
Zxxymk_XTGL(gnsy, oMain);
|
break;
|
default:
|
break;
|
}
|
}
|
#region ¹©Ó¦É̹ÜÀí
|
public void Zxxymk_GFGL(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "sup_askpricebilllist":
|
//ȨÏÞ
|
Sup_AskPriceBillList oSup_AskPriceBillList = new Sup_AskPriceBillList();
|
oSup_AskPriceBillList.MdiParent = oMain;
|
oSup_AskPriceBillList.Show();
|
break;
|
case "sup_askpricebill":
|
//
|
Sup_AskPriceBill oSup_AskPriceBill = new Sup_AskPriceBill();
|
oSup_AskPriceBill.ShowDialog();
|
break;
|
|
case "sup_quotepricebilllist":
|
//ȨÏÞ
|
Sup_QuotePriceBillList oSup_QuotePriceBillList = new Sup_QuotePriceBillList();
|
oSup_QuotePriceBillList.MdiParent = oMain;
|
oSup_QuotePriceBillList.Show();
|
break;
|
case "sup_quotepricebill":
|
//
|
Sup_QuotePriceBill oSup_QuotePriceBill = new Sup_QuotePriceBill();
|
oSup_QuotePriceBill.ShowDialog();
|
break;
|
|
case "sup_supplyfilelist":
|
//ȨÏÞ
|
Sup_SupplyFileList oSup_SupplyFileList = new Sup_SupplyFileList();
|
oSup_SupplyFileList.MdiParent = oMain;
|
oSup_SupplyFileList.Show();
|
break;
|
case "sup_supplyfile":
|
//
|
Sup_SupplyFile oSup_SupplyFile = new Sup_SupplyFile();
|
oSup_SupplyFile.ShowDialog();
|
break;
|
case "sup_evaluatebilllist":
|
//ȨÏÞ
|
Sup_EvaluateBillList oSup_EvaluateBillList = new Sup_EvaluateBillList();
|
oSup_EvaluateBillList.MdiParent = oMain;
|
oSup_EvaluateBillList.Show();
|
break;
|
case "sup_evaluatebill":
|
//
|
Sup_EvaluateBill oSup_EvaluateBill = new Sup_EvaluateBill();
|
oSup_EvaluateBill.ShowDialog();
|
break;
|
case "sup_supplyrequtbilllist":
|
//ȨÏÞ
|
Sup_SupplyRequtBillList oSup_SupplyRequtBillList = new Sup_SupplyRequtBillList();
|
oSup_SupplyRequtBillList.MdiParent = oMain;
|
oSup_SupplyRequtBillList.Show();
|
break;
|
case "sup_supplyrequtbill":
|
//
|
Sup_SupplyRequtBill oSup_SupplyRequtBill = new Sup_SupplyRequtBill();
|
oSup_SupplyRequtBill.ShowDialog();
|
break;
|
case "sup_evaluateschemebilllist":
|
//ȨÏÞ
|
Sup_EvaluateSchemeBillList oSup_EvaluateSchemeBillList = new Sup_EvaluateSchemeBillList();
|
oSup_EvaluateSchemeBillList.MdiParent = oMain;
|
oSup_EvaluateSchemeBillList.Show();
|
break;
|
case "sup_evaluateschemebill":
|
//
|
Sup_EvaluateSchemeBill oSup_EvaluateSchemeBill = new Sup_EvaluateSchemeBill();
|
oSup_EvaluateSchemeBill.ShowDialog();
|
break;
|
//case "sec_servicesendworkbilllist":
|
// //ȨÏÞ
|
// Sec_ServiceSendWorkBillList oSec_ServiceSendWorkBillList = new Sec_ServiceSendWorkBillList();
|
// oSec_ServiceSendWorkBillList.MdiParent = oMain;
|
// oSec_ServiceSendWorkBillList.Show();
|
// break;
|
//case "sec_servicesendworkbill":
|
// //
|
// Sec_ServiceSendWorkBill oSec_ServiceSendWorkBill = new Sec_ServiceSendWorkBill();
|
// oSec_ServiceSendWorkBill.ShowDialog();
|
// break;
|
//case "cg_porequestbilllist":
|
// //ȨÏÞ
|
// Cg_PORequestBillList oCg_PORequestBillList = new Cg_PORequestBillList();
|
// oCg_PORequestBillList.MdiParent = oMain;
|
// oCg_PORequestBillList.Show();
|
// break;
|
//case "cg_porequestbill":
|
// //
|
// Cg_PORequestBill oCg_PORequestBill = new Cg_PORequestBill();
|
// oCg_PORequestBill.ShowDialog();
|
// break;
|
//case "cg_invoicebilllist":
|
// //ȨÏÞ
|
// Cg_InvoiceBillList oCg_InvoiceBillList = new Cg_InvoiceBillList();
|
// oCg_InvoiceBillList.MdiParent = oMain;
|
// oCg_InvoiceBillList.Show();
|
// break;
|
//case "cg_invoicebill":
|
// //
|
// Cg_InvoiceBill oCg_InvoiceBill = new Cg_InvoiceBill();
|
// oCg_InvoiceBill.ShowDialog();
|
// oCg_InvoiceBill.Dispose();
|
// break;
|
//case "cg_contractbilllist":
|
// //ȨÏÞ
|
// Cg_ContractBillList oCg_ContractBillList = new Cg_ContractBillList();
|
// oCg_ContractBillList.MdiParent = oMain;
|
// oCg_ContractBillList.Show();
|
|
// break;
|
//case "cg_contractbill":
|
// //
|
// Cg_ContractBill oCg_ContractBill = new Cg_ContractBill();
|
// oCg_ContractBill.ShowDialog();
|
// oCg_ContractBill.Dispose();
|
// break;
|
//case "cg_invoicespecbilllist":
|
// //ȨÏÞ
|
// Cg_InvoiceSpecBillList oCg_InvoiceSpecBillList = new Cg_InvoiceSpecBillList();
|
// oCg_InvoiceSpecBillList.MdiParent = oMain;
|
// oCg_InvoiceSpecBillList.Show();
|
// break;
|
//case "cg_invoicespecbill":
|
// //
|
// Cg_InvoiceSpecBill oCg_InvoiceSpecBill = new Cg_InvoiceSpecBill();
|
// oCg_InvoiceSpecBill.ShowDialog();
|
// break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region ¿Í»§¹ÜÀí
|
public void Zxxymk_KHGL(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "k3_mateoutbackbilllist":
|
//ȨÏÞ
|
K3_MateOutBackBillList oK3_MateOutBackBillList = new K3_MateOutBackBillList();
|
oK3_MateOutBackBillList.MdiParent = oMain;
|
oK3_MateOutBackBillList.Show();
|
break;
|
case "k3_mateoutbackbill":
|
//
|
K3_MateOutBackBill oK3_MateOutBackBill = new K3_MateOutBackBill();
|
oK3_MateOutBackBill.ShowDialog();
|
break;
|
case "k3_mateoutbilllist":
|
//ȨÏÞ
|
K3_MateOutBillList oK3_MateOutBillList = new K3_MateOutBillList();
|
oK3_MateOutBillList.MdiParent = oMain;
|
oK3_MateOutBillList.Show();
|
break;
|
case "k3_mateoutbill":
|
//
|
K3_MateOutBill oK3_MateOutBill = new K3_MateOutBill();
|
oK3_MateOutBill.ShowDialog();
|
break;
|
case "sec_complainbackvisitbilllist":
|
//ȨÏÞ
|
Sec_ComplainBackVisitBillList oSec_ComplainBackVisitBillList = new Sec_ComplainBackVisitBillList();
|
oSec_ComplainBackVisitBillList.MdiParent = oMain;
|
oSec_ComplainBackVisitBillList.Show();
|
break;
|
case "sec_complainbackvisitbill":
|
//
|
Sec_ComplainBackVisitBill oSec_ComplainBackVisitBill = new Sec_ComplainBackVisitBill();
|
oSec_ComplainBackVisitBill.ShowDialog();
|
break;
|
case "cus_customerfilelist":
|
//ȨÏÞ
|
Cus_CustomerFileList oCus_CustomerFileList = new Cus_CustomerFileList();
|
oCus_CustomerFileList.MdiParent = oMain;
|
oCus_CustomerFileList.Show();
|
break;
|
case "cus_customerfile":
|
//
|
Cus_CustomerFile oCus_CustomerFile = new Cus_CustomerFile();
|
oCus_CustomerFile.ShowDialog();
|
break;
|
case "gy_productfilelist":
|
//ȨÏÞ
|
Gy_ProductFileList oGy_ProductFileList = new Gy_ProductFileList();
|
oGy_ProductFileList.MdiParent = oMain;
|
oGy_ProductFileList.Show();
|
break;
|
case "gy_productfile":
|
//
|
Gy_ProductFile oGy_ProductFile = new Gy_ProductFile();
|
oGy_ProductFile.ShowDialog();
|
break;
|
case "sec_servicebalbilllist":
|
//ȨÏÞ
|
Sec_ServiceBalBillList oSec_ServiceBalBillList = new Sec_ServiceBalBillList();
|
oSec_ServiceBalBillList.MdiParent = oMain;
|
oSec_ServiceBalBillList.Show();
|
break;
|
case "sec_servicebalbill":
|
//
|
Sec_ServiceBalBill oSec_ServiceBalBill = new Sec_ServiceBalBill();
|
oSec_ServiceBalBill.ShowDialog();
|
break;
|
case "sec_servicebilllist":
|
//ȨÏÞ
|
Sec_ServiceBillList oSec_ServiceBillList = new Sec_ServiceBillList();
|
oSec_ServiceBillList.MdiParent = oMain;
|
oSec_ServiceBillList.Show();
|
break;
|
case "sec_servicebill":
|
//
|
Sec_ServiceBill oSec_ServiceBill = new Sec_ServiceBill();
|
oSec_ServiceBill.ShowDialog();
|
break;
|
case "sec_servicesendworkbilllist":
|
//ȨÏÞ
|
Sec_ServiceSendWorkBillList oSec_ServiceSendWorkBillList = new Sec_ServiceSendWorkBillList();
|
oSec_ServiceSendWorkBillList.MdiParent = oMain;
|
oSec_ServiceSendWorkBillList.Show();
|
break;
|
case "sec_servicesendworkbill":
|
//
|
Sec_ServiceSendWorkBill oSec_ServiceSendWorkBill = new Sec_ServiceSendWorkBill();
|
oSec_ServiceSendWorkBill.ShowDialog();
|
break;
|
//case "cg_porequestbilllist":
|
// //ȨÏÞ
|
// Cg_PORequestBillList oCg_PORequestBillList = new Cg_PORequestBillList();
|
// oCg_PORequestBillList.MdiParent = oMain;
|
// oCg_PORequestBillList.Show();
|
// break;
|
//case "cg_porequestbill":
|
// //
|
// Cg_PORequestBill oCg_PORequestBill = new Cg_PORequestBill();
|
// oCg_PORequestBill.ShowDialog();
|
// break;
|
//case "cg_invoicebilllist":
|
// //ȨÏÞ
|
// Cg_InvoiceBillList oCg_InvoiceBillList = new Cg_InvoiceBillList();
|
// oCg_InvoiceBillList.MdiParent = oMain;
|
// oCg_InvoiceBillList.Show();
|
// break;
|
//case "cg_invoicebill":
|
// //
|
// Cg_InvoiceBill oCg_InvoiceBill = new Cg_InvoiceBill();
|
// oCg_InvoiceBill.ShowDialog();
|
// oCg_InvoiceBill.Dispose();
|
// break;
|
//case "cg_contractbilllist":
|
// //ȨÏÞ
|
// Cg_ContractBillList oCg_ContractBillList = new Cg_ContractBillList();
|
// oCg_ContractBillList.MdiParent = oMain;
|
// oCg_ContractBillList.Show();
|
|
// break;
|
//case "cg_contractbill":
|
// //
|
// Cg_ContractBill oCg_ContractBill = new Cg_ContractBill();
|
// oCg_ContractBill.ShowDialog();
|
// oCg_ContractBill.Dispose();
|
// break;
|
//case "cg_invoicespecbilllist":
|
// //ȨÏÞ
|
// Cg_InvoiceSpecBillList oCg_InvoiceSpecBillList = new Cg_InvoiceSpecBillList();
|
// oCg_InvoiceSpecBillList.MdiParent = oMain;
|
// oCg_InvoiceSpecBillList.Show();
|
// break;
|
//case "cg_invoicespecbill":
|
// //
|
// Cg_InvoiceSpecBill oCg_InvoiceSpecBill = new Cg_InvoiceSpecBill();
|
// oCg_InvoiceSpecBill.ShowDialog();
|
// break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region Éú²úϵͳ
|
public void Zxxymk_SCXT(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "sb_equiprepairworkbilllist":
|
//ȨÏÞ
|
Sb_EquipRepairWorkBillList oSb_EquipRepairWorkBillList = new Sb_EquipRepairWorkBillList();
|
oSb_EquipRepairWorkBillList.MdiParent = oMain;
|
oSb_EquipRepairWorkBillList.Show();
|
break;
|
case "sb_equiprepairworkbill":
|
//
|
Sb_EquipRepairWorkBill oSb_EquipRepairWorkBill = new Sb_EquipRepairWorkBill();
|
oSb_EquipRepairWorkBill.ShowDialog();
|
break;
|
case "sb_equiprepaircheckbilllist":
|
//ȨÏÞ
|
Sb_EquipRepairCheckBillList oSb_EquipRepairCheckBillList = new Sb_EquipRepairCheckBillList();
|
oSb_EquipRepairCheckBillList.MdiParent = oMain;
|
oSb_EquipRepairCheckBillList.Show();
|
break;
|
case "sb_equiprepaircheckbill":
|
//
|
Sb_EquipRepairCheckBill oSb_EquipRepairCheckBill = new Sb_EquipRepairCheckBill();
|
oSb_EquipRepairCheckBill.ShowDialog();
|
break;
|
|
case "sb_equipconkbookbilllist":
|
//ȨÏÞ
|
Sb_EquipConkBookBillList oSb_EquipConkBookBillList = new Sb_EquipConkBookBillList();
|
oSb_EquipConkBookBillList.MdiParent = oMain;
|
oSb_EquipConkBookBillList.Show();
|
break;
|
case "sb_equipconkbookbill":
|
//
|
Sb_EquipConkBookBill oSb_EquipConkBookBill = new Sb_EquipConkBookBill();
|
oSb_EquipConkBookBill.ShowDialog();
|
break;
|
|
case "sb_equiplubricatebilllist":
|
//ȨÏÞ
|
Sb_EquipLubricateBillList oSb_EquipLubricateBillList = new Sb_EquipLubricateBillList();
|
oSb_EquipLubricateBillList.MdiParent = oMain;
|
oSb_EquipLubricateBillList.Show();
|
break;
|
case "sb_equiplubricatebill":
|
//
|
Sb_EquipLubricateBill oSb_EquipLubricateBill = new Sb_EquipLubricateBill();
|
oSb_EquipLubricateBill.ShowDialog();
|
break;
|
case "sb_equiplubricateplanbilllist":
|
//ȨÏÞ
|
Sb_EquipLubricatePlanBillList oSb_EquipLubricatePlanBillList = new Sb_EquipLubricatePlanBillList();
|
oSb_EquipLubricatePlanBillList.MdiParent = oMain;
|
oSb_EquipLubricatePlanBillList.Show();
|
break;
|
case "sb_equiplubricateplanbill":
|
//
|
Sb_EquipLubricatePlanBill oSb_EquipLubricatePlanBill = new Sb_EquipLubricatePlanBill();
|
oSb_EquipLubricatePlanBill.ShowDialog();
|
break;
|
case "sb_equipdotcheckbilllist":
|
//ȨÏÞ
|
Sb_EquipDotCheckBillList oSb_EquipDotCheckBillList = new Sb_EquipDotCheckBillList();
|
oSb_EquipDotCheckBillList.MdiParent = oMain;
|
oSb_EquipDotCheckBillList.Show();
|
break;
|
case "sb_equipdotcheckbill":
|
//
|
Sb_EquipDotCheckBill oSb_EquipDotCheckBill = new Sb_EquipDotCheckBill();
|
oSb_EquipDotCheckBill.ShowDialog();
|
break;
|
case "sb_equipdotcheckplanbilllist":
|
//ȨÏÞ
|
Sb_EquipDotCheckPlanBillList oSb_EquipDotCheckPlanBillList = new Sb_EquipDotCheckPlanBillList();
|
oSb_EquipDotCheckPlanBillList.MdiParent = oMain;
|
oSb_EquipDotCheckPlanBillList.Show();
|
break;
|
case "sb_equipdotcheckplanbill":
|
//
|
Sb_EquipDotCheckPlanBill oSb_EquipDotCheckPlanBill = new Sb_EquipDotCheckPlanBill();
|
oSb_EquipDotCheckPlanBill.ShowDialog();
|
break;
|
case "sb_equipmaintainplanbilllist":
|
//ȨÏÞ
|
Sb_EquipMaintainPlanBillList oSb_EquipMaintainPlanBillList = new Sb_EquipMaintainPlanBillList();
|
oSb_EquipMaintainPlanBillList.MdiParent = oMain;
|
oSb_EquipMaintainPlanBillList.Show();
|
break;
|
case "sb_equipmaintainplanbill":
|
//
|
Sb_EquipMaintainPlanBill oSb_EquipMaintainPlanBill = new Sb_EquipMaintainPlanBill();
|
oSb_EquipMaintainPlanBill.ShowDialog();
|
break;
|
|
case "sb_equipmaintainbilllist":
|
//ȨÏÞ
|
Sb_EquipMaintainBillList oSb_EquipMaintainBillList = new Sb_EquipMaintainBillList();
|
oSb_EquipMaintainBillList.MdiParent = oMain;
|
oSb_EquipMaintainBillList.Show();
|
break;
|
case "sc_energyusebilllist":
|
//ȨÏÞ
|
Sc_EnergyUseBillList oSc_EnergyUseBillList = new Sc_EnergyUseBillList();
|
oSc_EnergyUseBillList.MdiParent = oMain;
|
oSc_EnergyUseBillList.Show();
|
break;
|
case "sc_producesafetybilllist":
|
//ȨÏÞ
|
Sc_ProduceSafetyBillList oSc_ProduceSafetyBillList = new Sc_ProduceSafetyBillList();
|
oSc_ProduceSafetyBillList.MdiParent = oMain;
|
oSc_ProduceSafetyBillList.Show();
|
break;
|
case "sc_worknotebilllist":
|
//ȨÏÞ
|
Sc_WorkNoteBillList oSc_WorkNoteBillList = new Sc_WorkNoteBillList();
|
oSc_WorkNoteBillList.MdiParent = oMain;
|
oSc_WorkNoteBillList.Show();
|
break;
|
case "sb_equipmaintainbill":
|
//
|
Sb_EquipMaintainBill oSb_EquipMaintainBill = new Sb_EquipMaintainBill();
|
oSb_EquipMaintainBill.ShowDialog();
|
break;
|
case "sc_energyusebill":
|
//
|
Sc_EnergyUseBill oSc_EnergyUseBill = new Sc_EnergyUseBill();
|
oSc_EnergyUseBill.ShowDialog();
|
break;
|
case "sc_producesafetybill":
|
//
|
Sc_ProduceSafetyBill oSc_ProduceSafetyBill = new Sc_ProduceSafetyBill();
|
oSc_ProduceSafetyBill.ShowDialog();
|
break;
|
case "sc_worknotebill":
|
//
|
Sc_WorkNoteBill oSc_WorkNoteBill = new Sc_WorkNoteBill();
|
oSc_WorkNoteBill.ShowDialog();
|
break;
|
|
case "sc_processsendworklist":
|
//ȨÏÞ
|
Sc_ProcessSendWorkList oSc_ProessSendWorkList = new Sc_ProcessSendWorkList();
|
oSc_ProessSendWorkList.MdiParent = oMain;
|
oSc_ProessSendWorkList.Show();
|
break;
|
case "sc_processsendwork":
|
//
|
Sc_ProcessSendWork oSc_ProessSendWork = new Sc_ProcessSendWork();
|
oSc_ProessSendWork.ShowDialog();
|
break;
|
case "sc_processreportlist":
|
//ȨÏÞ
|
Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList();
|
oSc_ProcessReportList.MdiParent = oMain;
|
oSc_ProcessReportList.Show();
|
break;
|
case "sc_processreport":
|
//
|
Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
|
oSc_ProcessReport.ShowDialog();
|
break;
|
case "sc_processplanlist":
|
//ȨÏÞ
|
Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList();
|
oSc_ProcessPlanList.MdiParent = oMain;
|
oSc_ProcessPlanList.Show();
|
break;
|
case "sc_processplan":
|
//
|
Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan();
|
oSc_ProcessPlan.ShowDialog();
|
break;
|
case "sc_icmobilllist":
|
//ȨÏÞ
|
Sc_ICMOBillList oSc_ICMOBillList = new Sc_ICMOBillList();
|
oSc_ICMOBillList.MdiParent = oMain;
|
oSc_ICMOBillList.Show();
|
break;
|
case "sc_icmobill":
|
//
|
Sc_ICMOBill oSc_ICMOBill = new Sc_ICMOBill();
|
oSc_ICMOBill.ShowDialog();
|
break;
|
case "sc_icmosortbilllist":
|
//ȨÏÞ
|
Sc_ICMOSortBillList oSc_ICMOSortBillList = new Sc_ICMOSortBillList();
|
oSc_ICMOSortBillList.MdiParent = oMain;
|
oSc_ICMOSortBillList.Show();
|
break;
|
case "sc_icmosortbill":
|
//ȨÏÞ
|
Sc_ICMOSortBill oSc_ICMOSortBill = new Sc_ICMOSortBill();
|
oSc_ICMOSortBill.MdiParent = oMain;
|
oSc_ICMOSortBill.Show();
|
break;
|
case "sc_icmoreportbilllist":
|
//ȨÏÞ
|
Sc_ICMOReportBillList oSc_ICMOReportBillList = new Sc_ICMOReportBillList();
|
oSc_ICMOReportBillList.MdiParent = oMain;
|
oSc_ICMOReportBillList.Show();
|
break;
|
case "sc_icmoreportbill":
|
//
|
Sc_ICMOReportBill oSc_ICMOReportBill = new Sc_ICMOReportBill();
|
oSc_ICMOReportBill.ShowDialog();
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region Ó¦ÊÕϵͳ
|
public void Zxxymk_YSXT(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "ys_receivebilllist":
|
//ȨÏÞ
|
YS_ReceiveBillList oYS_ReceiveBillList = new YS_ReceiveBillList();
|
oYS_ReceiveBillList.MdiParent = oMain;
|
oYS_ReceiveBillList.Show();
|
break;
|
case "ys_receivebill":
|
//
|
YS_ReceiveBill oYS_ReceiveBill = new YS_ReceiveBill();
|
oYS_ReceiveBill.ShowDialog();
|
break;
|
case "ys_receivebackbilllist":
|
//ȨÏÞ
|
YS_ReceiveBackBillList oYS_ReceiveBackBillList = new YS_ReceiveBackBillList();
|
oYS_ReceiveBackBillList.MdiParent = oMain;
|
oYS_ReceiveBackBillList.Show();
|
break;
|
case "ys_receivebackbill":
|
//
|
YS_ReceiveBackBill oYS_ReceiveBackBill = new YS_ReceiveBackBill();
|
oYS_ReceiveBackBill.ShowDialog();
|
break;
|
case "ys_receivebeforebilllist":
|
//ȨÏÞ
|
YS_ReceiveBeforeBillList oYS_ReceiveBeforeBillList = new YS_ReceiveBeforeBillList();
|
oYS_ReceiveBeforeBillList.MdiParent = oMain;
|
oYS_ReceiveBeforeBillList.Show();
|
break;
|
case "ys_receivebeforebill":
|
//
|
YS_ReceiveBeforeBill oYS_ReceiveBeforeBill = new YS_ReceiveBeforeBill();
|
oYS_ReceiveBeforeBill.ShowDialog();
|
break;
|
case "ys_receiveshouldbilllist":
|
//ȨÏÞ
|
YS_ReceiveShouldBillList oYS_ReceiveShouldBillList = new YS_ReceiveShouldBillList();
|
oYS_ReceiveShouldBillList.MdiParent = oMain;
|
oYS_ReceiveShouldBillList.Show();
|
break;
|
case "ys_receiveshouldbill":
|
//
|
YS_ReceiveShouldBill oYS_ReceiveShouldBill = new YS_ReceiveShouldBill();
|
oYS_ReceiveShouldBill.ShowDialog();
|
break;
|
case "ys_receiveotherbilllist":
|
//ȨÏÞ
|
YS_ReceiveOtherBillList oYS_ReceiveOtherBillList = new YS_ReceiveOtherBillList();
|
oYS_ReceiveOtherBillList.MdiParent = oMain;
|
oYS_ReceiveOtherBillList.Show();
|
break;
|
case "ys_receiveotherbill":
|
//
|
YS_ReceiveOtherBill oYS_ReceiveOtherBill = new YS_ReceiveOtherBill();
|
oYS_ReceiveOtherBill.ShowDialog();
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region Ó¦¸¶ÏµÍ³
|
public void Zxxymk_YFXT(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "yf_paymentbilllist":
|
//ȨÏÞ
|
YF_PayMentBillList oYF_PayMentBillList = new YF_PayMentBillList();
|
oYF_PayMentBillList.MdiParent = oMain;
|
oYF_PayMentBillList.Show();
|
break;
|
case "yf_paymentbill":
|
//
|
YF_PayMentBill oYF_PayMentBill = new YF_PayMentBill();
|
oYF_PayMentBill.ShowDialog();
|
break;
|
case "yf_paymentbackbilllist":
|
//ȨÏÞ
|
YF_PayMentBackBillList oYF_PayMentBackBillList = new YF_PayMentBackBillList();
|
oYF_PayMentBackBillList.MdiParent = oMain;
|
oYF_PayMentBackBillList.Show();
|
break;
|
case "yf_paymentbackbill":
|
//
|
YF_PayMentBackBill oYF_PayMentBackBill = new YF_PayMentBackBill();
|
oYF_PayMentBackBill.ShowDialog();
|
break;
|
case "yf_paymentbeforebilllist":
|
//ȨÏÞ
|
YF_PayMentBeforeBillList oYF_PayMentBeforeBillList = new YF_PayMentBeforeBillList();
|
oYF_PayMentBeforeBillList.MdiParent = oMain;
|
oYF_PayMentBeforeBillList.Show();
|
break;
|
case "yf_paymentbeforebill":
|
//
|
YF_PayMentBeforeBill oYF_PayMentBeforeBill = new YF_PayMentBeforeBill();
|
oYF_PayMentBeforeBill.ShowDialog();
|
break;
|
case "yf_paymentshouldbill":
|
//
|
YF_PayMentShouldBill oYF_PayMentShouldBill = new YF_PayMentShouldBill();
|
oYF_PayMentShouldBill.ShowDialog();
|
break;
|
case "yf_paymentshouldbilllist":
|
//ȨÏÞ
|
YF_PayMentShouldBillList oYF_PayMentShouldBillList = new YF_PayMentShouldBillList();
|
oYF_PayMentShouldBillList.MdiParent = oMain;
|
oYF_PayMentShouldBillList.Show();
|
break;
|
case "yf_paymentotherbilllist":
|
//ȨÏÞ
|
YF_PayMentOtherBillList oYF_PayMentOtherBillList = new YF_PayMentOtherBillList();
|
oYF_PayMentOtherBillList.MdiParent = oMain;
|
oYF_PayMentOtherBillList.Show();
|
break;
|
case "yf_paymentotherbill":
|
//
|
YF_PayMentOtherBill oYF_PayMentOtherBill = new YF_PayMentOtherBill();
|
oYF_PayMentOtherBill.ShowDialog();
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region ³É±¾ÏµÍ³
|
public void Zxxymk_CBXT(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
|
case "cb_setmatestdpricelist":
|
//ȨÏÞ
|
CB_SetMateStdPriceList oCB_SetMateStdPriceList = new CB_SetMateStdPriceList();
|
oCB_SetMateStdPriceList.MdiParent = oMain;
|
oCB_SetMateStdPriceList.Show();
|
break;
|
case "cb_accmateoutpricelist":
|
//ȨÏÞ
|
CB_AccMateOutPriceList oCB_AccMateOutPriceList = new CB_AccMateOutPriceList();
|
oCB_AccMateOutPriceList.MdiParent = oMain;
|
oCB_AccMateOutPriceList.Show();
|
break;
|
case "cb_sharepayment":
|
//ȨÏÞ
|
CB_SharePayment oCB_SharePayment = new CB_SharePayment();
|
oCB_SharePayment.MdiParent = oMain;
|
oCB_SharePayment.Show();
|
break;
|
case "cb_sharefees":
|
//ȨÏÞ
|
CB_ShareFees oCB_ShareFees = new CB_ShareFees();
|
oCB_ShareFees.MdiParent = oMain;
|
oCB_ShareFees.Show();
|
break;
|
case "cb_accprodinpricelist":
|
//ȨÏÞ
|
CB_AccProdInPriceList oCB_AccProdInPriceList = new CB_AccProdInPriceList();
|
oCB_AccProdInPriceList.MdiParent = oMain;
|
oCB_AccProdInPriceList.Show();
|
break;
|
case "cb_itemmoneybill":
|
//
|
CB_ItemMoneyBill oCB_ItemMoneyBill = new CB_ItemMoneyBill();
|
oCB_ItemMoneyBill.ShowDialog();
|
break;
|
case "cb_itemmoneybilllist":
|
//ȨÏÞ
|
CB_ItemMoneyBillList oCB_ItemMoneyBillList = new CB_ItemMoneyBillList();
|
oCB_ItemMoneyBillList.MdiParent = oMain;
|
oCB_ItemMoneyBillList.Show();
|
break;
|
case "kf_auxproductinbill":
|
//
|
Kf_AuxProductInBill oKf_AuxProductInBill = new Kf_AuxProductInBill();
|
oKf_AuxProductInBill.ShowDialog();
|
break;
|
case "kf_auxproductinbilllist":
|
//ȨÏÞ
|
Kf_AuxProductInBillList oKf_AuxProductInBillList = new Kf_AuxProductInBillList();
|
oKf_AuxProductInBillList.MdiParent = oMain;
|
oKf_AuxProductInBillList.Show();
|
break;
|
case "gy_itemmoney":
|
//ȨÏÞ
|
Gy_ItemMoney oGy_ItemMoney = new Gy_ItemMoney();
|
oGy_ItemMoney.MdiParent = oMain;
|
oGy_ItemMoney.Show();
|
break;
|
case "gy_itemtax":
|
//ȨÏÞ
|
Gy_ItemTax oGy_ItemTax = new Gy_ItemTax();
|
oGy_ItemTax.MdiParent = oMain;
|
oGy_ItemTax.Show();
|
break;
|
//case "gy_proccomm":
|
// //ȨÏÞ
|
// Gy_ProcComm oGy_ProcComm = new Gy_ProcComm();
|
// oGy_ProcComm.MdiParent = oMain;
|
// oGy_ProcComm.Show();
|
// break;
|
case "gy_process":
|
//ȨÏÞ
|
Gy_Process oGy_Process = new Gy_Process();
|
oGy_Process.MdiParent = oMain;
|
oGy_Process.Show();
|
break;
|
case "cb_puritemprice":
|
//ȨÏÞ
|
CB_PurItemPrice oCB_PurItemPrice = new CB_PurItemPrice();
|
oCB_PurItemPrice.MdiParent = oMain;
|
oCB_PurItemPrice.Show();
|
break;
|
//case "cb_commitemprice":
|
// //ȨÏÞ
|
// CB_CommItemPrice oCB_CommItemPrice = new CB_CommItemPrice();
|
// oCB_CommItemPrice.MdiParent = oMain;
|
// oCB_CommItemPrice.Show();
|
// break;
|
case "cb_prditemprice":
|
//ȨÏÞ
|
CB_PrdItemPrice oCB_PrdItemPrice = new CB_PrdItemPrice();
|
oCB_PrdItemPrice.MdiParent = oMain;
|
oCB_PrdItemPrice.Show();
|
break;
|
case "gy_procprice":
|
//ȨÏÞ
|
Gy_ProcPriceList oGy_ProcPrice = new Gy_ProcPriceList();
|
oGy_ProcPrice.MdiParent = oMain;
|
oGy_ProcPrice.Show();
|
break;
|
//case "gy_proccommprice":
|
// //ȨÏÞ
|
// Gy_ProcCommPrice oGy_ProcCommPrice = new Gy_ProcCommPrice();
|
// oGy_ProcCommPrice.MdiParent = oMain;
|
// oGy_ProcCommPrice.Show();
|
// break;
|
case "cb_deptbalacebill":
|
//
|
CB_DeptBalaceBill oCB_DeptBalaceBill = new CB_DeptBalaceBill();
|
oCB_DeptBalaceBill.ShowDialog();
|
break;
|
case "cb_deptbalacebilllist":
|
//ȨÏÞ
|
CB_DeptBalaceBillList oCB_DeptBalaceBillList = new CB_DeptBalaceBillList();
|
oCB_DeptBalaceBillList.MdiParent = oMain;
|
oCB_DeptBalaceBillList.Show();
|
break;
|
case "cb_stdcostreport":
|
//ȨÏÞ
|
//CB_StdCostReport oCB_StdCostReport = new CB_StdCostReport();
|
//oCB_StdCostReport.MdiParent = oMain;
|
//oCB_StdCostReport.Show();
|
break;
|
case "cb_stdbomcost":
|
//ȨÏÞ
|
CB_StdBOMCost oCB_StdBOMCost = new CB_StdBOMCost();
|
oCB_StdBOMCost.MdiParent = oMain;
|
oCB_StdBOMCost.Show();
|
break;
|
case "cb_batchcostreport":
|
//ȨÏÞ
|
CB_BatchCostReport oCB_BatchCostReport = new CB_BatchCostReport();
|
oCB_BatchCostReport.MdiParent = oMain;
|
oCB_BatchCostReport.Show();
|
break;
|
case "cb_monthcostreport":
|
//ȨÏÞ
|
CB_MonthCostReport oCB_MonthCostReport = new CB_MonthCostReport();
|
oCB_MonthCostReport.MdiParent = oMain;
|
oCB_MonthCostReport.Show();
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region ²Ö¿âϵͳ
|
public void Zxxymk_CKXT(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "hg_stdbominterface":
|
//ȨÏÞ
|
HG_stdBomInterFace oHG_stdBomInterFace = new HG_stdBomInterFace();
|
oHG_stdBomInterFace.MdiParent = oMain;
|
oHG_stdBomInterFace.Show();
|
break;
|
case "kf_cailiao":
|
//ȨÏÞ
|
Kf_Cailiao oKf_Cailiao = new Kf_Cailiao();
|
oKf_Cailiao.MdiParent = oMain;
|
oKf_Cailiao.Show();
|
break;
|
case "kf_materback":
|
//ȨÏÞ
|
KF_MaterBack oKF_MaterBack = new KF_MaterBack();
|
oKF_MaterBack.MdiParent = oMain;
|
oKF_MaterBack.Show();
|
break;
|
case "k3_productinbilllist":
|
//ȨÏÞ
|
K3_ProductInBillList oK3_ProductInBillList = new K3_ProductInBillList();
|
oK3_ProductInBillList.MdiParent = oMain;
|
oK3_ProductInBillList.Show();
|
break;
|
case "k3_selloutbilllist":
|
//ȨÏÞ
|
K3_SellOutBillList oK3_SellOutBillList = new K3_SellOutBillList();
|
oK3_SellOutBillList.MdiParent = oMain;
|
oK3_SellOutBillList.Show();
|
break;
|
case "kf_inceptentinbilllist":
|
//ȨÏÞ
|
Kf_InceptEntInBillList oKf_InceptEntInBillList = new Kf_InceptEntInBillList();
|
oKf_InceptEntInBillList.MdiParent = oMain;
|
oKf_InceptEntInBillList.Show();
|
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();
|
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();
|
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();
|
break;
|
case "kf_entrustoutbill":
|
//
|
Kf_EntrustOutBill oKf_EntrustOutBill = new Kf_EntrustOutBill();
|
oKf_EntrustOutBill.ShowDialog();
|
break;
|
|
case "kf_selloutbilllist":
|
//ȨÏÞ
|
Kf_SellOutBillList oKf_SellOutBillList = new Kf_SellOutBillList();
|
oKf_SellOutBillList.MdiParent = oMain;
|
oKf_SellOutBillList.Show();
|
break;
|
case "kf_selloutbill":
|
//
|
Kf_SellOutBill oKf_SellOutBill = new Kf_SellOutBill();
|
oKf_SellOutBill.ShowDialog();
|
break;
|
case "kf_mateoutbilllist":
|
//ȨÏÞ
|
Kf_MateOutBillList oKf_MateOutBillList = new Kf_MateOutBillList();
|
oKf_MateOutBillList.MdiParent = oMain;
|
oKf_MateOutBillList.Show();
|
break;
|
case "kf_mateoutbill":
|
//
|
Kf_MateOutBill oKf_MateOutBill = new Kf_MateOutBill();
|
oKf_MateOutBill.ShowDialog();
|
break;
|
case "kf_productinbilllist":
|
//ȨÏÞ
|
Kf_ProductInBillList oKf_ProductInBillList = new Kf_ProductInBillList();
|
oKf_ProductInBillList.MdiParent = oMain;
|
oKf_ProductInBillList.Show();
|
break;
|
case "kf_productinbill":
|
//
|
Kf_ProductInBill oKf_ProductInBill = new Kf_ProductInBill();
|
oKf_ProductInBill.ShowDialog();
|
break;
|
case "kf_postockinbilllist":
|
//ȨÏÞ
|
Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList();
|
oKf_POStockInBillList.MdiParent = oMain;
|
oKf_POStockInBillList.Show();
|
break;
|
case "kf_postockinbill":
|
//
|
Kf_POStockInBill oKf_POStockInBill = new Kf_POStockInBill();
|
oKf_POStockInBill.ShowDialog();
|
break;
|
case "kf_otherinbilllist":
|
//ȨÏÞ
|
Kf_OtherInBillList oKf_OtherInBillList = new Kf_OtherInBillList();
|
oKf_OtherInBillList.MdiParent = oMain;
|
oKf_OtherInBillList.Show();
|
break;
|
case "kf_otherinbill":
|
//
|
Kf_OtherInBill oKf_OtherInBill = new Kf_OtherInBill();
|
oKf_OtherInBill.ShowDialog();
|
break;
|
case "kf_otheroutbilllist":
|
//ȨÏÞ
|
Kf_OtherOutBillList oKf_OtherOutBillList = new Kf_OtherOutBillList();
|
oKf_OtherOutBillList.MdiParent = oMain;
|
oKf_OtherOutBillList.Show();
|
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();
|
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();
|
break;
|
case "kf_checkstockbill":
|
//
|
Kf_CheckStockBill oKf_CheckStockBill = new Kf_CheckStockBill();
|
oKf_CheckStockBill.ShowDialog();
|
break;
|
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region ²É¹ºÏµÍ³
|
public void Zxxymk_CGXT(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "kf_postockinbilllist":
|
//ȨÏÞ
|
Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList();
|
oKf_POStockInBillList.MdiParent = oMain;
|
oKf_POStockInBillList.Show();
|
break;
|
case "kf_postockinbill":
|
//
|
Kf_POStockInBill oKf_POStockInBill = new Kf_POStockInBill();
|
oKf_POStockInBill.ShowDialog();
|
break;
|
case "cg_poorderbilllist":
|
//ȨÏÞ
|
Cg_POOrderBillList oCg_POOrderBillList = new Cg_POOrderBillList();
|
oCg_POOrderBillList.MdiParent = oMain;
|
oCg_POOrderBillList.Show();
|
break;
|
case "cg_poorderbill":
|
//
|
Cg_POOrderBill oCg_POOrderBill = new Cg_POOrderBill();
|
oCg_POOrderBill.ShowDialog();
|
break;
|
case "cg_poinstockbilllist":
|
//ȨÏÞ
|
Cg_POInStockBillList oCg_POInStockBillList = new Cg_POInStockBillList();
|
oCg_POInStockBillList.MdiParent = oMain;
|
oCg_POInStockBillList.Show();
|
break;
|
case "cg_poinstockbill":
|
//
|
Cg_POInStockBill oCg_POInStockBill = new Cg_POInStockBill();
|
oCg_POInStockBill.ShowDialog();
|
break;
|
case "cg_poinstockbackbilllist":
|
//ȨÏÞ
|
Cg_POInStockBackBillList oCg_POInStockBackBillList = new Cg_POInStockBackBillList();
|
oCg_POInStockBackBillList.MdiParent = oMain;
|
oCg_POInStockBackBillList.Show();
|
break;
|
case "cg_poinstockbackbill":
|
//
|
Cg_POInStockBackBill oCg_POInStockBackBill = new Cg_POInStockBackBill();
|
oCg_POInStockBackBill.ShowDialog();
|
break;
|
case "cg_porequestbilllist":
|
//ȨÏÞ
|
Cg_PORequestBillList oCg_PORequestBillList = new Cg_PORequestBillList();
|
oCg_PORequestBillList.MdiParent = oMain;
|
oCg_PORequestBillList.Show();
|
break;
|
case "cg_porequestbill":
|
//
|
Cg_PORequestBill oCg_PORequestBill = new Cg_PORequestBill();
|
oCg_PORequestBill.ShowDialog();
|
break;
|
case "cg_invoicebilllist":
|
//ȨÏÞ
|
Cg_InvoiceBillList oCg_InvoiceBillList = new Cg_InvoiceBillList();
|
oCg_InvoiceBillList.MdiParent = oMain;
|
oCg_InvoiceBillList.Show();
|
break;
|
case "cg_invoicebill":
|
//
|
Cg_InvoiceBill oCg_InvoiceBill = new Cg_InvoiceBill();
|
oCg_InvoiceBill.ShowDialog();
|
oCg_InvoiceBill.Dispose();
|
break;
|
case "cg_contractbilllist":
|
//ȨÏÞ
|
Cg_ContractBillList oCg_ContractBillList = new Cg_ContractBillList();
|
oCg_ContractBillList.MdiParent = oMain;
|
oCg_ContractBillList.Show();
|
|
break;
|
case "cg_contractbill":
|
//
|
Cg_ContractBill oCg_ContractBill = new Cg_ContractBill();
|
oCg_ContractBill.ShowDialog();
|
oCg_ContractBill.Dispose();
|
break;
|
case "cg_invoicespecbilllist":
|
//ȨÏÞ
|
Cg_InvoiceSpecBillList oCg_InvoiceSpecBillList = new Cg_InvoiceSpecBillList();
|
oCg_InvoiceSpecBillList.MdiParent = oMain;
|
oCg_InvoiceSpecBillList.Show();
|
break;
|
case "cg_invoicespecbill":
|
//
|
Cg_InvoiceSpecBill oCg_InvoiceSpecBill = new Cg_InvoiceSpecBill();
|
oCg_InvoiceSpecBill.ShowDialog();
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region ÏúÊÛϵͳ
|
public void Zxxymk_XSXT(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "k3_seorderbilllist":
|
//ȨÏÞ
|
K3_SeOrderBillList oK3_SeOrderBillList = new K3_SeOrderBillList();
|
oK3_SeOrderBillList.MdiParent = oMain;
|
oK3_SeOrderBillList.Show();
|
break;
|
case "k3_seorderbill":
|
//
|
K3_SeOrderBill oK3_SeOrderBill = new K3_SeOrderBill();
|
oK3_SeOrderBill.ShowDialog();
|
break;
|
|
case "kf_selloutbilllist":
|
//ȨÏÞ
|
Kf_SellOutBillList oKf_SellOutBillList = new Kf_SellOutBillList();
|
oKf_SellOutBillList.MdiParent = oMain;
|
oKf_SellOutBillList.Show();
|
break;
|
case "kf_selloutbill":
|
//
|
Kf_SellOutBill oKf_SellOutBill = new Kf_SellOutBill();
|
oKf_SellOutBill.ShowDialog();
|
break;
|
case "xs_contractbilllist":
|
//ȨÏÞ
|
Xs_ContractBillList oXs_ContractBillList = new Xs_ContractBillList();
|
oXs_ContractBillList.MdiParent = oMain;
|
oXs_ContractBillList.Show();
|
break;
|
case "xs_contractbill":
|
//
|
Xs_ContractBill oXs_ContractBill = new Xs_ContractBill();
|
oXs_ContractBill.ShowDialog();
|
break;
|
case "xs_seorderbilllist":
|
//ȨÏÞ
|
Xs_SeOrderBillList oXs_SeOrderBillList = new Xs_SeOrderBillList();
|
oXs_SeOrderBillList.MdiParent = oMain;
|
oXs_SeOrderBillList.Show();
|
break;
|
case "xs_seorderbill":
|
//
|
Xs_SeOrderBill oXs_SeOrderBill = new Xs_SeOrderBill();
|
oXs_SeOrderBill.ShowDialog();
|
break;
|
case "xs_seoutstockbilllist":
|
//ȨÏÞ
|
Xs_SeOutStockBillList oXs_SeOutStockBillList = new Xs_SeOutStockBillList();
|
oXs_SeOutStockBillList.MdiParent = oMain;
|
oXs_SeOutStockBillList.Show();
|
break;
|
case "xs_seoutstockbill":
|
//
|
Xs_SeOutStockBill oXs_SeOutStockBill = new Xs_SeOutStockBill();
|
oXs_SeOutStockBill.ShowDialog();
|
break;
|
case "xs_seoutstockbackbilllist":
|
//ȨÏÞ
|
Xs_SeOutStockBackBillList oXs_SeOutStockBackBillList = new Xs_SeOutStockBackBillList();
|
oXs_SeOutStockBackBillList.MdiParent = oMain;
|
oXs_SeOutStockBackBillList.Show();
|
break;
|
case "xs_seoutstockbackbill":
|
//
|
Xs_SeOutStockBackBill oXs_SeOutStockBackBill = new Xs_SeOutStockBackBill();
|
oXs_SeOutStockBackBill.ShowDialog();
|
break;
|
case "xs_invoicebilllist":
|
//ȨÏÞ
|
Xs_InvoiceBillList oXs_InvoiceBillList = new Xs_InvoiceBillList();
|
oXs_InvoiceBillList.MdiParent = oMain;
|
oXs_InvoiceBillList.Show();
|
break;
|
case "xs_invoicebill":
|
//
|
Xs_InvoiceBill oXs_InvoiceBill = new Xs_InvoiceBill();
|
oXs_InvoiceBill.ShowDialog();
|
break;
|
case "xs_invoicespecbilllist":
|
//ȨÏÞ
|
Xs_InvoiceSpecBillList oXs_InvoiceSpecBillList = new Xs_InvoiceSpecBillList();
|
oXs_InvoiceSpecBillList.MdiParent = oMain;
|
oXs_InvoiceSpecBillList.Show();
|
break;
|
case "xs_invoicespecbill":
|
//
|
Xs_InvoiceSpecBill oXs_InvoiceSpecBill = new Xs_InvoiceSpecBill();
|
oXs_InvoiceSpecBill.ShowDialog();
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region ¹¤×Êϵͳ
|
public void Zxxymk_GZXT(string gnsy, Form oMain)
|
{
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "pay_outapplybilllist":
|
//ȨÏÞ
|
Pay_OutApplyBillList oPay_OutApplyBillList = new Pay_OutApplyBillList();
|
oPay_OutApplyBillList.MdiParent = oMain;
|
oPay_OutApplyBillList.Show();
|
break;
|
case "pay_outapplybill":
|
//
|
Pay_OutApplyBill oPay_OutApplyBill = new Pay_OutApplyBill();
|
oPay_OutApplyBill.ShowDialog();
|
break;
|
|
case "pay_procpricerequestbilllist":
|
//ȨÏÞ
|
Pay_ProcPriceRequestBillList oPay_ProcPriceRequestBillList = new Pay_ProcPriceRequestBillList();
|
oPay_ProcPriceRequestBillList.MdiParent = oMain;
|
oPay_ProcPriceRequestBillList.Show();
|
break;
|
case "pay_procpricerequestbill":
|
//
|
Pay_ProcPriceRequestBill oPay_ProcPriceRequestBill = new Pay_ProcPriceRequestBill();
|
oPay_ProcPriceRequestBill.ShowDialog();
|
break;
|
//case "pay_exambalbilllist":
|
// //ȨÏÞ
|
// Pay_ExamBalBillList oPay_ExamBalBillList = new Pay_ExamBalBillList();
|
// oPay_ExamBalBillList.MdiParent = oMain;
|
// oPay_ExamBalBillList.Show();
|
// break;
|
//case "pay_exambalbill":
|
// //
|
// Pay_ExamBalBill oPay_ExamBalBill = new Pay_ExamBalBill();
|
// oPay_ExamBalBill.ShowDialog();
|
// break;
|
case "pay_worktimesbilllist":
|
//ȨÏÞ
|
Pay_WorkTimesBillList oPay_WorkTimesBillList = new Pay_WorkTimesBillList();
|
oPay_WorkTimesBillList.MdiParent = oMain;
|
oPay_WorkTimesBillList.Show();
|
break;
|
case "pay_worktimesbill":
|
//
|
Pay_WorkTimesBill oPay_WorkTimesBill = new Pay_WorkTimesBill();
|
oPay_WorkTimesBill.ShowDialog();
|
break;
|
case "pay_paymentbilllist":
|
//ȨÏÞ
|
Pay_PayMentBillList oPay_PayMentBillList = new Pay_PayMentBillList();
|
oPay_PayMentBillList.MdiParent = oMain;
|
oPay_PayMentBillList.Show();
|
break;
|
case "pay_paymentbill":
|
//
|
Pay_PayMentBill oPay_PayMentBill = new Pay_PayMentBill();
|
oPay_PayMentBill.MdiParent = oMain;
|
oPay_PayMentBill.Show();
|
break;
|
case "pay_groupbalbilllist":
|
//ȨÏÞ
|
Pay_GroupBalBillList oPay_GroupBalBillList = new Pay_GroupBalBillList();
|
oPay_GroupBalBillList.MdiParent = oMain;
|
oPay_GroupBalBillList.Show();
|
break;
|
case "pay_groupbalbill":
|
//
|
Pay_GroupBalBill oPay_GroupBalBill = new Pay_GroupBalBill();
|
oPay_GroupBalBill.ShowDialog();
|
break;
|
case "pay_singlebalbilllist":
|
//ȨÏÞ
|
Pay_SingleBalBillList oPay_SingleBalBillList = new Pay_SingleBalBillList();
|
oPay_SingleBalBillList.MdiParent = oMain;
|
oPay_SingleBalBillList.Show();
|
break;
|
case "pay_singlebalbill":
|
//
|
Pay_SingleBalBill oPay_SingleBalBill = new Pay_SingleBalBill();
|
oPay_SingleBalBill.ShowDialog();
|
break;
|
case "pay_otherbalbilllist":
|
//ȨÏÞ
|
Pay_OtherBalBillList oPay_OtherBalBillList = new Pay_OtherBalBillList();
|
oPay_OtherBalBillList.MdiParent = oMain;
|
oPay_OtherBalBillList.Show();
|
break;
|
case "pay_otherbalbill":
|
//
|
Pay_OtherBalBill oPay_OtherBalBill = new Pay_OtherBalBill();
|
oPay_OtherBalBill.ShowDialog();
|
break;
|
case "pay_overapplybill":
|
//
|
Pay_OverApplyBill oPay_OverApplyBill = new Pay_OverApplyBill();
|
oPay_OverApplyBill.ShowDialog();
|
break;
|
case "pay_overapplybilllist":
|
//ȨÏÞ
|
Pay_OverApplyBillList oPay_OverApplyBillList = new Pay_OverApplyBillList();
|
oPay_OverApplyBillList.MdiParent = oMain;
|
oPay_OverApplyBillList.Show();
|
break;
|
|
case "pay_timeschangebilllist":
|
//ȨÏÞ
|
Pay_TimesChangeBillList oPay_TimesChangeBillList = new Pay_TimesChangeBillList();
|
oPay_TimesChangeBillList.MdiParent = oMain;
|
oPay_TimesChangeBillList.Show();
|
break;
|
case "pay_timeschangebill":
|
//
|
Pay_TimesChangeBill oPay_TimesChangeBill = new Pay_TimesChangeBill();
|
oPay_TimesChangeBill.ShowDialog();
|
break;
|
//case "pay_paymoneybilldatain":
|
// //ȨÏÞ
|
// Pay_PayMoneyBillDataIn oPay_PayMoneyBill = new Pay_PayMoneyBillDataIn();
|
// oPay_PayMoneyBill.MdiParent = oMain;
|
// oPay_PayMoneyBill.Show();
|
// break;
|
//case "pay_monthworktimedatain":
|
// //ȨÏÞ
|
// Pay_MonthWorkTimeDataIn oPay_MonthWorkTimeDataIn = new Pay_MonthWorkTimeDataIn();
|
// //oPay_MonthWorkTimeDataIn.MdiParent = oMain;
|
// oPay_MonthWorkTimeDataIn.ShowDialog();
|
// break;
|
//case "pay_monthworktimedatain2":
|
// //ȨÏÞ
|
// Pay_MonthWorkTimeDataIn2 oPay_MonthWorkTimeDataIn2 = new Pay_MonthWorkTimeDataIn2();
|
// //oPay_MonthWorkTimeDataIn.MdiParent = oMain;
|
// oPay_MonthWorkTimeDataIn2.ShowDialog();
|
// break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message);
|
}
|
}
|
#endregion
|
|
#region »ù´¡ÉèÖÃ
|
public void Zxxymk_JCSJ(string gnsy, Form oMain)
|
{
|
Form sFrm;
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "gy_conkreason": //
|
Gy_ConkReason oGy_ConkReason = new Gy_ConkReason();
|
oGy_ConkReason.MdiParent = oMain;
|
oGy_ConkReason.Show();
|
break;
|
case "gy_conktype": //
|
Gy_ConkType oGy_ConkType = new Gy_ConkType();
|
oGy_ConkType.MdiParent = oMain;
|
oGy_ConkType.Show();
|
break;
|
case "gy_repair": //
|
Gy_Repair oGy_Repair = new Gy_Repair();
|
oGy_Repair.MdiParent = oMain;
|
oGy_Repair.Show();
|
break;
|
case "gy_repaircheck": //
|
Gy_RepairCheck oGy_RepairCheck = new Gy_RepairCheck();
|
oGy_RepairCheck.MdiParent = oMain;
|
oGy_RepairCheck.Show();
|
break;
|
|
case "gy_stockplace": //²Öλ
|
Gy_StockPlace oGy_StockPlace = new Gy_StockPlace();
|
oGy_StockPlace.MdiParent = oMain;
|
oGy_StockPlace.Show();
|
break;
|
case "gy_suptarget": //
|
Gy_SupTarget oGy_SupTarget = new Gy_SupTarget();
|
oGy_SupTarget.MdiParent = oMain;
|
oGy_SupTarget.Show();
|
break;
|
case "gy_consume": //Ïû·ÑÏîÄ¿
|
Gy_Consume oGy_Consume = new Gy_Consume();
|
oGy_Consume.MdiParent = oMain;
|
oGy_Consume.Show();
|
break;
|
case "gy_present": //ÀñÆ·ÉèÖÃ
|
Gy_Present oGy_Present = new Gy_Present();
|
oGy_Present.MdiParent = oMain;
|
oGy_Present.Show();
|
break;
|
case "gy_viplevel": //»áÔ±µÈ¼¶
|
Gy_VipLevel oGy_VipLevel = new Gy_VipLevel();
|
oGy_VipLevel.MdiParent = oMain;
|
oGy_VipLevel.Show();
|
break;
|
case "gy_vip": //»áÔ±ÉèÖÃ
|
Gy_Vip oGy_Vip = new Gy_Vip();
|
oGy_Vip.MdiParent = oMain;
|
oGy_Vip.Show();
|
break;
|
case "gy_paytype": //¸¶¿î·½Ê½
|
Gy_PayType oGy_PayType = new Gy_PayType();
|
oGy_PayType.MdiParent = oMain;
|
oGy_PayType.Show();
|
break;
|
case "gy_markrule": //»ý·Ö¹æÔò
|
Gy_MarkRule oGy_MarkRule = new Gy_MarkRule();
|
oGy_MarkRule.MdiParent = oMain;
|
oGy_MarkRule.Show();
|
break;
|
case "gy_payrule": //³äÖµ¹æÔò
|
Gy_PayRule oGy_PayRule = new Gy_PayRule();
|
oGy_PayRule.MdiParent = oMain;
|
oGy_PayRule.Show();
|
break;
|
case "k3_warehouse":
|
K3_Warehouse oK3_Warehouse = new K3_Warehouse();
|
oK3_Warehouse.MdiParent = oMain;
|
oK3_Warehouse.Show();
|
break;
|
case "k3_supplier":
|
K3_Supplier oK3_Supplier = new K3_Supplier();
|
oK3_Supplier.MdiParent = oMain;
|
oK3_Supplier.Show();
|
break;
|
case "k3_customer":
|
K3_Customer oK3_Customer = new K3_Customer();
|
oK3_Customer.MdiParent = oMain;
|
oK3_Customer.Show();
|
break;
|
case "k3_area":
|
K3_Area oK3_Area = new K3_Area();
|
oK3_Area.MdiParent = oMain;
|
oK3_Area.Show();
|
break;
|
case "k3_currency":
|
K3_Currency oK3_Currency = new K3_Currency();
|
oK3_Currency.MdiParent = oMain;
|
oK3_Currency.Show();
|
break;
|
case "k3_unit":
|
K3_Unit oK3_Unit = new K3_Unit();
|
oK3_Unit.MdiParent = oMain;
|
oK3_Unit.Show();
|
break;
|
case "gy_repairtype":
|
Gy_RepairType oGy_RepairType = new Gy_RepairType();
|
oGy_RepairType.MdiParent = oMain;
|
oGy_RepairType.Show();
|
break;
|
case "gy_trade":
|
Gy_Trade oGy_Trade = new Gy_Trade();
|
oGy_Trade.MdiParent = oMain;
|
oGy_Trade.Show();
|
break;
|
case "gy_evaluatestatus":
|
Gy_EvaluateStatus oGy_EvaluateStatus = new Gy_EvaluateStatus();
|
oGy_EvaluateStatus.MdiParent = oMain;
|
oGy_EvaluateStatus.Show();
|
break;
|
case "gy_expensestatus":
|
Gy_ExpenseStatus oGy_ExpenseStatus = new Gy_ExpenseStatus();
|
oGy_ExpenseStatus.MdiParent = oMain;
|
oGy_ExpenseStatus.Show();
|
break;
|
case "gy_sectype":
|
Gy_SecType oGy_SecType = new Gy_SecType();
|
oGy_SecType.MdiParent = oMain;
|
oGy_SecType.Show();
|
break;
|
|
case "gy_comkind":
|
Gy_ComKind oGy_ComKind = new Gy_ComKind();
|
oGy_ComKind.MdiParent = oMain;
|
oGy_ComKind.Show();
|
break;
|
case "gy_comscope":
|
Gy_ComScope oGy_ComScope = new Gy_ComScope();
|
oGy_ComScope.MdiParent = oMain;
|
oGy_ComScope.Show();
|
break;
|
case "gy_comsort":
|
Gy_ComSort oGy_ComSort = new Gy_ComSort();
|
oGy_ComSort.MdiParent = oMain;
|
oGy_ComSort.Show();
|
break;
|
case "gy_comtype":
|
Gy_ComType oGy_ComType = new Gy_ComType();
|
oGy_ComType.MdiParent = oMain;
|
oGy_ComType.Show();
|
break;
|
case "gy_supsort":
|
Gy_SupSort oGy_SupSort = new Gy_SupSort();
|
oGy_SupSort.MdiParent = oMain;
|
oGy_SupSort.Show();
|
break;
|
case "gy_supstatus":
|
Gy_SupStatus oGy_SupStatus = new Gy_SupStatus();
|
oGy_SupStatus.MdiParent = oMain;
|
oGy_SupStatus.Show();
|
break;
|
case "k3_department":
|
K3_Department oK3_Department = new K3_Department();
|
oK3_Department.MdiParent = oMain;
|
oK3_Department.Show();
|
break;
|
case "hg_currency":
|
HG_Currency oHG_Currency = new HG_Currency();
|
oHG_Currency.MdiParent = oMain;
|
oHG_Currency.Show();
|
break;
|
case "hg_countryarea":
|
HG_CountryArea oHG_CountryArea = new HG_CountryArea();
|
oHG_CountryArea.MdiParent = oMain;
|
oHG_CountryArea.Show();
|
break;
|
case "hg_unit":
|
HG_Unit oHG_Unit = new HG_Unit();
|
oHG_Unit.MdiParent = oMain;
|
oHG_Unit.Show();
|
break;
|
case "hg_use":
|
HG_Use oHG_Use = new HG_Use();
|
oHG_Use.MdiParent = oMain;
|
oHG_Use.Show();
|
break;
|
case "hg_freetaxitem":
|
HG_FreeTaxItem oHG_FreeTaxItem = new HG_FreeTaxItem();
|
oHG_FreeTaxItem.MdiParent = oMain;
|
oHG_FreeTaxItem.Show();
|
break;
|
case "gy_worktimes":
|
Gy_WorkTimes oGy_WorkTimes = new Gy_WorkTimes();
|
oGy_WorkTimes.MdiParent = oMain;
|
oGy_WorkTimes.Show();
|
break;
|
case "gy_equipfile":
|
Gy_EquipFile oGy_EquipFile = new Gy_EquipFile();
|
oGy_EquipFile.ShowDialog();
|
break;
|
case "gy_equipfilelist":
|
Gy_EquipFileList oGy_EquipFileList = new Gy_EquipFileList();
|
oGy_EquipFileList.MdiParent = oMain;
|
oGy_EquipFileList.Show();
|
break;
|
case "gy_maintain": //»ÃÐÄ
|
Gy_PaperSort oGy_Maintain = new Gy_PaperSort();
|
oGy_Maintain.MdiParent = oMain;
|
oGy_Maintain.Show();
|
break;
|
case "gy_energy":
|
Gy_Energy oGy_Energy = new Gy_Energy();
|
oGy_Energy.MdiParent = oMain;
|
oGy_Energy.Show();
|
break;
|
case "gy_safety":
|
Gy_Safety oGy_Safety = new Gy_Safety();
|
oGy_Safety.MdiParent = oMain;
|
oGy_Safety.Show();
|
break;
|
|
case "gy_procpricerela":
|
Gy_ProcPriceRela oGy_ProcPriceRela = new Gy_ProcPriceRela();
|
oGy_ProcPriceRela.MdiParent = oMain;
|
oGy_ProcPriceRela.Show();
|
break;
|
case "gy_workpaytype":
|
Gy_WorkPayType oGy_WorkPayType = new Gy_WorkPayType();
|
oGy_WorkPayType.MdiParent = oMain;
|
oGy_WorkPayType.Show();
|
break;
|
case "gy_dusubsidyitem":
|
Gy_DuSubsidyItem oGy_DuSubsidyItem = new Gy_DuSubsidyItem();
|
oGy_DuSubsidyItem.MdiParent = oMain;
|
oGy_DuSubsidyItem.Show();
|
break;
|
case "gy_custype":
|
Gy_CusType oGy_CusType = new Gy_CusType();
|
oGy_CusType.MdiParent = oMain;
|
oGy_CusType.Show();
|
break;
|
case "gy_suptype":
|
Gy_SupType oGy_SupType = new Gy_SupType();
|
oGy_SupType.MdiParent = oMain;
|
oGy_SupType.Show();
|
break;
|
case "gy_process":
|
Gy_Process oFrm = new Gy_Process();
|
oFrm.MdiParent = oMain;
|
oFrm.Show();
|
break;
|
case "gy_proccomm":
|
Gy_ProcComm oGy_ProcComm = new Gy_ProcComm();
|
oGy_ProcComm.MdiParent = oMain;
|
oGy_ProcComm.Show();
|
break;
|
case "gy_department":
|
//ȨÏÞ
|
Gy_Department oDept = new Gy_Department();
|
oDept.MdiParent = oMain;
|
oDept.Show();
|
break;
|
case "gy_currency":
|
//ȨÏÞ
|
Gy_Currency oCur = new Gy_Currency();
|
oCur.MdiParent = oMain;
|
oCur.Show();
|
break;
|
case "gy_customer":
|
//ȨÏÞ
|
Gy_Customer oCus = new Gy_Customer();
|
oCus.MdiParent = oMain;
|
oCus.Show();
|
break;
|
case "gy_supplier":
|
//ȨÏÞ
|
Gy_Supplier oSup = new Gy_Supplier();
|
oSup.MdiParent = oMain;
|
oSup.Show();
|
break;
|
case "gy_unit":
|
//ȨÏÞ
|
Gy_Unit oUnit = new Gy_Unit();
|
oUnit.MdiParent = oMain;
|
oUnit.Show();
|
break;
|
case "gy_material":
|
//ȨÏÞ
|
Gy_Material oMater = new Gy_Material();
|
oMater.MdiParent = oMain;
|
oMater.Show();
|
break;
|
case "gy_planshifts":
|
//ȨÏÞ
|
Gy_PlanShifts oGy_PlanShifts = new Gy_PlanShifts();
|
oGy_PlanShifts.MdiParent = oMain;
|
oGy_PlanShifts.Show();
|
break;
|
case "gy_warehouse":
|
//ȨÏÞ
|
Gy_Warehouse oWareHouse = new Gy_Warehouse();
|
oWareHouse.MdiParent = oMain;
|
oWareHouse.Show();
|
break;
|
case "gy_matepricecuslist":
|
Gy_MatePriceCusList oMatePriecCus=new Gy_MatePriceCusList();
|
oMatePriecCus.MdiParent=oMain;
|
oMatePriecCus.Show();
|
break;
|
case "gy_matepricesuplist":
|
Gy_MatePriceSupList oGy_MatePriceSupList = new Gy_MatePriceSupList();
|
oGy_MatePriceSupList.MdiParent = oMain;
|
oGy_MatePriceSupList.Show();
|
break;
|
case "gy_procpricelist":
|
Gy_ProcPriceList oGy_ProcPriceList = new Gy_ProcPriceList();
|
oGy_ProcPriceList.MdiParent = oMain;
|
oGy_ProcPriceList.Show();
|
break;
|
case "gy_proccommpricelist":
|
Gy_ProcCommPriceList oGy_ProcCommPriceList = new Gy_ProcCommPriceList();
|
oGy_ProcCommPriceList.MdiParent = oMain;
|
oGy_ProcCommPriceList.Show();
|
break;
|
case "gy_post":
|
Gy_Post oPost = new Gy_Post();
|
oPost.MdiParent = oMain;
|
oPost.Show();
|
break;
|
case "gy_areaset":
|
Gy_AreaSet oAreaSet = new Gy_AreaSet();
|
oAreaSet.MdiParent = oMain;
|
oAreaSet.Show();
|
break;
|
case "gy_group":
|
Gy_Group oGroup = new Gy_Group();
|
oGroup.MdiParent = oMain;
|
oGroup.Show();
|
break;
|
case "gy_shifts":
|
Gy_Shifts oGy_Shifts = new Gy_Shifts();
|
oGy_Shifts.MdiParent = oMain;
|
oGy_Shifts.Show();
|
break;
|
case "gy_worktype":
|
Gy_WorkType oGy_WorkType = new Gy_WorkType();
|
oGy_WorkType.MdiParent = oMain;
|
oGy_WorkType.Show();
|
break;
|
case "gy_prodtype":
|
Gy_ProdType oGy_ProdType = new Gy_ProdType();
|
oGy_ProdType.MdiParent = oMain;
|
oGy_ProdType.Show();
|
break;
|
case "gy_workcenter":
|
Gy_WorkCenter oGy_WorkCenter = new Gy_WorkCenter();
|
oGy_WorkCenter.MdiParent = oMain;
|
oGy_WorkCenter.Show();
|
break;
|
case "gy_source":
|
Gy_Source oGy_Source = new Gy_Source();
|
oGy_Source.MdiParent = oMain;
|
oGy_Source.Show();
|
break;
|
case "gy_employee":
|
Gy_Employee oEmp = new Gy_Employee();
|
oEmp.MdiParent = oMain;
|
oEmp.Show();
|
break;
|
case "gy_settlestyle":
|
Gy_SettleStyle oSS = new Gy_SettleStyle();
|
oSS.MdiParent = oMain;
|
oSS.Show();
|
break;
|
case "gy_sellstyle":
|
Gy_SellStyle oGy_SellStyle = new Gy_SellStyle();
|
oGy_SellStyle.MdiParent = oMain;
|
oGy_SellStyle.Show();
|
break;
|
case "gy_postockstyle":
|
Gy_PoStockStyle oGy_PoStockStyle = new Gy_PoStockStyle();
|
oGy_PoStockStyle.MdiParent = oMain;
|
oGy_PoStockStyle.Show();
|
break;
|
case "gy_stockinstyle":
|
Gy_StockInStyle oGy_StockInStyle = new Gy_StockInStyle();
|
oGy_StockInStyle.MdiParent = oMain;
|
oGy_StockInStyle.Show();
|
break;
|
case "gy_stockoutstyle":
|
Gy_StockOutStyle oGy_StockOutStyle = new Gy_StockOutStyle();
|
oGy_StockOutStyle.MdiParent = oMain;
|
oGy_StockOutStyle.Show();
|
break;
|
case "gy_badreason":
|
Gy_BadReason oGy_BadReason = new Gy_BadReason();
|
oGy_BadReason.MdiParent = oMain;
|
oGy_BadReason.Show();
|
break;
|
case "gy_scrapreason":
|
Gy_ScrapReason oGy_ScrapReason = new Gy_ScrapReason();
|
oGy_ScrapReason.MdiParent = oMain;
|
oGy_ScrapReason.Show();
|
break;
|
case "gy_port":
|
Gy_Port oGy_Port = new Gy_Port();
|
oGy_Port.MdiParent = oMain;
|
oGy_Port.Show();
|
break;
|
case "gy_bank":
|
Gy_Bank oGy_Bank = new Gy_Bank();
|
oGy_Bank.MdiParent = oMain;
|
oGy_Bank.Show();
|
break;
|
case "gy_classtimeprj":
|
Gy_ClassTimePrj oGy_ClassTimePrj = new Gy_ClassTimePrj();
|
oGy_ClassTimePrj.MdiParent = oMain;
|
oGy_ClassTimePrj.Show();
|
break;
|
case "gy_classtimeprjsub":
|
Gy_ClassTimePrjSub oGy_ClassTimePrjSub = new Gy_ClassTimePrjSub();
|
oGy_ClassTimePrjSub.MdiParent = oMain;
|
oGy_ClassTimePrjSub.Show();
|
break;
|
case "gy_icbombill":
|
Gy_ICBomBill oGy_ICBomBill = new Gy_ICBomBill();
|
oGy_ICBomBill.ShowDialog();
|
break;
|
case "gy_icbombilllist":
|
Gy_ICBomBillList oGy_ICBomBillList = new Gy_ICBomBillList();
|
oGy_ICBomBillList.MdiParent = oMain;
|
oGy_ICBomBillList.Show();
|
break;
|
case "gy_routingbill":
|
Gy_RoutingBill oGy_RoutingBill = new Gy_RoutingBill();
|
oGy_RoutingBill.ShowDialog();
|
break;
|
case "gy_routingbilllist":
|
Gy_RoutingBillList oGy_RoutingBillList = new Gy_RoutingBillList();
|
oGy_RoutingBillList.MdiParent = oMain;
|
oGy_RoutingBillList.Show();
|
break;
|
case "":
|
//
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message, "Ìáʾ");
|
}
|
}
|
#endregion
|
|
#region ͳ¼Æ±¨±í
|
public void Zxxymk_TJBB(string gnsy, Form oMain)
|
{
|
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "kf_mateoutsumreport":
|
//ȨÏÞ
|
Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport();
|
oKf_MateOutSumReport.MdiParent = oMain;
|
oKf_MateOutSumReport.Show();
|
break;
|
case "frm_reporttemplet":
|
//ȨÏÞ
|
Frm_ReportTemplet oFrm = new Frm_ReportTemplet();
|
oFrm.MdiParent = oMain;
|
oFrm.Show();
|
break;
|
case "frm_reporttemplet2":
|
Frm_ScReport oScReport = new Frm_ScReport();
|
oScReport.MdiParent = oMain;
|
oScReport.Show();
|
break;
|
case "frm_datagridview":
|
Rtp_GridViewReport oGDReport = new Rtp_GridViewReport();
|
oGDReport.MdiParent = oMain;
|
oGDReport.Show();
|
break;
|
case "kf_icinventorylist":
|
KF_ICInventoryList oKF_ICInventoryList = new KF_ICInventoryList();
|
oKF_ICInventoryList.MdiParent = oMain;
|
oKF_ICInventoryList.Show();
|
break;
|
case "kf_safestock":
|
Kf_SafeStock oKf_SafeStock = new Kf_SafeStock();
|
oKf_SafeStock.MdiParent = oMain;
|
oKf_SafeStock.Show();
|
break;
|
case "cg_cgpoorderbilllist":
|
Cg_CgPOOrderBillList oCg_CgPOOrderBillList = new Cg_CgPOOrderBillList();
|
oCg_CgPOOrderBillList.MdiParent = oMain;
|
oCg_CgPOOrderBillList.Show();
|
break;
|
case "cg_poentryreport":
|
Cg_PoEntryReport oCg_PoEntryReport = new Cg_PoEntryReport();
|
oCg_PoEntryReport.MdiParent = oMain;
|
oCg_PoEntryReport.Show();
|
break;
|
case "cg_posumreport":
|
Cg_PoSumReport oCg_PoSumReport = new Cg_PoSumReport();
|
oCg_PoSumReport.MdiParent = oMain;
|
oCg_PoSumReport.Show();
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message, "Ìáʾ");
|
}
|
}
|
#endregion
|
|
#region ϵͳ¹ÜÀí
|
public void Zxxymk_XTGL(string gnsy, Form oMain)
|
{
|
|
if (gnsy.Length == 0)
|
return;
|
try
|
{
|
switch (gnsy.ToLower())
|
{
|
case "xt_xtgnb":
|
Xt_Xtgnb oXt_Xtgnb = new Xt_Xtgnb();
|
oXt_Xtgnb.MdiParent = oMain;
|
oXt_Xtgnb.Show();
|
break;
|
case "xt_accountperiod":
|
Xt_AccountPeriod oXt_AccountPeriod = new Xt_AccountPeriod();
|
oXt_AccountPeriod.MdiParent = oMain;
|
oXt_AccountPeriod.Show();
|
break;
|
case "kf_initstockbill":
|
Kf_InitStockBill oKf_InitStockBill = new Kf_InitStockBill();
|
oKf_InitStockBill.MdiParent = oMain;
|
oKf_InitStockBill.Show();
|
break;
|
case "kf_initstockbilllist":
|
Kf_InitStockBillList oKf_InitStockBillList = new Kf_InitStockBillList();
|
oKf_InitStockBillList.MdiParent = oMain;
|
oKf_InitStockBillList.Show();
|
break;
|
case "xt_systemlog":
|
Xt_SystemLog oXt_SystemLog = new Xt_SystemLog();
|
oXt_SystemLog.MdiParent = oMain;
|
oXt_SystemLog.Show();
|
break;
|
case "xt_checkitem":
|
Xt_CheckItem oXt_CheckItem = new Xt_CheckItem();
|
oXt_CheckItem.MdiParent = oMain;
|
oXt_CheckItem.Show();
|
break;
|
case "xt_billtype":
|
Xt_BillType oXt_BillType = new Xt_BillType();
|
oXt_BillType.MdiParent = oMain;
|
oXt_BillType.Show();
|
break;
|
case "xt_checkflow":
|
Xt_CheckFlow oXt_CheckFlow = new Xt_CheckFlow();
|
oXt_CheckFlow.ShowDialog();
|
break;
|
case "xt_checkflowlist":
|
Xt_CheckFlowList oXt_CheckFlowList = new Xt_CheckFlowList();
|
oXt_CheckFlowList.MdiParent = oMain;
|
oXt_CheckFlowList.Show();
|
break;
|
case "xt_checkuserright":
|
Xt_CheckUserRight oXt_CheckUserRight = new Xt_CheckUserRight();
|
oXt_CheckUserRight.MdiParent = oMain;
|
oXt_CheckUserRight.Show();
|
break;
|
default:
|
break;
|
}
|
}
|
catch (Exception e)
|
{
|
MessageBox.Show(e.Message, "Ìáʾ");
|
}
|
}
|
#endregion
|
}
|
}
|