雅琪诺MES智能条码管理系统
zgq
2021-01-20 48c61ce7e9a21da5a5952495cd5c73ea76cd3515
SCM/系统管理/Xt_UserNew.cs
@@ -362,6 +362,10 @@
                    ",HCloudUserName='" + txtHCloudUserName.Text.ToString() + "'" +
                    ",HCloudUserPsd='" + txtHCloudUserPsd.Text.ToString() + "'" +
                    ",HUSEORGID=" + HOrgID.ToString() +
                    ",HGroup=" + textHGroupID.Text.ToString() +
                    ",HGroupID=" + textHGroupID.Tag.ToString() +
                    ",HProc=" + textHProcNo.Text.ToString() +
                    ",HProcNo=" + textHProcNo.Tag.ToString() +
                    "where Czybm='" + Czybm + "'", ref DBUtility.ClsPub.sExeReturnInfo);
                //
                oWeb.getRunProc("delete from  System_UserGroupInfo where UserId='" + Czybm + "'", ref DBUtility.ClsPub.sExeReturnInfo);
@@ -693,8 +697,41 @@
        }
        #endregion
        private void cmdHGroupID_Click(object sender, EventArgs e)
        {
            SCM.ClsGy_Group_View oEmp = new SCM.ClsGy_Group_View();
            string DeWhere = "";
            DeWhere = " ";
            if (oEmp.RefreshView(DeWhere))
            {
                this.textHGroupID.Text = oEmp.oModel.HName;
                this.textHGroupID.Tag = oEmp.oModel.HItemID.ToString();
            }
            else
            {
                this.textHGroupID.Text = "";
                this.textHGroupID.Tag = 0;
            }
        }
        private void cmdHProcNo_Click(object sender, EventArgs e)
        {
            SCM.ClsIF_Process_View oEmp = new SCM.ClsIF_Process_View();
            string DeWhere = "";
            DeWhere = " ";
            if (oEmp.RefreshView(DeWhere))
            {
                this.textHProcNo.Text = oEmp.oModel.HName;
                this.textHProcNo.Tag = oEmp.oModel.HNumber;
            }
            else
            {
                this.textHProcNo.Text = "";
                this.textHProcNo.Tag = 0;
            }
        }
    }
}