username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
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.Inquiry;
using CY.Model;
using CY.Infrastructure.Common;
using CY.Model.Inquiry;
namespace CY.WebForm.Pages.business
{
    public partial class PrintDemandDetail : BasePage
    {
        RecordInfoBLL _recordInfoBLL = new RecordInfoBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int keyId=0;
                if(Request["keyId"]!=null)
                    keyId=Request["keyId"].ToString().ToInt32().Value;
                Inquiry_RecordInfo recordInfo = _recordInfoBLL.GetModel(keyId);
                InquiryCommonModel model = SerializationHelper.DeSerialize(typeof(InquiryCommonModel), recordInfo.PrintParameter) as InquiryCommonModel;
                if (model != null)
                {
                    this.lblPrintTypeName.Text = model.PrintTypeName;
                    this.lblPrintMode.Text = model.PrintModeName;
                    this.lblPrintCount.Text = model.PrintCountName;
                    this.lblPrintDemand.Text = model.PrintDemand;
                    this.lblAfterWorksDemand.Text = model.AfterWorksDemand;
                    this.lblDeliveryMode.Text = model.DeliveryModeName;
                    this.lblBillMode.Text = model.BillModeName;
                    this.lblRemarks.Text = model.Remarks;
                }
            }
        }
    }
}