赛鼎焊接修改

This commit is contained in:
2025-06-04 22:46:21 +08:00
parent d99ff19b09
commit b603b27f0b
40 changed files with 3265 additions and 118 deletions
@@ -329,5 +329,35 @@ namespace FineUIPro.Web.HSSE.CostGoods
PrinterDocService.PrinterDocMethod(Const.ProjectCostManageMenuId, Grid1.SelectedRowID, "HSSE费用管理");
}
protected void Button1_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
return;
}
string costManageId = Grid1.SelectedRowID;
var costManage = CostManageService.GetCostManageById(costManageId);
if (costManage != null && costManage.States == Const.State_2)
{
if (string.IsNullOrEmpty(costManage.ContractNum))
{
Alert.ShowInTop("未关联合同,无法推送!", MessageBoxIcon.Warning);
}
else
{
string messaage = CostManageService.PushDataToHSE(this.CurrUser.LoginProjectId, costManage.ContractNum);
}
}
else
{
Alert.ShowInTop("未审核完成无法推送!", MessageBoxIcon.Warning);
}
}
}
}