11
This commit is contained in:
@@ -61,6 +61,11 @@ namespace FineUIPro.Web.WeldMat.Stock
|
||||
strSql += " AND Weld.WeldTypeId = @WeldTypeId";
|
||||
listStr.Add(new SqlParameter("@WeldTypeId", drpWeldType.SelectedValue));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtWarrantybook.Text.Trim()))
|
||||
{
|
||||
strSql += " AND StockIn.Warrantybook LIKE @Warrantybook";
|
||||
listStr.Add(new SqlParameter("@Warrantybook", "%" + this.txtWarrantybook.Text.Trim() + "%"));
|
||||
}
|
||||
if (CurrUser.Account != Const.Gly)
|
||||
{
|
||||
strSql += " AND store.UnitId = @UnitId";
|
||||
@@ -142,12 +147,17 @@ namespace FineUIPro.Web.WeldMat.Stock
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
//protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// BindGrid();
|
||||
//}
|
||||
|
||||
protected void drpWeldType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void drpWeldType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
protected void btnSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user