jinghuanzhang
2023-04-05 c7c3b98e2bbcf7ee5b892df6cc984bbde7581540
组织
10个文件已修改
798 ■■■■ 已修改文件
BaseSet/Gy_ORGANIZATIONS.cs 226 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/Gy_ORGANIZATIONS.designer.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/Gy_ORGANIZATIONS.resx 86 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/ClsGy_ORGANIZATIONS_Ctl.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/ClsGy_ORGANIZATIONS_View.cs 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/DAL.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/Model.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
NETSCM/ClsShowMod.cs 418 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM.sln 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/SCM.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/Gy_ORGANIZATIONS.cs
@@ -301,21 +301,21 @@
        private bool Save()
        {
            //判断权限
            if (!ClsPub.Security_Log(ModRightNameEdit, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return false;
            }
            //if (!ClsPub.Security_Log(ModRightNameEdit, 1, true, DBUtility.ClsPub.CurUserName))
            //{
            //    return false;
            //}
            //
            if (InputMode == DBUtility.ClsPub.Enum_InputMode.InputMode_AddNew)
            {
                if (oDept.AddNew())
                {
                    Init();
                }
                else
                {
                    return false;
                }
                //if (oDept.AddNew())
                //{
                //    Init();
                //}
                //else
                //{
                //    return false;
                //}
                Display();
            }
            if (InputMode == DBUtility.ClsPub.Enum_InputMode.InputMode_Modify)
@@ -425,65 +425,52 @@
        private bool AllowSave()
        {
            if (txtHNumber.Text.Trim() == "")
            {
                MessageBox.Show("代码不能为空!", "提示");
                return false;
            }
            if (txtHName.Text.Trim() == "")
            {
                MessageBox.Show("名称不能为空!", "提示");
                return false;
            }
            //if (DBUtility.ClsPub.isLong(txtHEmpID.Tag) == 0)
            //if (txtHNumber.Text.Trim() == "")
            //{
            //    MessageBox.Show("负责人不能为空!", "提示");
            //    MessageBox.Show("代码不能为空!", "提示");
            //    return false;
            //}
            //审核代码是否合理
            if (!DBUtility.ClsPub.AllowNumber(txtHNumber.Text.Trim()))
            {
                MessageBox.Show("代码中不能出现连续‘.’并且首位末位不能为‘.’!", "提示");
                return false;
            }
            //if (txtHName.Text.Trim() == "")
            //{
            //    MessageBox.Show("名称不能为空!", "提示");
            //    return false;
            //}
            ////if (DBUtility.ClsPub.isLong(txtHEmpID.Tag) == 0)
            ////{
            ////    MessageBox.Show("负责人不能为空!", "提示");
            ////    return false;
            ////}
            ////审核代码是否合理
            //if (!DBUtility.ClsPub.AllowNumber(txtHNumber.Text.Trim()))
            //{
            //    MessageBox.Show("代码中不能出现连续‘.’并且首位末位不能为‘.’!", "提示");
            //    return false;
            //}
            //是否重复代码
            if (oDept.HavSameNumber(HItemID, txtHNumber.Text.Trim()))
            {
                MessageBox.Show("代码重复!", "提示");
                return false;
            }
            ////是否重复代码
            //if (oDept.HavSameNumber(HItemID, txtHNumber.Text.Trim()))
            //{
            //    MessageBox.Show("代码重复!", "提示");
            //    return false;
            //}
            return true;
        }
        //读取类 到 控件
        private void ShowData(long sItemID)
        {
            //DAL.ClsK3_Employee_View oEmp = new DAL.ClsK3_Employee_View();
            //if (oDeptHlp.GetInfoByID(sItemID))
            //{
            //    txtHNumber.Text = oDeptHlp.omodel.HNumber.ToString();
            //    txtHHelpCode.Text = oDeptHlp.omodel.HHelpCode.ToString();
            //    txtHName.Text = oDeptHlp.omodel.HName.ToString();
            //    txtHEmpID.Tag = Convert.ToInt64(oDeptHlp.omodel.HEmpID.ToString());
            //    if (oEmp.GetInfoByID(oDeptHlp.omodel.HEmpID))
            //    {
            //        txtHEmpID.Text = oEmp.omodel.HName;
            //        txtHEmpID.Tag = oEmp.omodel.HItemID.ToString();
            //    }
            //    else
            //    {
            //        txtHEmpID.Text = "";
            //    }
            //    txtHNumber.Text = oDeptHlp.omodel.HNumber.ToString();
            //    txtHRemark.Text = oDeptHlp.omodel.HRemark;
            //    txtHBarCode.Text = oDeptHlp.omodel.HBarCode;
            //    if (oDeptHlp.omodel.HStopflag)
            //        chkHStopflag.Checked = true;
            //    else
            //        chkHStopflag.Checked = false;
            //    HItemID = oDeptHlp.omodel.HItemID;
            //}
        {
            if (oDeptHlp.GetInfoByID(sItemID))
            {
                txtHNumber.Text = oDeptHlp.omodel.HNumber.ToString();
                txtHName.Text = oDeptHlp.omodel.HName.ToString();
                txtHNumber.Text = oDeptHlp.omodel.HNumber.ToString();
                txtHRemark.Text = oDeptHlp.omodel.HRemark;
                if (oDeptHlp.omodel.HStopflag)
                    chkHStopflag.Checked = true;
                else
                    chkHStopflag.Checked = false;
                HItemID = oDeptHlp.omodel.HItemID;
            }
        }
        //写入类 从控件
        private bool WriteClass()
@@ -494,56 +481,56 @@
                return false;
            }
            //检查父级是否存在
            string sParent;
            sParent = DBUtility.ClsPub.GetParentCode(txtHNumber.Text.Trim());
            if (sParent.Trim() == "")
            {
                oDept.oModel.HParentID = 0;
            }
            else
            {
                if (oDept.HavParentCode(sParent.Trim(), HItemID))
                {
                    oDept.oModel.HParentID = oDept.oModel.HItemID;
                }
                else
                {
                    MessageBox.Show("上级代码不存在或被禁用!", "提示");
                    return false;
                }
            }
            //string sParent;
            //sParent = DBUtility.ClsPub.GetParentCode(txtHNumber.Text.Trim());
            //if (sParent.Trim() == "")
            //{
            //    oDept.oModel.HParentID = 0;
            //}
            //else
            //{
            //    if (oDept.HavParentCode(sParent.Trim(), HItemID))
            //    {
            //        oDept.oModel.HParentID = oDept.oModel.HItemID;
            //    }
            //    else
            //    {
            //        MessageBox.Show("上级代码不存在或被禁用!", "提示");
            //        return false;
            //    }
            //}
            //得到短代码
            string sShortNumber;
            sShortNumber = DBUtility.ClsPub.GetShortNumber(txtHNumber.Text.Trim());
            if (sShortNumber.Trim() == "")
            {
                return false;
            }
            //保存原代码
            if (oDeptHlp.GetInfoByID(HItemID))
            {
                oDept.HOldNumber = oDeptHlp.omodel.HNumber;
                //是否新代码是自己子项目的 子项目
                if (sParent.Length >= oDept.HOldNumber.Length)
                {
                    if (sParent.Substring(0, oDept.HOldNumber.ToString().Length) == oDept.HOldNumber.Trim())
                    {
                        MessageBox.Show("新代码不能是自己的下级的子项目!", "提示");
                        return false;
                    }
                }
            }
            else
            {
                oDept.HOldNumber = "";
            }
            //string sShortNumber;
            //sShortNumber = DBUtility.ClsPub.GetShortNumber(txtHNumber.Text.Trim());
            //if (sShortNumber.Trim() == "")
            //{
            //    return false;
            //}
            ////保存原代码
            //if (oDeptHlp.GetInfoByID(HItemID))
            //{
            //    oDept.HOldNumber = oDeptHlp.omodel.HNumber;
            //    //是否新代码是自己子项目的 子项目
            //    if (sParent.Length >= oDept.HOldNumber.Length)
            //    {
            //        if (sParent.Substring(0, oDept.HOldNumber.ToString().Length) == oDept.HOldNumber.Trim())
            //        {
            //            MessageBox.Show("新代码不能是自己的下级的子项目!", "提示");
            //            return false;
            //        }
            //    }
            //}
            //else
            //{
            //    oDept.HOldNumber = "";
            //}
            //写入信息
            oDept.oModel.HShortNumber = sShortNumber;
            oDept.oModel.HEndFlag = true;
            oDept.oModel.HLevel = DBUtility.ClsPub.GetLevel(txtHNumber.Text.Trim());
            oDept.oModel.HNumber = txtHNumber.Text.Trim();
            oDept.oModel.HName = txtHName.Text.Trim();
            oDept.oModel.HStopflag = chkHStopflag.Checked;
            //oDept.oModel.HShortNumber = "";
            //oDept.oModel.HEndFlag = true;
            ////oDept.oModel.HLevel = DBUtility.ClsPub.GetLevel(txtHNumber.Text.Trim());
            //oDept.oModel.HNumber = txtHNumber.Text.Trim();
            //oDept.oModel.HName = txtHName.Text.Trim();
            //oDept.oModel.HStopflag = chkHStopflag.Checked;
            oDept.oModel.HRemark = txtHRemark.Text.Trim();
            return true;
        }
@@ -672,7 +659,22 @@
            BLL.ClsPub_BLL.Sub_ShowStopFlag(grdMain, Fun_GetCol("禁用标记"));
        }
        private void button1_Click(object sender, EventArgs e)
        {
            oDept.oModel.HRemark = txtHRemark.Text.Trim();
            if (Save())
            {
                MessageBox.Show("保存完毕!", "提示");
            }
            else
            {
                MessageBox.Show("保存失败!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
            }
            if (InputMode == DBUtility.ClsPub.Enum_InputMode.InputMode_Modify)
            {
                InputMode = DBUtility.ClsPub.Enum_InputMode.InputMode_View;
                RefreshTool();
            }
        }
    }
}
BaseSet/Gy_ORGANIZATIONS.designer.cs
@@ -72,6 +72,7 @@
            this.panel1 = new System.Windows.Forms.Panel();
            this.cmdLoadTree = new System.Windows.Forms.Button();
            this.label3 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.ToolBar.SuspendLayout();
            this.stTab.SuspendLayout();
            this.tabPage1.SuspendLayout();
@@ -386,6 +387,7 @@
            // 
            this.tabPage2.BackColor = System.Drawing.SystemColors.Control;
            this.tabPage2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tabPage2.Controls.Add(this.button1);
            this.tabPage2.Controls.Add(this.txtHName);
            this.tabPage2.Controls.Add(this.cmdCancel);
            this.tabPage2.Controls.Add(this.cmdOK);
@@ -422,7 +424,7 @@
            // 
            // cmdOK
            // 
            this.cmdOK.Location = new System.Drawing.Point(198, 131);
            this.cmdOK.Location = new System.Drawing.Point(505, 127);
            this.cmdOK.Name = "cmdOK";
            this.cmdOK.Size = new System.Drawing.Size(52, 23);
            this.cmdOK.TabIndex = 15;
@@ -561,6 +563,16 @@
            this.label3.TabIndex = 0;
            this.label3.Text = "组织资料-正在浏览";
            // 
            // button1
            //
            this.button1.Location = new System.Drawing.Point(182, 131);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 19;
            this.button1.Text = "确定";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // Gy_ORGANIZATIONS
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -634,5 +646,6 @@
        private System.Windows.Forms.TextBox txtHName;
        private System.Windows.Forms.ToolStripButton jc;
        private System.Windows.Forms.ToolStripButton dy;
        private System.Windows.Forms.Button button1;
    }
}
BaseSet/Gy_ORGANIZATIONS.resx
@@ -409,51 +409,51 @@
        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
        ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACE
        CgAAAk1TRnQBSQFMAgEBAgEAASwBAQEsAQEBEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
        CgAAAk1TRnQBSQFMAgEBAgEAATQBAQE0AQEBEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
        AwABEAMAAQEBAAEgBgABEBIAgP+AAAj/AwAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/
        AwAB/wMAAf8DAAH/AwAB/wMADf8DAAH/AwAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/
        AwAB/wMAAf8DAAH/gAAE/wEAAUABigH/AQsBkAG5Af8BCwGQAbkB/wELAZABuQH/AQsBkAG5Af8BCwGQ
        AbkB/wELAZABuQH/AQsBkAG5Af8BCwGQAbkB/wELAZABuQH/AQsBkAG5Af8BCwGQAbkB/wELAZABuQH/
        AQsBkAG5Af8DAAn/AQABQAGKAf8BAAFAAYoB/wEAAUABigH/AQABQAGKAf8BAAFAAYoB/wEAAUABigH/
        AQABQAGKAf8BAAFAAYoB/wEAAUABigH/AQABQAGKAf8BAAFAAYoB/wEAAUABigH/AwAB/wMAAf+AAAT/
        AQABQAGKAf8B0QH2Av8BUgHaAfQB/wFHAdMB8QH/ATwBywHvAf8BMgHEAe0B/wEoAb4B6wH/AR4BuAHo
        Af8BEgGwAecB/wEIAakB5AH/AQABowHiAf8BAAGeAeAB/wEAAZoB3wH/AQsBkAG5Af8DAAn/AQABQAGK
        Af8B0QH2Av8BJwG+AesB/wEhAbkB6QH/ARkBtAHnAf8BEQGwAeYB/wEKAasB5AH/AQMBpwHjAf8BAAGi
        AeEB/wEAAZ8B4QH/AQsBkAG5Af8BAAFAAYoB/wMAAf8DAAH/gAAE/wEAAUABigH/AdEB9gL/AVgB3gH1
        Af8BTQHWAfMB/wFDAdAB8QH/ATgByQHuAf8BLgHCAewB/wEjAbwB6gH/ARkBtAHnAf8BDgGtAeUB/wEE
        AaYB4wH/AQABoQHhAf8BAAGdAeAB/wELAZABuQH/AwAF/wEAAUABigH/AdEB9gL/ATIBxQHuAf8BLAHB
        AesB/wElAbwB6wH/AR0BtwHoAf8BFgGyAecB/wEOAa4B5QH/AQcBqQHkAf8BAAGlAeIB/wEAAaEB4QH/
        AQsBkAG5Af8DAAH/AQABQAGKAf8DAAH/gAAE/wEAAUABigH/AdEB9gL/AYEB4QH3Af8BVAHaAfQB/wFJ
        AdQB8gH/AT4BzAHvAf8BNAHGAe4B/wEqAcAB6wH/AR8BuQHpAf8BFQGyAeYB/wEKAasB5QH/AQABpQHi
        Af8BAAGfAeEB/wELAZABuQH/AwAF/wEAAUABigH/AdEB9gL/ATcByAHuAf8BMAHEAewB/wEpAb8B6wH/
        ASIBuwHqAf8BGwG2AegB/wETAbAB5wH/AQwBrAHlAf8BBQGnAeMB/wEAAaMB4gH/AQABQAGKAf8DAAH/
        AQABQAGKAf8DAAH/gAAE/wEAAUABigH/AdEB9gL/AYYB5QH3Af8BWgHfAfUB/wFPAdgB8wH/AUUB0QHx
        Af8BOgHKAe8B/wEwAcQB7QH/ASYBvQHqAf8BGwG2AegB/wEQAa8B5QH/AQUBqAHjAf8BAAGiAeEB/wEL
        AZABuQH/AwAB/wEAAUABigH/AdEB9gL/AUMBzwHxAf8BPAHLAe8B/wE0AccB7gH/AS4BwgHsAf8BJwG9
        AeoB/wEfAbkB6QH/ARgBtAHnAf8BEQGwAeYB/wEJAaoB5QH/AQsBkAG5Af8DAAH/AQsBkAG5Af8BCwGQ
        AbkB/wMAAf+AAAT/AQABQAGKAf8B0QH2Av8BjAHoAfkB/wGDAeIB9wH/AVYB3AH1Af8BTAHVAfIB/wFA
        Ac4B8AH/ATYByAHuAf8BLAHBAewB/wEiAboB6gH/ARYBswHnAf8BDAGsAeUB/wECAaYB4wH/AQsBkAG5
        Af8DAAH/AQABQAGKAf8B0QH2Av8BSAHTAfIB/wFAAc4B8AH/ATkBygHuAf8BMgHFAe0B/wEsAcEB6wH/
        ASQBvAHqAf8BHQG3AegB/wEVAbIB5gH/AQ4BrgHlAf8BCwGQAbkB/wMAAf8BCwGQAbkB/wELAZABuQH/
        AwAB/4AABP8BAAFAAYoB/wHRAfYC/wGQAesB+QH/AYgB5gH4Af8BXAHgAfYB/wFSAdkB8wH/AUcB0wHy
        Af8BPAHLAe8B/wEyAcUB7QH/ASgBvgHrAf8BHgG4AekB/wESAbAB5gH/AQcBqQHkAf8BCwGQAbkB/wMA
        Af8BAAFAAYoB/wEAAUABigH/AQABQAGKAf8BAAFAAYoB/wEAAUABigH/AQABQAGKAf8BAAFAAYoB/wEA
        AUABigH/AQABQAGKAf8BAAFAAYoB/wEAAUABigH/AQABQAGKAf8BCwGQAbkB/wE5AckB7gH/AQsBkAG5
        Af8DAAH/gAAE/wEAAUABigH/AdEB9gL/AZMB7QH6Af8BjQHpAfkB/wGFAeQB9wH/AVkB3gH1Af8BTQHW
        AfMB/wFDAc8B8QH/ATgByQHvAf8BLgHCAewB/wEkAbsB6QH/ARkBtQHnAf8BDgGtAeYB/wELAZABuQH/
        AwAF/wEAAUABigH/AdEB9gL/AZEB7AH6Af8BjQHpAfkB/wGKAecB+AH/AYYB5AH4Af8BgAHhAfcB/wFZ
        Ad0B9QH/AVMB2gHzAf8BTQHXAfMB/wFIAdMB8QH/AUIBzwHxAf8BPAHLAe8B/wELAZABuQH/AwAB/4AA
        BP8BAAFAAYoB/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHR
        AfYC/wHRAfYC/wHRAfYC/wHRAfYC/wELAZABuQH/AwAF/wEAAUABigH/AdEB9gL/AZMB7QH6Af8BkAHr
        AfkB/wGMAekB+QH/AYgB5gH4Af8BhAHjAfcB/wFcAeAB9gH/AVcB3AH1Af8B0QH2Av8B0QH2Av8B0QH2
        Av8B0QH2Av8BCwGQAbkB/wMAAf+AAAT/AQABQAGKAf8BHgGoAdMB/wEeAagB0wH/AR4BqAHTAf8BHgGo
        AdMB/wEeAagB0wH/AR4BqAHTAf8BHgGoAdMB/wEAAUABigH/AQABQAGKAf8BAAFAAYoB/wEAAUABigH/
        AQABQAGKAf8BAAFAAYoJ/wEAAUABigH/AdEB9gL/AZMB7QH6Af8BkgHsAfoB/wGPAesB+QH/AYsB6AH4
        Af8BhwHlAfcB/wHRAfYC/wEAAUABigH/AQABQAGKAf8BAAFAAYoB/wEAAUABigH/AQABQAGKAf8BAAFA
        AYoF/4AACP8BAAFAAYoB/wG4AegB9QH/Ac4D/wHOA/8BnAP/AZwD/wEAAUABigH/AwAh/wEAAUABigH/
        AdEB9gL/AdEB9gL/AdEB9gL/AdEB9gL/AdEB9gL/AQABQAGKHf+AAAz/AQABQAGKAf8BAAFAAYoB/wEA
        AUABigH/AQABQAGKAf8BAAFAAYoB/wMAKf8BAAFAAYoB/wEAAUABigH/AQABQAGKAf8BAAFAAYoB/wEA
        AUABiiH/gACA/4AAgP+AAAFCAU0BPgcAAT4DAAEoAwABQAMAARADAAEBAQABAQUAAYAXAAP/gQAL
        AwAB/wMAAf8DAAH/gAAE/wEAAT8BigH/AQoBkAG5Af8BCgGQAbkB/wEKAZABuQH/AQoBkAG5Af8BCgGQ
        AbkB/wEKAZABuQH/AQoBkAG5Af8BCgGQAbkB/wEKAZABuQH/AQoBkAG5Af8BCgGQAbkB/wEKAZABuQH/
        AQoBkAG5Af8DAAn/AQABPwGKAf8BAAE/AYoB/wEAAT8BigH/AQABPwGKAf8BAAE/AYoB/wEAAT8BigH/
        AQABPwGKAf8BAAE/AYoB/wEAAT8BigH/AQABPwGKAf8BAAE/AYoB/wEAAT8BigH/AwAB/wMAAf+AAAT/
        AQABPwGKAf8B0QH2Av8BUQHaAfQB/wFGAdMB8QH/ATsBywHvAf8BMQHEAe0B/wEnAb4B6wH/AR0BuAHo
        Af8BEQGwAecB/wEHAakB5AH/AQABowHiAf8BAAGeAeAB/wEAAZoB3wH/AQoBkAG5Af8DAAn/AQABPwGK
        Af8B0QH2Av8BJgG+AesB/wEgAbkB6QH/ARgBtAHnAf8BEAGwAeYB/wEJAasB5AH/AQIBpwHjAf8BAAGi
        AeEB/wEAAZ8B4QH/AQoBkAG5Af8BAAE/AYoB/wMAAf8DAAH/gAAE/wEAAT8BigH/AdEB9gL/AVcB3gH1
        Af8BTAHWAfMB/wFCAdAB8QH/ATcByQHuAf8BLQHCAewB/wEiAbwB6gH/ARgBtAHnAf8BDQGtAeUB/wED
        AaYB4wH/AQABoQHhAf8BAAGdAeAB/wEKAZABuQH/AwAF/wEAAT8BigH/AdEB9gL/ATEBxQHuAf8BKwHB
        AesB/wEkAbwB6wH/ARwBtwHoAf8BFQGyAecB/wENAa4B5QH/AQYBqQHkAf8BAAGlAeIB/wEAAaEB4QH/
        AQoBkAG5Af8DAAH/AQABPwGKAf8DAAH/gAAE/wEAAT8BigH/AdEB9gL/AYEB4QH3Af8BUwHaAfQB/wFI
        AdQB8gH/AT0BzAHvAf8BMwHGAe4B/wEpAcAB6wH/AR4BuQHpAf8BFAGyAeYB/wEJAasB5QH/AQABpQHi
        Af8BAAGfAeEB/wEKAZABuQH/AwAF/wEAAT8BigH/AdEB9gL/ATYByAHuAf8BLwHEAewB/wEoAb8B6wH/
        ASEBuwHqAf8BGgG2AegB/wESAbAB5wH/AQsBrAHlAf8BBAGnAeMB/wEAAaMB4gH/AQABPwGKAf8DAAH/
        AQABPwGKAf8DAAH/gAAE/wEAAT8BigH/AdEB9gL/AYYB5QH3Af8BWQHfAfUB/wFOAdgB8wH/AUQB0QHx
        Af8BOQHKAe8B/wEvAcQB7QH/ASUBvQHqAf8BGgG2AegB/wEPAa8B5QH/AQQBqAHjAf8BAAGiAeEB/wEK
        AZABuQH/AwAB/wEAAT8BigH/AdEB9gL/AUIBzwHxAf8BOwHLAe8B/wEzAccB7gH/AS0BwgHsAf8BJgG9
        AeoB/wEeAbkB6QH/ARcBtAHnAf8BEAGwAeYB/wEIAaoB5QH/AQoBkAG5Af8DAAH/AQoBkAG5Af8BCgGQ
        AbkB/wMAAf+AAAT/AQABPwGKAf8B0QH2Av8BjAHoAfkB/wGDAeIB9wH/AVUB3AH1Af8BSwHVAfIB/wE/
        Ac4B8AH/ATUByAHuAf8BKwHBAewB/wEhAboB6gH/ARUBswHnAf8BCwGsAeUB/wEBAaYB4wH/AQoBkAG5
        Af8DAAH/AQABPwGKAf8B0QH2Av8BRwHTAfIB/wE/Ac4B8AH/ATgBygHuAf8BMQHFAe0B/wErAcEB6wH/
        ASMBvAHqAf8BHAG3AegB/wEUAbIB5gH/AQ0BrgHlAf8BCgGQAbkB/wMAAf8BCgGQAbkB/wEKAZABuQH/
        AwAB/4AABP8BAAE/AYoB/wHRAfYC/wGQAesB+QH/AYgB5gH4Af8BWwHgAfYB/wFRAdkB8wH/AUYB0wHy
        Af8BOwHLAe8B/wExAcUB7QH/AScBvgHrAf8BHQG4AekB/wERAbAB5gH/AQYBqQHkAf8BCgGQAbkB/wMA
        Af8BAAE/AYoB/wEAAT8BigH/AQABPwGKAf8BAAE/AYoB/wEAAT8BigH/AQABPwGKAf8BAAE/AYoB/wEA
        AT8BigH/AQABPwGKAf8BAAE/AYoB/wEAAT8BigH/AQABPwGKAf8BCgGQAbkB/wE4AckB7gH/AQoBkAG5
        Af8DAAH/gAAE/wEAAT8BigH/AdEB9gL/AZMB7QH6Af8BjQHpAfkB/wGFAeQB9wH/AVgB3gH1Af8BTAHW
        AfMB/wFCAc8B8QH/ATcByQHvAf8BLQHCAewB/wEjAbsB6QH/ARgBtQHnAf8BDQGtAeYB/wEKAZABuQH/
        AwAF/wEAAT8BigH/AdEB9gL/AZEB7AH6Af8BjQHpAfkB/wGKAecB+AH/AYYB5AH4Af8BgAHhAfcB/wFY
        Ad0B9QH/AVIB2gHzAf8BTAHXAfMB/wFHAdMB8QH/AUEBzwHxAf8BOwHLAe8B/wEKAZABuQH/AwAB/4AA
        BP8BAAE/AYoB/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHRAfYC/wHR
        AfYC/wHRAfYC/wHRAfYC/wHRAfYC/wEKAZABuQH/AwAF/wEAAT8BigH/AdEB9gL/AZMB7QH6Af8BkAHr
        AfkB/wGMAekB+QH/AYgB5gH4Af8BhAHjAfcB/wFbAeAB9gH/AVYB3AH1Af8B0QH2Av8B0QH2Av8B0QH2
        Av8B0QH2Av8BCgGQAbkB/wMAAf+AAAT/AQABPwGKAf8BHQGoAdMB/wEdAagB0wH/AR0BqAHTAf8BHQGo
        AdMB/wEdAagB0wH/AR0BqAHTAf8BHQGoAdMB/wEAAT8BigH/AQABPwGKAf8BAAE/AYoB/wEAAT8BigH/
        AQABPwGKAf8BAAE/AYoJ/wEAAT8BigH/AdEB9gL/AZMB7QH6Af8BkgHsAfoB/wGPAesB+QH/AYsB6AH4
        Af8BhwHlAfcB/wHRAfYC/wEAAT8BigH/AQABPwGKAf8BAAE/AYoB/wEAAT8BigH/AQABPwGKAf8BAAE/
        AYoF/4AACP8BAAE/AYoB/wG4AegB9QH/Ac4D/wHOA/8BnAP/AZwD/wEAAT8BigH/AwAh/wEAAT8BigH/
        AdEB9gL/AdEB9gL/AdEB9gL/AdEB9gL/AdEB9gL/AQABPwGKHf+AAAz/AQABPwGKAf8BAAE/AYoB/wEA
        AT8BigH/AQABPwGKAf8BAAE/AYoB/wMAKf8BAAE/AYoB/wEAAT8BigH/AQABPwGKAf8BAAE/AYoB/wEA
        AT8BiiH/gACA/4AAgP+AAAFCAU0BPgcAAT4DAAEoAwABQAMAARADAAEBAQABAQUAAYAXAAP/gQAL
</value>
  </data>
  <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
DAL/ClsGy_ORGANIZATIONS_Ctl.cs
@@ -8,6 +8,7 @@
    public class ClsGy_ORGANIZATIONS_Ctl:DBUtility.ClsGy_Base_Ctl 
    {
        //SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); 
        SCM.WMSWeb.WebService1 oWeb = new SCM.WMSWeb.WebService1();
        //原代码 用于 替换子项目
        public string HOldNumber;
        public Model.ClsGy_ORGANIZATIONS_Model oModel = new Model.ClsGy_ORGANIZATIONS_Model();
@@ -41,15 +42,14 @@
        {
            try
            {
                oCn.BeginTran();
                oCn.RunProc("Update " + MvarItemKey + " set " +
                oWeb.Url = SCM.ClsPub1.WEBSURL;
                oWeb.getRunProc("Update " + MvarItemKey + " set " +
                    " HRemark= '" + oModel.HRemark + "' Where HItemID=" + sItemID, ref DBUtility.ClsPub.sExeReturnInfo); 
                oCn.Commit();
                return true;
            }
            catch (Exception e)
            {
                oCn.RollBack();
            {
                throw (e);
            }
        }
@@ -76,7 +76,7 @@
        //构造函数
        public ClsGy_ORGANIZATIONS_Ctl()
        {
            MvarItemKey = "Gy_ORGANIZATIONS";
            MvarItemKey = "xt_ORGANIZATIONS";
            MvarReportTitle = "组织设置";
            oModel = new Model.ClsGy_ORGANIZATIONS_Model();
        } 
DAL/ClsGy_ORGANIZATIONS_View.cs
@@ -10,14 +10,15 @@
        //
        public Model.ClsGy_ORGANIZATIONS_Model omodel = new Model.ClsGy_ORGANIZATIONS_Model();
        //SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); 
        SCM.WMSWeb.WebService1 oWeb = new SCM.WMSWeb.WebService1();
        public ClsGy_ORGANIZATIONS_View()
        {
            base.ViewNameForWeb = "h_v_Gy_ORGANIZATIONS_ForWeb";
            base.MvarReportTitle = "组织设置";
            base.MvarItemKey = "Gy_ORGANIZATIONS";
            base.SQLName = "Select HItemID,HNumber 组织代码,HName 组织,HRemark 生产基地 from Gy_ORGANIZATIONS where HStopflag=0 Order by HItemID ";
            base.MvarItemKey = "xt_ORGANIZATIONS";
            base.SQLName = "Select HItemID,HNumber 组织代码,HName 组织,HRemark 生产基地 from xt_ORGANIZATIONS where HStopflag=0 Order by HItemID ";
            //下拉SQL
            base.SQLNameForDown = " Select top 30 HItemID,HNumber 组织代码,HName 组织,HRemark 生产基地 from Gy_ORGANIZATIONS ";
            base.SQLNameForDown = " Select top 30 HItemID,HNumber 组织代码,HName 组织,HRemark 生产基地 from xt_ORGANIZATIONS ";
            base.SQLOrderForDown = "  Order by HNumber ";
            base.SQLWhereForDown = "  where HStopflag=0  ";
        }
@@ -35,13 +36,14 @@
            DataSet DS ;
            try
            {
                //DS = oCn.RunProcReturn("Select * from " + MvarItemKey + " Where HItemID='" + sItemID + "'", MvarItemKey, ref DBUtility.ClsPub.sExeReturnInfo);
                //if (DS.Tables[0].Rows.Count  == 0)
                oWeb.Url = SCM.ClsPub1.WEBSURL;
                DS = oWeb.getDataSetBySQL("Select * from " + MvarItemKey + " Where HItemID='" + sItemID + "'", MvarItemKey, ref DBUtility.ClsPub.sExeReturnInfo);
                if (DS.Tables[0].Rows.Count == 0)
                    return false;
                //else
                //{
                //    return GetInfo(DS);
                //}
                else
                {
                    return GetInfo(DS);
                }
            }
            catch (Exception e)
            {
@@ -78,10 +80,10 @@
                omodel.HName = DS.Tables[0].Rows[0]["HName"].ToString().Trim();
                //omodel.HHelpCode = DS.Tables[0].Rows[0]["HHelpCode"].ToString().Trim();
                //omodel.HShortNumber = DS.Tables[0].Rows[0]["HShortNumber"].ToString().Trim();
                omodel.HParentID = Convert.ToInt64(DS.Tables[0].Rows[0]["HParentID"]);
                //omodel.HLevel = Convert.ToInt64(DS.Tables[0].Rows[0]["HLevel"]);
                //omodel.HEndFlag = (bool)DS.Tables[0].Rows[0]["HEndFlag"];
                omodel.HStopflag = (bool)DS.Tables[0].Rows[0]["HStopflag"];
                //omodel.HParentID = Convert.ToInt64(DS.Tables[0].Rows[0]["HParentID"]);
                ////omodel.HLevel = Convert.ToInt64(DS.Tables[0].Rows[0]["HLevel"]);
                ////omodel.HEndFlag = (bool)DS.Tables[0].Rows[0]["HEndFlag"];
                //omodel.HStopflag = (bool)DS.Tables[0].Rows[0]["HStopflag"];
                omodel.HRemark = DS.Tables[0].Rows[0]["HRemark"].ToString().Trim(); 
                //omodel.HUseFlag = DS.Tables[0].Rows[0]["HUseFlag"].ToString().Trim(); //20141020
                return true;
DAL/DAL.csproj
@@ -24,6 +24,7 @@
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <PlatformTarget>x86</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
Model/Model.csproj
@@ -25,6 +25,7 @@
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <PlatformTarget>x86</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
NETSCM/ClsShowMod.cs
@@ -6493,217 +6493,217 @@
                        oGy_CusNumberRelationList.Show();
                        oMainForm.AddTabPage(oGy_CusNumberRelationList);
                        break;
        //            case "gy_mouldware":
        //                //权限
        //                Gy_MouldWare oGy_MouldWare = new Gy_MouldWare();
        //                oGy_MouldWare.MdiParent = oMain;
        //                oGy_MouldWare.Show();
        //                oMainForm.AddTabPage(oGy_MouldWare);
        //                break;
        //            case "gy_technologyparameter":
        //                Gy_TechnologyParameter oGy_TechnologyParameter = new Gy_TechnologyParameter();
        //                oGy_TechnologyParameter.MdiParent = oMain;
        //                oGy_TechnologyParameter.Show();
        //                oMainForm.AddTabPage(oGy_TechnologyParameter);
        //                break;
        //            case "gy_technologyparameterunit":
        //                Gy_TechnologyParameterUnit oGy_TechnologyParameterUnit = new Gy_TechnologyParameterUnit();
        //                oGy_TechnologyParameterUnit.MdiParent = oMain;
        //                oGy_TechnologyParameterUnit.Show();
        //                oMainForm.AddTabPage(oGy_TechnologyParameterUnit);
        //                break;
        //            case "gy_techparambyproc":
        //                Gy_TechParamByProc oGy_TechParamByProc = new Gy_TechParamByProc();
        //                oGy_TechParamByProc.MdiParent = oMain;
        //                oGy_TechParamByProc.Show();
        //                oMainForm.AddTabPage(oGy_TechParamByProc);
        //                break;
        //            case "gy_techparambyproclist":
        //                Gy_TechParamByProcList oGy_TechParamByProcList = new Gy_TechParamByProcList();
        //                oGy_TechParamByProcList.MdiParent = oMain;
        //                oGy_TechParamByProcList.Show();
        //                oMainForm.AddTabPage(oGy_TechParamByProcList);
        //                break;
        //            case "gy_virtualwarehouse":
        //                Gy_VirtualWarehouse oGy_VirtualWarehouse = new Gy_VirtualWarehouse();
        //                oGy_VirtualWarehouse.MdiParent = oMain;
        //                oGy_VirtualWarehouse.Show();
        //                oMainForm.AddTabPage(oGy_VirtualWarehouse);
        //                break;
        //            case "gy_virtualstockclass":
        //                Gy_VirtualStockClass oGy_VirtualStockClass = new Gy_VirtualStockClass();
        //                oGy_VirtualStockClass.MdiParent = oMain;
        //                oGy_VirtualStockClass.Show();
        //                oMainForm.AddTabPage(oGy_VirtualStockClass);
        //                break;
        //            case "gy_virtualstockplacegroup":
        //                Gy_VirtualStockPlaceGroup oGy_VirtualStockPlaceGroup = new Gy_VirtualStockPlaceGroup();
        //                oGy_VirtualStockPlaceGroup.MdiParent = oMain;
        //                oGy_VirtualStockPlaceGroup.Show();
        //                oMainForm.AddTabPage(oGy_VirtualStockPlaceGroup);
        //                break;
        //            case "gy_virtualstockplace":
        //                Gy_VirtualStockPlace oGy_VirtualStockPlace = new Gy_VirtualStockPlace();
        //                oGy_VirtualStockPlace.MdiParent = oMain;
        //                oGy_VirtualStockPlace.Show();
        //                oMainForm.AddTabPage(oGy_VirtualStockPlace);
        //                break;
                    case "gy_organizations":
                        //权限
                        Gy_ORGANIZATIONS oGy_ORGANIZATIONS = new Gy_ORGANIZATIONS();
                        oGy_ORGANIZATIONS.MdiParent = oMain;
                        oGy_ORGANIZATIONS.Show();
                        oMainForm.AddTabPage(oGy_ORGANIZATIONS);
                        break;
                    //            case "gy_technologyparameter":
                    //                Gy_TechnologyParameter oGy_TechnologyParameter = new Gy_TechnologyParameter();
                    //                oGy_TechnologyParameter.MdiParent = oMain;
                    //                oGy_TechnologyParameter.Show();
                    //                oMainForm.AddTabPage(oGy_TechnologyParameter);
                    //                break;
                    //            case "gy_technologyparameterunit":
                    //                Gy_TechnologyParameterUnit oGy_TechnologyParameterUnit = new Gy_TechnologyParameterUnit();
                    //                oGy_TechnologyParameterUnit.MdiParent = oMain;
                    //                oGy_TechnologyParameterUnit.Show();
                    //                oMainForm.AddTabPage(oGy_TechnologyParameterUnit);
                    //                break;
                    //            case "gy_techparambyproc":
                    //                Gy_TechParamByProc oGy_TechParamByProc = new Gy_TechParamByProc();
                    //                oGy_TechParamByProc.MdiParent = oMain;
                    //                oGy_TechParamByProc.Show();
                    //                oMainForm.AddTabPage(oGy_TechParamByProc);
                    //                break;
                    //            case "gy_techparambyproclist":
                    //                Gy_TechParamByProcList oGy_TechParamByProcList = new Gy_TechParamByProcList();
                    //                oGy_TechParamByProcList.MdiParent = oMain;
                    //                oGy_TechParamByProcList.Show();
                    //                oMainForm.AddTabPage(oGy_TechParamByProcList);
                    //                break;
                    //            case "gy_virtualwarehouse":
                    //                Gy_VirtualWarehouse oGy_VirtualWarehouse = new Gy_VirtualWarehouse();
                    //                oGy_VirtualWarehouse.MdiParent = oMain;
                    //                oGy_VirtualWarehouse.Show();
                    //                oMainForm.AddTabPage(oGy_VirtualWarehouse);
                    //                break;
                    //            case "gy_virtualstockclass":
                    //                Gy_VirtualStockClass oGy_VirtualStockClass = new Gy_VirtualStockClass();
                    //                oGy_VirtualStockClass.MdiParent = oMain;
                    //                oGy_VirtualStockClass.Show();
                    //                oMainForm.AddTabPage(oGy_VirtualStockClass);
                    //                break;
                    //            case "gy_virtualstockplacegroup":
                    //                Gy_VirtualStockPlaceGroup oGy_VirtualStockPlaceGroup = new Gy_VirtualStockPlaceGroup();
                    //                oGy_VirtualStockPlaceGroup.MdiParent = oMain;
                    //                oGy_VirtualStockPlaceGroup.Show();
                    //                oMainForm.AddTabPage(oGy_VirtualStockPlaceGroup);
                    //                break;
                    //            case "gy_virtualstockplace":
                    //                Gy_VirtualStockPlace oGy_VirtualStockPlace = new Gy_VirtualStockPlace();
                    //                oGy_VirtualStockPlace.MdiParent = oMain;
                    //                oGy_VirtualStockPlace.Show();
                    //                oMainForm.AddTabPage(oGy_VirtualStockPlace);
                    //                break;
        //            case "gy_barcoderulebill":
        //                //权限
        //                Gy_BarCodeRuleBill oGy_BarCodeRuleBill = new Gy_BarCodeRuleBill();
        //                oGy_BarCodeRuleBill.MdiParent = oMain;
        //                oGy_BarCodeRuleBill.Show();
        //                oMainForm.AddTabPage(oGy_BarCodeRuleBill);
        //                break;
        //            case "gy_datain_stockplace":
        //                //权限
        //                Gy_DataIn_StockPlace oGy_DataIn_StockPlace = new Gy_DataIn_StockPlace();
        //                oGy_DataIn_StockPlace.MdiParent = oMain;
        //                oGy_DataIn_StockPlace.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_StockPlace);
        //                break;
        //            case "gy_datain_warehouse":
        //                //权限
        //                Gy_DataIn_Warehouse oGy_DataIn_Warehouse = new Gy_DataIn_Warehouse();
        //                oGy_DataIn_Warehouse.MdiParent = oMain;
        //                oGy_DataIn_Warehouse.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Warehouse);
        //                break;
                    //            case "gy_barcoderulebill":
                    //                //权限
                    //                Gy_BarCodeRuleBill oGy_BarCodeRuleBill = new Gy_BarCodeRuleBill();
                    //                oGy_BarCodeRuleBill.MdiParent = oMain;
                    //                oGy_BarCodeRuleBill.Show();
                    //                oMainForm.AddTabPage(oGy_BarCodeRuleBill);
                    //                break;
                    //            case "gy_datain_stockplace":
                    //                //权限
                    //                Gy_DataIn_StockPlace oGy_DataIn_StockPlace = new Gy_DataIn_StockPlace();
                    //                oGy_DataIn_StockPlace.MdiParent = oMain;
                    //                oGy_DataIn_StockPlace.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_StockPlace);
                    //                break;
                    //            case "gy_datain_warehouse":
                    //                //权限
                    //                Gy_DataIn_Warehouse oGy_DataIn_Warehouse = new Gy_DataIn_Warehouse();
                    //                oGy_DataIn_Warehouse.MdiParent = oMain;
                    //                oGy_DataIn_Warehouse.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Warehouse);
                    //                break;
        //            case "gy_matemouldinfo":
        //                Gy_MateMouldInfo oGy_MateMouldInfo = new Gy_MateMouldInfo();
        //                oGy_MateMouldInfo.MdiParent = oMain;
        //                oGy_MateMouldInfo.Show();
        //                oMainForm.AddTabPage(oGy_MateMouldInfo);
        //                break;
        //            case "gy_matemouldinfolist":
        //                Gy_MateMouldInfoList oGy_MateMouldInfoList = new Gy_MateMouldInfoList();
        //                oGy_MateMouldInfoList.MdiParent = oMain;
        //                oGy_MateMouldInfoList.Show();
        //                oMainForm.AddTabPage(oGy_MateMouldInfoList);
        //                break;
        //            case "gy_datain_matepricesup_k3":
        //                //权限
        //                Gy_DataIn_MatePriceSup_K3 oGy_DataIn_MatePriceSup_K3 = new Gy_DataIn_MatePriceSup_K3();
        //                oGy_DataIn_MatePriceSup_K3.MdiParent = oMain;
        //                oGy_DataIn_MatePriceSup_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_MatePriceSup_K3);
        //                break;
        //            case "gy_datain_matepricecus_k3":
        //                //权限
        //                Gy_DataIn_MatePriceCus_K3 oGy_DataIn_MatePriceCus_K3 = new Gy_DataIn_MatePriceCus_K3();
        //                oGy_DataIn_MatePriceCus_K3.MdiParent = oMain;
        //                oGy_DataIn_MatePriceCus_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_MatePriceCus_K3);
        //                break;
        //            case "gy_datain_warehouse_k3":
        //                //权限
        //                Gy_DataIn_Warehouse_K3 oGy_DataIn_Warehouse_K3 = new Gy_DataIn_Warehouse_K3();
        //                oGy_DataIn_Warehouse_K3.MdiParent = oMain;
        //                oGy_DataIn_Warehouse_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Warehouse_K3);
        //                break;
        //            case "gy_datain_material_k3":
        //                //权限
        //                Gy_DataIn_Material_K3 oGy_DataIn_Material_K3 = new Gy_DataIn_Material_K3();
        //                oGy_DataIn_Material_K3.MdiParent = oMain;
        //                oGy_DataIn_Material_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Material_K3);
        //                break;
        //            case "gy_datain_customer_k3":
        //                //权限
        //                Gy_DataIn_Customer_K3 oGy_DataIn_Customer_K3 = new Gy_DataIn_Customer_K3();
        //                oGy_DataIn_Customer_K3.MdiParent = oMain;
        //                oGy_DataIn_Customer_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Customer_K3);
        //                break;
        //            case "gy_datain_supplier_k3":
        //                //权限
        //                Gy_DataIn_Supplier_K3 oGy_DataIn_Supplier_K3 = new Gy_DataIn_Supplier_K3();
        //                oGy_DataIn_Supplier_K3.MdiParent = oMain;
        //                oGy_DataIn_Supplier_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Supplier_K3);
        //                break;
        //            case "gy_datain_employee_k3":
        //                //权限
        //                Gy_DataIn_Employee_K3 oGy_DataIn_Employee_K3 = new Gy_DataIn_Employee_K3();
        //                oGy_DataIn_Employee_K3.MdiParent = oMain;
        //                oGy_DataIn_Employee_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Employee_K3);
        //                break;
        //            case "gy_datain_department_k3":
        //                //权限
        //                Gy_DataIn_Department_K3 oGy_DataIn_Department_K3 = new Gy_DataIn_Department_K3();
        //                oGy_DataIn_Department_K3.MdiParent = oMain;
        //                oGy_DataIn_Department_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Department_K3);
        //                break;
        //            case "gy_salepresentratelist":
        //                Gy_SalePresentRateList oGy_SalePresentRateList = new Gy_SalePresentRateList();
        //                oGy_SalePresentRateList.MdiParent = oMain;
        //                oGy_SalePresentRateList.Show();
        //                oMainForm.AddTabPage(oGy_SalePresentRateList);
        //                break;
        //            case "gy_icbombilllist":
        //                Gy_ICBomBillList oGy_ICBomBillList = new Gy_ICBomBillList();
        //                oGy_ICBomBillList.MdiParent = oMain;
        //                oGy_ICBomBillList.Show();
        //                oMainForm.AddTabPage(oGy_ICBomBillList);
        //                break;
        //            case "gy_icbombill":
        //                Gy_ICBomBill oGy_ICBomBill = new Gy_ICBomBill();
        //                oGy_ICBomBill.ShowDialog();
        //                break;
        //            case "gy_icbomgroup":
        //                Gy_ICBomGroup oGy_ICBomGroup = new Gy_ICBomGroup();
        //                oGy_ICBomGroup.MdiParent = oMain;
        //                oGy_ICBomGroup.Show();
        //                oMainForm.AddTabPage(oGy_ICBomGroup);
        //                break;
        //            case "gy_workcentersourcebill":
        //                Gy_WorkCenterSourceBill oGy_WorkCenterSourceBill = new Gy_WorkCenterSourceBill();
        //                oGy_WorkCenterSourceBill.MdiParent = oMain;
        //                oGy_WorkCenterSourceBill.Show();
        //                oMainForm.AddTabPage(oGy_WorkCenterSourceBill);
        //                break;
        //            case "gy_procpricelist":
        //                //权限
        //                Gy_ProcPriceList oGy_ProcPriceList = new Gy_ProcPriceList();
        //                oGy_ProcPriceList.MdiParent = oMain;
        //                oGy_ProcPriceList.Show();
        //                oMainForm.AddTabPage(oGy_ProcPriceList);
        //                break;
        //            case "gy_classtimeprjgroup":
        //                Gy_ClassTimePrjGroup oGy_ClassTimePrjGroup = new Gy_ClassTimePrjGroup();
        //                oGy_ClassTimePrjGroup.MdiParent = oMain;
        //                oGy_ClassTimePrjGroup.Show();
        //                oMainForm.AddTabPage(oGy_ClassTimePrjGroup);
        //                break;
        //            case "gy_matenumrelation":
        //                Gy_MateNumRelation oGy_MateNumRelation = new Gy_MateNumRelation();
        //                oGy_MateNumRelation.MdiParent = oMain;
        //                oGy_MateNumRelation.Show();
        //                oMainForm.AddTabPage(oGy_MateNumRelation);
        //                break;
        //            case "gy_procpricerela":
        //                Gy_ProcPriceRela oGy_ProcPriceRela = new Gy_ProcPriceRela();
        //                oGy_ProcPriceRela.MdiParent = oMain;
        //                oGy_ProcPriceRela.Show();
        //                oMainForm.AddTabPage(oGy_ProcPriceRela);
        //                break;
        //            case "gy_procpricerelagroup":
        //                Gy_ProcPriceRelaGroup oGy_ProcPriceRelaGroup = new Gy_ProcPriceRelaGroup();
        //                oGy_ProcPriceRelaGroup.MdiParent = oMain;
        //                oGy_ProcPriceRelaGroup.Show();
        //                oMainForm.AddTabPage(oGy_ProcPriceRelaGroup);
        //                break;
        //            case "gy_stockplacegroup":
        //                Gy_StockPlaceGroup oGy_StockPlaceGroup = new Gy_StockPlaceGroup();
        //                oGy_StockPlaceGroup.MdiParent = oMain;
        //                oGy_StockPlaceGroup.Show();
        //                oMainForm.AddTabPage(oGy_StockPlaceGroup);
        //                break;
                    //            case "gy_matemouldinfo":
                    //                Gy_MateMouldInfo oGy_MateMouldInfo = new Gy_MateMouldInfo();
                    //                oGy_MateMouldInfo.MdiParent = oMain;
                    //                oGy_MateMouldInfo.Show();
                    //                oMainForm.AddTabPage(oGy_MateMouldInfo);
                    //                break;
                    //            case "gy_matemouldinfolist":
                    //                Gy_MateMouldInfoList oGy_MateMouldInfoList = new Gy_MateMouldInfoList();
                    //                oGy_MateMouldInfoList.MdiParent = oMain;
                    //                oGy_MateMouldInfoList.Show();
                    //                oMainForm.AddTabPage(oGy_MateMouldInfoList);
                    //                break;
                    //            case "gy_datain_matepricesup_k3":
                    //                //权限
                    //                Gy_DataIn_MatePriceSup_K3 oGy_DataIn_MatePriceSup_K3 = new Gy_DataIn_MatePriceSup_K3();
                    //                oGy_DataIn_MatePriceSup_K3.MdiParent = oMain;
                    //                oGy_DataIn_MatePriceSup_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_MatePriceSup_K3);
                    //                break;
                    //            case "gy_datain_matepricecus_k3":
                    //                //权限
                    //                Gy_DataIn_MatePriceCus_K3 oGy_DataIn_MatePriceCus_K3 = new Gy_DataIn_MatePriceCus_K3();
                    //                oGy_DataIn_MatePriceCus_K3.MdiParent = oMain;
                    //                oGy_DataIn_MatePriceCus_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_MatePriceCus_K3);
                    //                break;
                    //            case "gy_datain_warehouse_k3":
                    //                //权限
                    //                Gy_DataIn_Warehouse_K3 oGy_DataIn_Warehouse_K3 = new Gy_DataIn_Warehouse_K3();
                    //                oGy_DataIn_Warehouse_K3.MdiParent = oMain;
                    //                oGy_DataIn_Warehouse_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Warehouse_K3);
                    //                break;
                    //            case "gy_datain_material_k3":
                    //                //权限
                    //                Gy_DataIn_Material_K3 oGy_DataIn_Material_K3 = new Gy_DataIn_Material_K3();
                    //                oGy_DataIn_Material_K3.MdiParent = oMain;
                    //                oGy_DataIn_Material_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Material_K3);
                    //                break;
                    //            case "gy_datain_customer_k3":
                    //                //权限
                    //                Gy_DataIn_Customer_K3 oGy_DataIn_Customer_K3 = new Gy_DataIn_Customer_K3();
                    //                oGy_DataIn_Customer_K3.MdiParent = oMain;
                    //                oGy_DataIn_Customer_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Customer_K3);
                    //                break;
                    //            case "gy_datain_supplier_k3":
                    //                //权限
                    //                Gy_DataIn_Supplier_K3 oGy_DataIn_Supplier_K3 = new Gy_DataIn_Supplier_K3();
                    //                oGy_DataIn_Supplier_K3.MdiParent = oMain;
                    //                oGy_DataIn_Supplier_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Supplier_K3);
                    //                break;
                    //            case "gy_datain_employee_k3":
                    //                //权限
                    //                Gy_DataIn_Employee_K3 oGy_DataIn_Employee_K3 = new Gy_DataIn_Employee_K3();
                    //                oGy_DataIn_Employee_K3.MdiParent = oMain;
                    //                oGy_DataIn_Employee_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Employee_K3);
                    //                break;
                    //            case "gy_datain_department_k3":
                    //                //权限
                    //                Gy_DataIn_Department_K3 oGy_DataIn_Department_K3 = new Gy_DataIn_Department_K3();
                    //                oGy_DataIn_Department_K3.MdiParent = oMain;
                    //                oGy_DataIn_Department_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Department_K3);
                    //                break;
                    //            case "gy_salepresentratelist":
                    //                Gy_SalePresentRateList oGy_SalePresentRateList = new Gy_SalePresentRateList();
                    //                oGy_SalePresentRateList.MdiParent = oMain;
                    //                oGy_SalePresentRateList.Show();
                    //                oMainForm.AddTabPage(oGy_SalePresentRateList);
                    //                break;
                    //            case "gy_icbombilllist":
                    //                Gy_ICBomBillList oGy_ICBomBillList = new Gy_ICBomBillList();
                    //                oGy_ICBomBillList.MdiParent = oMain;
                    //                oGy_ICBomBillList.Show();
                    //                oMainForm.AddTabPage(oGy_ICBomBillList);
                    //                break;
                    //            case "gy_icbombill":
                    //                Gy_ICBomBill oGy_ICBomBill = new Gy_ICBomBill();
                    //                oGy_ICBomBill.ShowDialog();
                    //                break;
                    //            case "gy_icbomgroup":
                    //                Gy_ICBomGroup oGy_ICBomGroup = new Gy_ICBomGroup();
                    //                oGy_ICBomGroup.MdiParent = oMain;
                    //                oGy_ICBomGroup.Show();
                    //                oMainForm.AddTabPage(oGy_ICBomGroup);
                    //                break;
                    //            case "gy_workcentersourcebill":
                    //                Gy_WorkCenterSourceBill oGy_WorkCenterSourceBill = new Gy_WorkCenterSourceBill();
                    //                oGy_WorkCenterSourceBill.MdiParent = oMain;
                    //                oGy_WorkCenterSourceBill.Show();
                    //                oMainForm.AddTabPage(oGy_WorkCenterSourceBill);
                    //                break;
                    //            case "gy_procpricelist":
                    //                //权限
                    //                Gy_ProcPriceList oGy_ProcPriceList = new Gy_ProcPriceList();
                    //                oGy_ProcPriceList.MdiParent = oMain;
                    //                oGy_ProcPriceList.Show();
                    //                oMainForm.AddTabPage(oGy_ProcPriceList);
                    //                break;
                    //            case "gy_classtimeprjgroup":
                    //                Gy_ClassTimePrjGroup oGy_ClassTimePrjGroup = new Gy_ClassTimePrjGroup();
                    //                oGy_ClassTimePrjGroup.MdiParent = oMain;
                    //                oGy_ClassTimePrjGroup.Show();
                    //                oMainForm.AddTabPage(oGy_ClassTimePrjGroup);
                    //                break;
                    //            case "gy_matenumrelation":
                    //                Gy_MateNumRelation oGy_MateNumRelation = new Gy_MateNumRelation();
                    //                oGy_MateNumRelation.MdiParent = oMain;
                    //                oGy_MateNumRelation.Show();
                    //                oMainForm.AddTabPage(oGy_MateNumRelation);
                    //                break;
                    //            case "gy_procpricerela":
                    //                Gy_ProcPriceRela oGy_ProcPriceRela = new Gy_ProcPriceRela();
                    //                oGy_ProcPriceRela.MdiParent = oMain;
                    //                oGy_ProcPriceRela.Show();
                    //                oMainForm.AddTabPage(oGy_ProcPriceRela);
                    //                break;
                    //            case "gy_procpricerelagroup":
                    //                Gy_ProcPriceRelaGroup oGy_ProcPriceRelaGroup = new Gy_ProcPriceRelaGroup();
                    //                oGy_ProcPriceRelaGroup.MdiParent = oMain;
                    //                oGy_ProcPriceRelaGroup.Show();
                    //                oMainForm.AddTabPage(oGy_ProcPriceRelaGroup);
                    //                break;
                    //            case "gy_stockplacegroup":
                    //                Gy_StockPlaceGroup oGy_StockPlaceGroup = new Gy_StockPlaceGroup();
                    //                oGy_StockPlaceGroup.MdiParent = oMain;
                    //                oGy_StockPlaceGroup.Show();
                    //                oMainForm.AddTabPage(oGy_StockPlaceGroup);
                    //                break;
                    case "gy_stockplace":
                        Gy_StockPlace oGy_StockPlace = new Gy_StockPlace();
                        oGy_StockPlace.MdiParent = oMain;
SCM.sln
@@ -23,8 +23,8 @@
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Debug|x86.ActiveCfg = Debug|x86
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Debug|x86.Build.0 = Debug|x86
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Debug|x86.ActiveCfg = Debug|Any CPU
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Debug|x86.Build.0 = Debug|Any CPU
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Release|Any CPU.Build.0 = Release|Any CPU
        {194A4F82-DCB5-4A28-8CBF-47BE90DE15A6}.Release|x86.ActiveCfg = Release|x86
@@ -39,13 +39,14 @@
        {65568D21-C65C-4796-8826-DF4A083BF500}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {65568D21-C65C-4796-8826-DF4A083BF500}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {65568D21-C65C-4796-8826-DF4A083BF500}.Debug|x86.ActiveCfg = Debug|Any CPU
        {65568D21-C65C-4796-8826-DF4A083BF500}.Debug|x86.Build.0 = Debug|Any CPU
        {65568D21-C65C-4796-8826-DF4A083BF500}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {65568D21-C65C-4796-8826-DF4A083BF500}.Release|Any CPU.Build.0 = Release|Any CPU
        {65568D21-C65C-4796-8826-DF4A083BF500}.Release|x86.ActiveCfg = Release|Any CPU
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Debug|x86.ActiveCfg = Debug|x86
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Debug|x86.Build.0 = Debug|x86
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Debug|x86.ActiveCfg = Debug|Any CPU
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Debug|x86.Build.0 = Debug|Any CPU
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Release|Any CPU.Build.0 = Release|Any CPU
        {7C30E3C9-58B7-420A-AB92-0A5117B82DDA}.Release|x86.ActiveCfg = Release|x86
@@ -53,6 +54,7 @@
        {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Debug|x86.ActiveCfg = Debug|Any CPU
        {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Debug|x86.Build.0 = Debug|Any CPU
        {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Release|Any CPU.Build.0 = Release|Any CPU
        {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Release|x86.ActiveCfg = Release|Any CPU
SCM/SCM.csproj
@@ -24,6 +24,7 @@
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <PlatformTarget>x86</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>