feat(hjgl): 完善焊接任务与质量管理流程

This commit is contained in:
2026-08-19 17:13:33 +08:00
parent 08792e0dc8
commit 679e9f6cec
68 changed files with 2481 additions and 1170 deletions
@@ -26,6 +26,31 @@ namespace FineUIPro.Web.HJGL.HotProcessHard
ViewState["HotProessTrustId"] = value;
}
}
protected void btnGenerateAntiCorrosionTrust_Click(object sender, EventArgs e)
{
if (!CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId,
Const.Tw_AntiCorrosionTrustMenuId, Const.BtnAdd))
{
ShowNotify("您没有生成防腐委托单的权限!", MessageBoxIcon.Warning);
return;
}
if (string.IsNullOrEmpty(this.HotProessTrustId))
{
ShowNotify("请选择热处理委托", MessageBoxIcon.Warning);
return;
}
try
{
TwAntiCorrosionTrustService.GenerateByHotProessTrustId(this.HotProessTrustId, this.CurrUser.PersonId);
ShowNotify("防腐委托单生成成功", MessageBoxIcon.Success);
}
catch (ArgumentException ex)
{
ShowNotify(ex.Message, MessageBoxIcon.Warning);
}
}
#endregion
#region