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;
|
}
|
}
|
}
|
}
|
}
|