修改实施计划导出

This commit is contained in:
2023-07-07 15:31:52 +08:00
parent ab6b89f8ee
commit 09a616d801
4 changed files with 10 additions and 8 deletions
@@ -368,10 +368,10 @@ namespace FineUIPro.Web.ZHGL.Plan
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
return;
}
string Id = Grid1.SelectedRowID;
Model.ActionPlan_ActionPlanList actionPlanList = BLL.ActionPlanListService.GetActionPlanListById(Id);
if (actionPlanList.States!=BLL.Const.ActionPlanList_Complete)
if (actionPlanList.States != BLL.Const.ActionPlanList_Complete)
{
Alert.ShowInTop("状态必须为审批完成的才能导出!", MessageBoxIcon.Warning);
return;
@@ -635,7 +635,8 @@ namespace FineUIPro.Web.ZHGL.Plan
builder.Font.Bold = false;
if (item.ApproveDate != null)
{
builder.Write(item.ApproveDate.ToString().Split(' ')[0]);
string personName = Person_PersonsService.GetPersonsNameById(item.ApproveMan);
builder.Write(personName + " " + item.ApproveDate.ToString().Split(' ')[0]);
}
else
{