using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CY.Infrastructure.Common; using CY.BLL.OA; using CY.Model; namespace CY.WebForm.Pages.procurement { public partial class GoodsInfoDetail : BasePage { OA_GoodsInfo goodsInfo = null; OA_GoodsInfoBLL _OA_GoodsInfoBLL = null; public GoodsInfoDetail() { goodsInfo = new OA_GoodsInfo(); _OA_GoodsInfoBLL = new OA_GoodsInfoBLL(); } protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InitialData(); } } protected void InitialData() { goodsInfo = _OA_GoodsInfoBLL.SelectSingleModel(Request["Keyid"].ToString2()); spanCommodityName.InnerText = goodsInfo.CommodityName; spanGoodsName.InnerText = goodsInfo.GoodsName; //spanGoodsHeight.InnerText = goodsInfo.GoodsHeight.ToString2(); //spanGoodsLength.InnerText = goodsInfo.GoodsLength.ToString2(); //spanGoodsWidth.InnerText = goodsInfo.GoodsWidth.ToString2(); spanOperator.InnerText = goodsInfo.Operator; //spanPrice.InnerText = goodsInfo.Price.ToString2(); //spanSpecificationName.InnerText = goodsInfo.SpecificationName; //spanBrandName.InnerText = goodsInfo.BrandName; //spanWeight.InnerText = goodsInfo.Weight.ToString2(); spanStatusName.InnerText = goodsInfo.StatusName; spanRemark.InnerText = goodsInfo.Remark; //spanUnit.InnerText = goodsInfo.Unit; //spanWarningInventory.InnerText = goodsInfo.WarningInventory.ToString2(); //spanGoodsHeight.InnerText = goodsInfo.GoodsHeight.ToString2(); //spanGoodsWidth.InnerText = goodsInfo.GoodsWidth.ToString2(); } } }