/// <summary> /// 商品查询 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void ButtonPRODSearch_Click(object sender, EventArgs e) { conditionList = null; //conditionList = new List<ConditionFun.SqlqueryCondition>(); //绑定Grid表格 FineUI.Grid Grid4 = Window3.FindControl("PanelGrid4").FindControl("Grid4") as FineUI.Grid; V_Product01_PRCAREABll.GetInstence().BindGrid(Grid4, 0, 0, InquiryConditionProduct(), sortList); }
public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; string Prod_ID = context.Request["value"]; string Shop_ID = context.Request["value1"]; string resultJson = V_Product01_PRCAREABll.GetInstence().GetSingleV_Product01_PRCAREAInfos(Prod_ID, Shop_ID); context.Response.Write(resultJson); }
protected void Page_Load(object sender, EventArgs e) { //这里更改了 if (!IsPostBack) { var model = GetOnlineUserShop(); DatePicker1.SelectedDate = DateTime.Now.AddDays(-90); DatePicker2.SelectedDate = DateTime.Now.AddDays(1); SHOP00Bll.GetInstence().BindOnlineUser(this, model.SHOP_ID, ddlSHOP_NAME); SUPPLIERSBll.GetInstence().BandDropDownListShowSup(this, ddlSUP_NAME); V_Product01_PRCAREABll.GetInstence().BandDropDownListPurchase(this, ddlProd_Name01, model.SHOP_Price_Area); LoadList(); LoadData(); Purchase00Status(new Purchase00()); } }
/// <summary> /// 数据加载 /// </summary> /// <param name="_PROD_ID"></param> public void LoadData2(string _PROD_ID) { COMPONENT00Bll.GetInstence().BandDropDownListShowCOM(this, ddlBOM_ID, PROD_ID.Text); if (sortList == null) { Sort(); } conditionList = null; //绑定Grid表格 这里要换成PROD_ID V_Product01_PRCAREABll.GetInstence().BindGrid(Grid2, 0, 0, InquiryCondition2(_PROD_ID), sortList); //int o = 0; //int _Id = ConvertHelper.Cint(Grid2.DataKeys[o][0].ToString()); //GridRow row = Grid2.Rows[o]; //System.Web.UI.WebControls.DropDownList a = (System.Web.UI.WebControls.DropDownList)row.FindControl("dddllllKIND_NAME"); //a.SelectedValue = "3"; }