Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         ZWL.Common.PublicMethod.CheckSession();
         ZWL.BLL.ERPGuDingJiLu Model = new ZWL.BLL.ERPGuDingJiLu();
         Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
         this.txtGDName.Text   = Model.GDName.ToString();
         this.txtZJType.Text   = Model.ZJType.ToString();
         this.txtZJDate.Text   = Model.ZJDate.ToString();
         this.txtZJJinE.Text   = Model.ZJJinE.ToString();
         this.txtUserName.Text = Model.UserName.ToString();
         this.txtTimeStr.Text  = Model.TimeStr.ToString();
         this.txtBackInfo.Text = Model.BackInfo.ToString();
     }
 }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         ZWL.Common.PublicMethod.CheckSession();
         ZWL.BLL.ERPGuDingJiLu Model = new ZWL.BLL.ERPGuDingJiLu();
         Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
         this.txtGDName.Text=Model.GDName.ToString();
         this.txtZJType.Text=Model.ZJType.ToString();
         this.txtZJDate.Text=Model.ZJDate.ToString();
         this.txtZJJinE.Text=Model.ZJJinE.ToString();
         this.txtUserName.Text=Model.UserName.ToString();
         this.txtTimeStr.Text=Model.TimeStr.ToString();
         this.txtBackInfo.Text=Model.BackInfo.ToString();
     }
 }
Пример #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPGuDingJiLu Model = new ZWL.BLL.ERPGuDingJiLu();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblGDName.Text   = Model.GDName.ToString();
            this.lblZJType.Text   = Model.ZJType.ToString();
            this.lblZJDate.Text   = Model.ZJDate.ToString();
            this.lblZJJinE.Text   = Model.ZJJinE.ToString();
            this.lblUserName.Text = Model.UserName.ToString();
            this.lblTimeStr.Text  = Model.TimeStr.ToString();
            this.lblBackInfo.Text = Model.BackInfo.ToString();

            //写系统日志
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName    = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "用户查看折旧记录信息(" + this.lblGDName.Text + ")";
            MyRiZhi.IpStr       = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();
        }
    }
Пример #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPGuDingJiLu Model = new ZWL.BLL.ERPGuDingJiLu();
            Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblGDName.Text=Model.GDName.ToString();
            this.lblZJType.Text=Model.ZJType.ToString();
            this.lblZJDate.Text=Model.ZJDate.ToString();
            this.lblZJJinE.Text=Model.ZJJinE.ToString();
            this.lblUserName.Text=Model.UserName.ToString();
            this.lblTimeStr.Text=Model.TimeStr.ToString();
            this.lblBackInfo.Text=Model.BackInfo.ToString();

            //дϵͳ��־
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "�û��鿴�۾ɼ�¼��Ϣ(" + this.lblGDName.Text + ")";
            MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();

        }
    }