You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HENGCHENG/DSWeb/Shipping/SeaExportInfoBillOfLadingAd...

48 lines
1.8 KiB
C#

11 months ago
using System;
using DSWeb.Models;
using DSWeb.EntityDA;
namespace DSWeb.Shipping
{
public partial class SeaExportInfoBillOfLadingAdding : System.Web.UI.Page
{
public string strHandleType = String.Empty;
public string sSQL = String.Empty;
public string gvid = String.Empty;
T_ALL_DA T_ALL_DA = new T_ALL_DA();
MoneyConvert MoneyConvert = new MoneyConvert();
TopSeaeBillmanageEntity TopSeaeBillmanageEntity = new TopSeaeBillmanageEntity();
TopSeaeBillmanageDA TopSeaeBillmanageDA = new TopSeaeBillmanageDA();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Request.QueryString["handle"] == "edit")
{
if (Request.QueryString["asid"] != null)
{
TopSeaeBillmanageEntity = TopSeaeBillmanageDA.GetID(Request.QueryString["asid"]);
//
if (TopSeaeBillmanageEntity.BILLTYPE.Trim().Equals("主单"))
{
RadioButtonList1.SelectedValue = "0";
}
else if(TopSeaeBillmanageEntity.BILLTYPE.Trim().Equals("分单"))
{
RadioButtonList1.SelectedValue = "1";
}
//
if (!TopSeaeBillmanageEntity.TEMPLATE.Trim().Equals(""))
{
this.hd_comboAdd.Value = TopSeaeBillmanageEntity.TEMPLATE;
}
}
}
}
//加载下拉框
Page.ClientScript.RegisterStartupScript(this.GetType(), "key", "<script>initComboAdd();</script>");
}
}
}