using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using System.Data;
|
using System.Data.SqlClient;
|
using CY.Model;
|
using CY.BLL;
|
using CY.Infrastructure.Common;
|
using CY.Infrastructure.Query;
|
|
namespace CY.WebForm.Pages.adminclient
|
{
|
//吴辉
|
//软件销售记录明细
|
public partial class Soft_SellRecordDetail : BasePage
|
{
|
Soft_SellRecordBLL bll_Soft_SellRecordBLL = null;
|
|
//初始化
|
public Soft_SellRecordDetail()
|
{
|
bll_Soft_SellRecordBLL = new Soft_SellRecordBLL();
|
}
|
|
//页面加载
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
InitData();
|
}
|
}
|
|
//数据加载
|
public void InitData()
|
{
|
Soft_SellRecord m_Soft_SellRecord = bll_Soft_SellRecordBLL.GetModelByKeyid(Request["keyid"].ToInt32());
|
if (m_Soft_SellRecord != null)
|
{
|
this.spanClientName.InnerText = m_Soft_SellRecord.ClientName.ToString2();
|
this.spanAccountManagerId.InnerText = m_Soft_SellRecord.AccountManagerName.ToString2();
|
this.spanBusinessManagerId.InnerText = m_Soft_SellRecord.BusinessManagerName.ToString2();
|
this.spanSoftName.InnerText = m_Soft_SellRecord.SoftName.ToString2();
|
this.spanSoftQuantity.InnerText = m_Soft_SellRecord.SoftQuantity.ToString2();
|
this.spanSoftUnitprice.InnerText = m_Soft_SellRecord.SoftUnitprice.ToString2();
|
this.spanOrderMoney.InnerText = m_Soft_SellRecord.OrderMoney.ToString2();
|
this.spanOrderNum.InnerText = m_Soft_SellRecord.OrderNum.ToString2();
|
this.spanCreatTime.InnerText = m_Soft_SellRecord.CreatTime.ToString2();
|
this.spanOperator.InnerText = m_Soft_SellRecord.Operator.ToString2();
|
this.spanVisitTime.InnerText = m_Soft_SellRecord.VisitTime.ToString2();
|
this.spanDegreeImportanId.InnerText = m_Soft_SellRecord.DegreeImportanName.ToString2();
|
this.spanMobile.InnerText = m_Soft_SellRecord.Mobile.ToString2();
|
this.spanQQ.InnerText = m_Soft_SellRecord.QQ.ToString2();
|
this.spanOrderRemark.InnerText = m_Soft_SellRecord.OrderRemark;
|
this.spanVisitStatus.InnerText = (m_Soft_SellRecord.VisitStatus.ToString2() == "1" ? "已回访" : "未回访");
|
this.IsVisit.Visible = (m_Soft_SellRecord.VisitStatus == 1);
|
if (m_Soft_SellRecord.VisitStatus == 1)
|
{
|
this.spanVisitSoftScore.InnerText = m_Soft_SellRecord.VisitSoftScore.ToString2();
|
this.spanVisitSoftServers.InnerText = m_Soft_SellRecord.VisitSoftServers.ToString2();
|
this.spanVisitReason.InnerText = m_Soft_SellRecord.VisitReason.ToString2();
|
this.spanVisitProposal.InnerText = m_Soft_SellRecord.VisitProposal.ToString2();
|
this.spanVisitPeople.InnerText = m_Soft_SellRecord.VisitPeople.ToString2();
|
}
|
}
|
}
|
}
|
}
|