This commit is contained in:
2024-09-24 20:38:50 +08:00
parent 4e9832dc8a
commit 8edf7e1389
46 changed files with 3109 additions and 748 deletions
+19 -7
View File
@@ -229,6 +229,8 @@ namespace FineUIPro.Web.CLGL
else
{
planMaster.State = (int)TwConst.State.;
planMaster.AuditMan=this.CurrUser.PersonId;
planMaster.AuditDate = DateTime.Now;
TwInOutplanmasterService.Update(planMaster);
ShowNotify("审核通过!", MessageBoxIcon.Success);
BindGrid();
@@ -244,21 +246,31 @@ namespace FineUIPro.Web.CLGL
}
string planId = Grid1.SelectedRowID;
var planMaster = BLL.TwInOutplanmasterService.GetById(planId);
if ( planMaster.State != (int)TwConst.State.)
if (planMaster.State != (int)TwConst.State.)
{
Alert.ShowInTop("请选择有效的计划!", MessageBoxIcon.Warning);
return;
}
else
{
TwInputmasterService.GenInMasterByPlanId(planId);
BindGrid();
ShowNotify("生成入库单成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InPlanMasterEdit.aspx?Id={0}", Grid1.SelectedRowID, "编辑 - ")));
}
//if ( planMaster.State != (int)TwConst.State.已审核)
//{
// Alert.ShowInTop("请选择有效的计划!", MessageBoxIcon.Warning);
// return;
//}
//else
//{
// TwInputmasterService.GenInMasterByPlanId(planId);
// BindGrid();
// ShowNotify("生成入库单成功!", MessageBoxIcon.Success);
//}
}
}
protected void btnRevokeGenInMaster_Click(object sender, EventArgs e)
protected void btnRevokeGenInMaster_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{