1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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();
        }
 
        
    }
}