This commit is contained in:
2021-06-21 14:10:40 +08:00
parent 65a719e331
commit 8bc3189f9f
100 changed files with 9736 additions and 1138 deletions
@@ -17,7 +17,7 @@ namespace FineUIPro.Web.JDGL.Check
{
if (!IsPostBack)
{
//GetButtonPower();
GetButtonPower();
BindGrid();
}
}
@@ -39,7 +39,7 @@ namespace FineUIPro.Web.JDGL.Check
{
if (buttonList.Contains(BLL.Const.BtnSave))
{
this.btnSave.Hidden = false;
this.btnMenuDel.Hidden = false;
}
}
}
@@ -146,6 +146,21 @@ namespace FineUIPro.Web.JDGL.Check
}
#endregion
protected void btnMenuDel_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length > 0)
{
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
{
string rowID = Grid1.DataKeys[rowIndex][1].ToString();
BLL.QuantityCompletionService.DeleteQuantityCompletionById(rowID);
}
BindGrid();
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
}
}
#region
/// <summary>
/// 导入按钮