46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
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;
|
|
using System.Text;
|
|
using DSWeb.EntityDA;
|
|
using DSWeb.Models;
|
|
using System.Xml;
|
|
using System.Text.RegularExpressions;
|
|
|
|
namespace DSWeb.SeaiFee
|
|
{
|
|
public partial class WmsRateList : System.Web.UI.Page
|
|
{
|
|
private string strid;//客户gid
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (Request.QueryString["id"] != null)
|
|
{
|
|
strid = Request.QueryString["id"].ToString();
|
|
this.h_custid.Value = strid;
|
|
GetCustomer(strid);
|
|
}
|
|
}
|
|
#region 获取客户名称
|
|
/// <summary>
|
|
/// 获取客户名称
|
|
/// </summary>
|
|
private void GetCustomer(string strid)
|
|
{
|
|
CRMClientEntity cusEntity = new CRMClientEntity();
|
|
CRMClientDA CRMClientDA = new CRMClientDA();
|
|
cusEntity = CRMClientDA.GetCrmClientInfoByGID(strid);
|
|
this.h_cusname.Value = cusEntity.ShortName.ToString().Trim();
|
|
}
|
|
#endregion
|
|
}
|
|
}
|