DS7/DSWeb/Shipping/FeeHistory.aspx.cs

54 lines
1.5 KiB
C#

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
namespace DSWeb.Shipping
{
public partial class FeeHistory : System.Web.UI.Page
{
private string strBSNO;//委托编号
private string strUserID;//操作人GID
private int iFeeType;//费用类型 值1应收费用 值2应付费用
private string stroplb;//业务类别
protected void Page_Load(object sender, EventArgs e)
{
if (Session["USERID"] != null)
{
strUserID = Session["USERID"].ToString();
}
if (Request.QueryString["bsno"] != null)
{
strBSNO = Request.QueryString["bsno"].ToString();
this.h_bsno.Value = strBSNO;
}
if (Request.QueryString["oplb"] != null)
{
stroplb = Request.QueryString["oplb"].ToString();
this.h_oplb.Value = stroplb;
}
if (Request.QueryString["type"] != null)
{
try
{
iFeeType = int.Parse(Request.QueryString["type"].ToString());
}
catch
{
iFeeType = 0;
}
this.h_feetype.Value = iFeeType.ToString();
}
}
}
}