This commit is contained in:
2024-09-27 18:17:21 +08:00
parent be070f85e2
commit 064a849b97
73 changed files with 3248 additions and 589 deletions
+16 -1
View File
@@ -17,6 +17,11 @@ namespace FineUIPro.Web.CLGL
if (!IsPostBack)
{
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
drpWarehouse.DataTextField = "Text";
drpWarehouse.DataValueField = "Value";
drpWarehouse.DataSource = BLL.DropListService.HJGL_WarehouseCode();
drpWarehouse.DataBind();
Funs.FineUIPleaseSelect(this.drpWarehouse);
// 绑定表格
this.BindGrid();
}
@@ -29,6 +34,11 @@ namespace FineUIPro.Web.CLGL
private void BindGrid()
{
Model.Tw_MaterialStockOutput table = new Model.Tw_MaterialStockOutput();
table.PipeLineMatCode = txtMatCode.Text.Trim();
if (drpWarehouse.SelectedValue!= Const._Null)
{
table.WarehouseCode = drpWarehouse.SelectedValue;
}
table.ProjectId = this.CurrUser.LoginProjectId;
var tb = BLL.TwMaterialstockService.GetListData(table, Grid1);
Grid1.RecordCount = TwMaterialstockService.Count;
@@ -218,6 +228,11 @@ namespace FineUIPro.Web.CLGL
return sb.ToString();
}
#endregion
#endregion
protected void btnSearch_Click(object sender, EventArgs e)
{
BindGrid();
}
}
}