username@email.com
2025-05-12 ae6e40362a745caef9ead36f81f38313fb8c2c66
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CY.BLL.OA;
using CY.Model;
namespace CY.WebForm.Pages.procurement
{
    public partial class CommodityDetail : BasePage
    {
        OA_CommodityBLL _OA_CommodityBLL = null;
        OA_Commodity Commodity = null;
        public CommodityDetail()
        {
            _OA_CommodityBLL = new OA_CommodityBLL();
            Commodity = new OA_Commodity();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                InitialData();
            }
        }
 
        protected void InitialData()
        {
            Commodity = _OA_CommodityBLL.SelectSingleModel(Request["Keyid"].ToString());
            spanIsPaper.InnerText=(Commodity.IsPaper==1)?"是":"否";
            spanIsUsed.InnerText =Commodity.IsUsed?"是":"否";
            spanName.InnerText = Commodity.CommodityName;
            spanOpretor.InnerText = Commodity.Operator;
        }
 
 
    }
}