Пример #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPCustomInfo model = new ZWL.BLL.ERPCustomInfo();
            model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblCustomName.Text      = model.CustomName;
            CustomNameStr                = model.CustomName;
            this.lblCustomSerils.Text    = model.CustomSerils;
            this.lblChargeMan.Text       = model.ChargeMan;
            this.lblAddress.Text         = model.Address;
            this.lblUrlLink.Text         = model.UrlLink;
            this.lblYouBian.Text         = model.YouBian;
            this.lblTelStr.Text          = model.TelStr;
            this.lblXingZhi.Text         = model.XingZhi;
            this.lblLaiYuan.Text         = model.LaiYuan;
            this.lblQuYu.Text            = model.QuYu;
            this.lblZhuangTai.Text       = model.ZhuangTai;
            this.lblRenShu.Text          = model.RenShu;
            this.lblBanGongMianJi.Text   = model.BanGongMianJi;
            this.lblLeiBie.Text          = model.LeiBie;
            this.lblJiBie.Text           = model.JiBie;
            this.lblYeWuFanWei.Text      = model.YeWuFanWei;
            this.lblHangYe.Text          = model.HangYe;
            this.lblMuQianWenTi.Text     = model.MuQianWenTi;
            this.lblYuJiDingDanDate.Text = model.YuJiDingDanDate;
            this.lblBackInfoA.Text       = model.BackInfoA;
            this.lblBackInfoB.Text       = model.BackInfoB;
            this.lblBackInfoC.Text       = model.BackInfoC;
            this.lblBackInfoD.Text       = model.BackInfoD;
            this.lblTimeStr.Text         = model.TimeStr.ToString();
            this.lblUserName.Text        = model.UserName;

            this.Label2.Text = model.DingDanCount;
            this.Label1.Text = model.YuJiTiXing;
            this.Label3.Text = model.IFShare;
            this.Label4.Text = model.CusBakA;
            this.Label5.Text = model.CusBakB;
            this.Label6.Text = model.CusBakC;
            this.Label7.Text = model.CusBakD;
            this.Label8.Text = model.CusBakE;


            //写系统日志
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName    = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "用户查看客户信息(" + this.lblCustomName.Text + ")";
            MyRiZhi.IpStr       = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
            MyRiZhi.Add();
        }
    }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         ZWL.Common.PublicMethod.CheckSession();
         ZWL.BLL.ERPCustomInfo model = new ZWL.BLL.ERPCustomInfo();
         model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
         this.txtCustomName.Text      = model.CustomName;
         this.txtCustomSerils.Text    = model.CustomSerils;
         this.txtChargeMan.Text       = model.ChargeMan;
         this.txtAddress.Text         = model.Address;
         this.txtUrlLink.Text         = model.UrlLink;
         this.txtYouBian.Text         = model.YouBian;
         this.txtTelStr.Text          = model.TelStr;
         this.txtXingZhi.Text         = model.XingZhi;
         this.txtLaiYuan.Text         = model.LaiYuan;
         this.txtQuYu.Text            = model.QuYu;
         this.txtZhuangTai.Text       = model.ZhuangTai;
         this.txtRenShu.Text          = model.RenShu;
         this.txtBanGongMianJi.Text   = model.BanGongMianJi;
         this.txtLeiBie.Text          = model.LeiBie;
         this.txtJiBie.Text           = model.JiBie;
         this.txtYeWuFanWei.Text      = model.YeWuFanWei;
         this.txtHangYe.Text          = model.HangYe;
         this.txtMuQianWenTi.Text     = model.MuQianWenTi;
         this.txtYuJiDingDanDate.Text = model.YuJiDingDanDate;
         this.txtBackInfoA.Text       = model.BackInfoA;
         this.txtBackInfoB.Text       = model.BackInfoB;
         this.txtBackInfoC.Text       = model.BackInfoC;
         this.txtBackInfoD.Text       = model.BackInfoD;
         this.Label1.Text             = model.UserName;
         this.Label2.Text             = model.TimeStr.ToString();
         this.txtDingDanCount.Text    = model.DingDanCount;
         this.txtYuJiTiXing.Text      = model.YuJiTiXing;
         this.txtIFShare.Text         = model.IFShare;
         this.txtCusBakA.Text         = model.CusBakA;
         this.txtCusBakB.Text         = model.CusBakB;
         this.txtCusBakC.Text         = model.CusBakC;
         this.txtCusBakD.Text         = model.CusBakD;
         this.txtCusBakE.Text         = model.CusBakE;
     }
 }
Пример #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ZWL.Common.PublicMethod.CheckSession();
            ZWL.BLL.ERPCustomInfo model = new ZWL.BLL.ERPCustomInfo();
            model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.lblCustomName.Text      = model.CustomName;
            CustomNameStr                = model.CustomName;
            this.lblCustomSerils.Text    = model.CustomSerils;
            this.lblChargeMan.Text       = model.ChargeMan;
            this.lblAddress.Text         = model.Address;
            this.lblUrlLink.Text         = model.UrlLink;
            this.lblYouBian.Text         = model.YouBian;
            this.lblTelStr.Text          = model.TelStr;
            this.lblXingZhi.Text         = model.XingZhi;
            this.lblLaiYuan.Text         = model.LaiYuan;
            this.lblQuYu.Text            = model.QuYu;
            this.lblZhuangTai.Text       = model.ZhuangTai;
            this.lblRenShu.Text          = model.RenShu;
            this.lblBanGongMianJi.Text   = model.BanGongMianJi;
            this.lblLeiBie.Text          = model.LeiBie;
            this.lblJiBie.Text           = model.JiBie;
            this.lblYeWuFanWei.Text      = model.YeWuFanWei;
            this.lblHangYe.Text          = model.HangYe;
            this.lblMuQianWenTi.Text     = model.MuQianWenTi;
            this.lblYuJiDingDanDate.Text = model.YuJiDingDanDate;
            this.lblBackInfoA.Text       = model.BackInfoA;
            this.lblBackInfoB.Text       = model.BackInfoB;
            this.lblBackInfoC.Text       = model.BackInfoC;
            this.lblBackInfoD.Text       = model.BackInfoD;
            this.lblTimeStr.Text         = model.TimeStr.ToString();
            this.lblUserName.Text        = model.UserName;

            this.Label2.Text = model.DingDanCount;
            this.Label1.Text = model.YuJiTiXing;
            this.Label3.Text = model.IFShare;
            this.Label4.Text = model.CusBakA;
            this.Label5.Text = model.CusBakB;
            this.Label6.Text = model.CusBakC;
            this.Label7.Text = model.CusBakD;
            this.Label8.Text = model.CusBakE;

            this.lblNameEng.Text               = model.NameEng.ToString();
            this.lblFaRenDaiMa.Text            = model.FaRenDaiMa.ToString();
            this.lblYingYeZhiZhao.Text         = model.YingYeZhiZhao.ToString();
            this.lblZiBenE.Text                = model.ZiBenE.ToString();
            this.lblZuZhiXingZhi.Text          = model.ZuZhiXingZhi.ToString();
            this.lblYingYeChangSuo.Text        = model.YingYeChangSuo.ToString();
            this.lblJingJi.Text                = model.JingJi.ToString();
            this.lblSheHuiGuanXi.Text          = model.SheHuiGuanXi.ToString();
            this.lblBenGongSiGuanXi.Text       = model.BenGongSiGuanXi.ToString();
            this.lblJieShaoRen.Text            = model.JieShaoRen.ToString();
            this.lblBaoZhengRen.Text           = model.BaoZhengRen.ToString();
            this.lblShuiPiaoName.Text          = model.ShuiPiaoName.ToString();
            this.lblDiZhiDianHua.Text          = model.DiZhiDianHua.ToString();
            this.lblNaShuiDengJiHao.Text       = model.NaShuiDengJiHao.ToString();
            this.lblKaiHuHangZhangHao.Text     = model.KaiHuHangZhangHao.ToString();
            this.lblJiaoYiFangShi.Text         = model.JiaoYiFangShi.ToString();
            this.lblZhangQi.Text               = model.ZhangQi.ToString();
            this.lblFuKuanFangShi.Text         = model.FuKuanFangShi.ToString();
            this.lblYunFeiChengDan.Text        = model.YunFeiChengDan.ToString();
            this.lblCuXiaoFei.Text             = model.CuXiaoFei.ToString();
            this.lblGuangGaoFei.Text           = model.GuangGaoFei.ToString();
            this.lblYouDaiZheKou.Text          = model.YouDaiZheKou.ToString();
            this.lblFuKuanTaiDu.Text           = model.FuKuanTaiDu.ToString();
            this.lblShiFouDuiZhang.Text        = model.ShiFouDuiZhang.ToString();
            this.lblDuiZhangShiJian.Text       = model.DuiZhangShiJian.ToString();
            this.lblZuiJiaPaiFangShiJian.Text  = model.ZuiJiaPaiFangShiJian.ToString();
            this.lblZuiJiaShouKuanShiJian.Text = model.ZuiJiaShouKuanShiJian.ToString();
            this.lblQiTaGongYing.Text          = model.QiTaGongYing.ToString();
            this.lblChangYongNaJia.Text        = model.ChangYongNaJia.ToString();
            this.lblGongSiYiJian.Text          = model.GongSiYiJian.ToString();
            this.lblZiXin.Text      = model.ZiXin.ToString();
            this.lblZongJieLun.Text = model.ZongJieLun.ToString();


            //写系统日志
            ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
            MyRiZhi.UserName    = ZWL.Common.PublicMethod.GetSessionValue("UserName");
            MyRiZhi.DoSomething = "用户查看客户信息(" + this.lblCustomName.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.ERPCustomInfo model = new ZWL.BLL.ERPCustomInfo();
            model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
            this.txtCustomName.Text      = model.CustomName;
            this.txtCustomSerils.Text    = model.CustomSerils;
            this.txtChargeMan.Text       = model.ChargeMan;
            this.txtAddress.Text         = model.Address;
            this.txtUrlLink.Text         = model.UrlLink;
            this.txtYouBian.Text         = model.YouBian;
            this.txtTelStr.Text          = model.TelStr;
            this.txtXingZhi.Text         = model.XingZhi;
            this.txtLaiYuan.Text         = model.LaiYuan;
            this.txtQuYu.Text            = model.QuYu;
            this.txtZhuangTai.Text       = model.ZhuangTai;
            this.txtRenShu.Text          = model.RenShu;
            this.txtBanGongMianJi.Text   = model.BanGongMianJi;
            this.txtLeiBie.Text          = model.LeiBie;
            this.txtJiBie.Text           = model.JiBie;
            this.txtYeWuFanWei.Text      = model.YeWuFanWei;
            this.txtHangYe.Text          = model.HangYe;
            this.txtMuQianWenTi.Text     = model.MuQianWenTi;
            this.txtYuJiDingDanDate.Text = model.YuJiDingDanDate;
            this.txtBackInfoA.Text       = model.BackInfoA;
            this.txtBackInfoB.Text       = model.BackInfoB;
            this.txtBackInfoC.Text       = model.BackInfoC;
            this.txtBackInfoD.Text       = model.BackInfoD;
            this.Label1.Text             = model.UserName;
            this.Label2.Text             = model.TimeStr.ToString();
            this.txtDingDanCount.Text    = model.DingDanCount;
            this.txtYuJiTiXing.Text      = model.YuJiTiXing;
            this.txtIFShare.Text         = model.IFShare;
            this.txtCusBakA.Text         = model.CusBakA;
            this.txtCusBakB.Text         = model.CusBakB;
            this.txtCusBakC.Text         = model.CusBakC;
            this.txtCusBakD.Text         = model.CusBakD;
            this.txtCusBakE.Text         = model.CusBakE;

            this.txtNameEng.Text               = model.NameEng.ToString();
            this.txtFaRenDaiMa.Text            = model.FaRenDaiMa.ToString();
            this.txtYingYeZhiZhao.Text         = model.YingYeZhiZhao.ToString();
            this.txtZiBenE.Text                = model.ZiBenE.ToString();
            this.txtZuZhiXingZhi.Text          = model.ZuZhiXingZhi.ToString();
            this.txtYingYeChangSuo.Text        = model.YingYeChangSuo.ToString();
            this.txtJingJi.Text                = model.JingJi.ToString();
            this.txtSheHuiGuanXi.Text          = model.SheHuiGuanXi.ToString();
            this.txtBenGongSiGuanXi.Text       = model.BenGongSiGuanXi.ToString();
            this.txtJieShaoRen.Text            = model.JieShaoRen.ToString();
            this.txtBaoZhengRen.Text           = model.BaoZhengRen.ToString();
            this.txtShuiPiaoName.Text          = model.ShuiPiaoName.ToString();
            this.txtDiZhiDianHua.Text          = model.DiZhiDianHua.ToString();
            this.txtNaShuiDengJiHao.Text       = model.NaShuiDengJiHao.ToString();
            this.txtKaiHuHangZhangHao.Text     = model.KaiHuHangZhangHao.ToString();
            this.txtJiaoYiFangShi.Text         = model.JiaoYiFangShi.ToString();
            this.txtZhangQi.Text               = model.ZhangQi.ToString();
            this.txtFuKuanFangShi.Text         = model.FuKuanFangShi.ToString();
            this.txtYunFeiChengDan.Text        = model.YunFeiChengDan.ToString();
            this.txtCuXiaoFei.Text             = model.CuXiaoFei.ToString();
            this.txtGuangGaoFei.Text           = model.GuangGaoFei.ToString();
            this.txtYouDaiZheKou.Text          = model.YouDaiZheKou.ToString();
            this.txtFuKuanTaiDu.Text           = model.FuKuanTaiDu.ToString();
            this.txtShiFouDuiZhang.Text        = model.ShiFouDuiZhang.ToString();
            this.txtDuiZhangShiJian.Text       = model.DuiZhangShiJian.ToString();
            this.txtZuiJiaPaiFangShiJian.Text  = model.ZuiJiaPaiFangShiJian.ToString();
            this.txtZuiJiaShouKuanShiJian.Text = model.ZuiJiaShouKuanShiJian.ToString();
            this.txtQiTaGongYing.Text          = model.QiTaGongYing.ToString();
            this.txtChangYongNaJia.Text        = model.ChangYongNaJia.ToString();
            this.txtGongSiYiJian.Text          = model.GongSiYiJian.ToString();
            this.txtZiXin.Text      = model.ZiXin.ToString();
            this.txtZongJieLun.Text = model.ZongJieLun.ToString();
        }
    }