using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CY.BLL; using CY.Model; using CY.Infrastructure.Query; using CY.Infrastructure.Common; using CY.BLL.OA; namespace CY.WebForm.Pages.financial { public partial class PlanOrderDetail : BasePage { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindPlanOrder(); } } /// /// 绑定单个科目的具体信息 /// public void BindPlanOrder() { CoreCmsPlanOrderBLL _PlanOrderBLL = new CoreCmsPlanOrderBLL(); CoreCmsPlanOrderItemBLL _coreCmsPlanOrderItemBLL = new CoreCmsPlanOrderItemBLL(); var coreCmsPlanOrder = _PlanOrderBLL.GetModelByKeyid(Request["Keyid"].ToInt32().Value); spnsheng.InnerText = coreCmsPlanOrder.sheng; spnshi.InnerText = coreCmsPlanOrder.shi; spnquxian.InnerText = coreCmsPlanOrder.quxian; spnpianqu.InnerText = coreCmsPlanOrder.pianqu; spnshipAddress.InnerText = coreCmsPlanOrder.shipAddress; spnshipName.InnerText = coreCmsPlanOrder.shipName; spnshipMobile.InnerText = coreCmsPlanOrder.shipMobile; spnshouhuoAddress.InnerText = coreCmsPlanOrder.shouhuoAddress; spnorderAmount.InnerText = coreCmsPlanOrder.orderAmount.ToString2() ; this.RepSubjeSetctList.DataSource = _coreCmsPlanOrderItemBLL.GetModelsByOrderid(Request["Keyid"].ToInt32().Value) ; this.RepSubjeSetctList.DataBind(); } } }