/**
|
* OrderDeatil.aspx.cs
|
*
|
* 功 能: 订单详情
|
* 类 名: OrderDeatil
|
*
|
* Ver 变更日期 负责人 变更内容
|
* ───────────────────────────────────
|
* V0.01 2013-4-24 13:25 吴崎均 初版
|
* V0.02 2013-5-15 18:23 吴崎均 编辑界面样式
|
* V0.03 2013-5-15 15:58 吴崎均 完成数据获取
|
* V0.04 2013-5-21 14:38 吴崎均 增加订单进度
|
* V0.05 2013-5-23 9:33 吴崎均 修改继承类为默认类Page使显示信息不受登录控制
|
*
|
*
|
*
|
*
|
*
|
*
|
*/
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using CY.BLL.EC;
|
using CY.Infrastructure.Common;
|
using CY.Model;
|
using CY.BLL;
|
using CY.Model.Inquiry;
|
using CY.BLL.Sys;
|
using CY.Infrastructure.Query;
|
|
namespace CY.WebForm.Pages.business
|
{
|
public partial class DeliverunusualPrint : BasePage
|
{
|
|
OA_DeliverPlanBLL _OA_DeliverPlanBLL = new OA_DeliverPlanBLL();
|
public static string SellerOrderId = "";
|
public static string PrintType = "";
|
/// <summary>
|
/// 页面加载事件
|
/// </summary>
|
/// <param name="sender"></param>
|
/// <param name="e"></param>
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
try
|
{
|
switch (Request["Target"])
|
{
|
case "GetCommunication":
|
break;
|
case "print":
|
break;
|
default:
|
Page_Load_Default();
|
return;
|
}
|
}
|
catch (Exception ex)
|
{
|
PAGEHandleException(ex);
|
Response.Clear();
|
Response.Write("-1");
|
}
|
Response.End();
|
}
|
|
/// <summary>
|
/// 默认加载事件方法
|
/// </summary>
|
private void Page_Load_Default()
|
{
|
LoadOrderInfo();
|
}
|
|
/// <summary>
|
/// 加载订单信息
|
/// </summary>
|
private bool LoadOrderInfo()
|
{
|
string DeliverTimestart = Request["DeliverTimestart"];
|
string DeliverTimeend = Request["DeliverTimeend"];
|
|
|
Pagination pa = new Pagination();
|
pa.PageSize = 1000;
|
pa.PageIndex = 1;
|
|
IEnumerable<OA_DeliverPlan> oA_DeliverPlans = _OA_DeliverPlanBLL.SelectModelPageunusual(pa,
|
CurrentUser.MemberId,
|
DeliverTimestart,
|
DeliverTimeend
|
);
|
|
|
|
|
rptOrder.DataSource = oA_DeliverPlans;
|
rptOrder.DataBind();
|
|
return true;
|
}
|
|
|
}
|
}
|