示例#1
0
 /// <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_STOCK01_PRODUCT01Bll.GetInstence().BindGrid(Grid4, 0, 0, InquiryConditionProduct(), sortList);
 }
        /// <summary>
        /// 商品查询
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void ButtonPRODSearch_Click(object sender, EventArgs e)
        {
            string _shop_id  = ddlSHOP_NAME.SelectedValue;
            string _stock_id = ddlSTOCK_ID.SelectedValue;

            if (String.IsNullOrEmpty(_shop_id))
            {
                FineUI.Alert.ShowInParent("到货商店未选择", FineUI.MessageBoxIcon.Information);
                return;
            }

            if (String.IsNullOrEmpty(_stock_id))
            {
                FineUI.Alert.ShowInParent("仓库未选择", FineUI.MessageBoxIcon.Information);
                return;
            }

            conditionList = null;
            //conditionList = new List<ConditionFun.SqlqueryCondition>();
            //绑定Grid表格
            FineUI.Grid Grid4 = Window3.FindControl("PanelGrid4").FindControl("Grid4") as FineUI.Grid;
            V_STOCK01_PRODUCT01Bll.GetInstence().BindGrid(Grid4, 0, 0, InquiryConditionProduct(), sortList);
        }