55 lines
2.1 KiB
C#
55 lines
2.1 KiB
C#
|
|
using System;
|
|||
|
|
using System.Data;
|
|||
|
|
using System.Configuration;
|
|||
|
|
using System.Collections;
|
|||
|
|
using System.Web;
|
|||
|
|
using System.Web.Security;
|
|||
|
|
using System.Web.UI;
|
|||
|
|
using System.Web.UI.WebControls;
|
|||
|
|
using System.Web.UI.WebControls.WebParts;
|
|||
|
|
using System.Web.UI.HtmlControls;
|
|||
|
|
|
|||
|
|
public partial class Sell_ContractChanPinView : System.Web.UI.Page
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
|
|||
|
|
protected void Page_Load(object sender, EventArgs e)
|
|||
|
|
{
|
|||
|
|
if (!Page.IsPostBack)
|
|||
|
|
{
|
|||
|
|
ZWL.Common.PublicMethod.CheckSession();
|
|||
|
|
ZWL.BLL.ERPContractChanPin Model = new ZWL.BLL.ERPContractChanPin();
|
|||
|
|
Model.GetModel(int.Parse(Request.QueryString["ID"].ToString()));
|
|||
|
|
this.lblHeTongName.Text=Model.HeTongName.ToString();
|
|||
|
|
this.lblChanPinName.Text=Model.ChanPinName.ToString();
|
|||
|
|
this.lblDanJia.Text=Model.DanJia.ToString();
|
|||
|
|
this.lblShuLiang.Text=Model.ShuLiang.ToString();
|
|||
|
|
this.lblZongJia.Text=Model.ZongJia.ToString();
|
|||
|
|
this.lblYiFuKuan.Text=Model.YiFuKuan.ToString();
|
|||
|
|
this.lblQianKuanShu.Text=Model.QianKuanShu.ToString();
|
|||
|
|
this.lblIFJiaoFu.Text=Model.IFJiaoFu.ToString();
|
|||
|
|
this.lblUserName.Text=Model.UserName.ToString();
|
|||
|
|
this.lblTimeStr.Text=Model.TimeStr.ToString();
|
|||
|
|
this.lblBackInfo.Text=Model.BackInfo.ToString();
|
|||
|
|
|
|||
|
|
ZWL.BLL.ERPProduct ModelProduct = new ZWL.BLL.ERPProduct();
|
|||
|
|
ModelProduct.GetModelByName(Model.ChanPinName.ToString());
|
|||
|
|
this.lblProductSize.Text = ModelProduct.ProductSize;
|
|||
|
|
this.lblPerformance.Text = ModelProduct.Performance;
|
|||
|
|
this.lblCoating.Text = ModelProduct.Coating;
|
|||
|
|
this.lblSurfaceTreatment.Text = ModelProduct.SurfaceTreatment;
|
|||
|
|
this.lblMagnetizingDirection.Text = ModelProduct.MagnetizingDirection;
|
|||
|
|
this.lblTolerance.Text = ModelProduct.Tolerance;
|
|||
|
|
this.lblIsContainingTax.Text = ModelProduct.IsContainingTax == 1 ? "<22><>" : "<22><>";
|
|||
|
|
|
|||
|
|
//дϵͳ<CFB5><CDB3>־
|
|||
|
|
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
|
|||
|
|
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
|
|||
|
|
MyRiZhi.DoSomething = "<22>û<EFBFBD><C3BB>鿴<EFBFBD><E9BFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>Ϣ(" + this.lblHeTongName.Text + ")";
|
|||
|
|
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
|
|||
|
|
MyRiZhi.Add();
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|