From b2b2180addea72699fce43197e6ecbd93cc280de Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 20 十月 2025 12:42:12 +0800
Subject: [PATCH] 外协付款审批查看详情 完成
---
CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
index 20511d2..a74bd8e 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
@@ -23,10 +23,13 @@
OA_WorkPlanBll oA_WorkReminderBll = null;
public string planDataType = "";
OA_WorkPlan_attachmentBLL oA_WorkPlan_AttachmentBLL = null;
+ OA_FukuanshenqingBLL _oA_FukuanshenqingBLL = null;
+ public string DindanId = "";
public MyRequestDetail()
{
oA_WorkReminderBll = new OA_WorkPlanBll();
oA_WorkPlan_AttachmentBLL = new OA_WorkPlan_attachmentBLL();
+ _oA_FukuanshenqingBLL = new OA_FukuanshenqingBLL();
}
//椤甸潰鍔犺浇
@@ -58,12 +61,31 @@
{
this.RepClientList.DataSource = oA_WorkPlan_AttachmentBLL.GetModelByKaipiaoIdandType(Request["keyid"].ToInt32().Value, 14);
this.RepClientList.DataBind();
+
+ var fukuanshenqing = _oA_FukuanshenqingBLL.GetModelByKeyid(m_OA_WorkPlan.PlanComplany.ToInt32().Value);
+ if (fukuanshenqing != null)
+ {
+ DindanId = fukuanshenqing.DindanId;
+ }
}
else if (m_OA_WorkPlan.PlanDataType == 15)
{
this.RepClientList.DataSource = oA_WorkPlan_AttachmentBLL.GetModelByKaipiaoIdandType(Request["keyid"].ToInt32().Value, 15);
this.RepClientList.DataBind();
}
+ else if(m_OA_WorkPlan.PlanDataType == 18)
+ {
+ if (string.IsNullOrEmpty(m_OA_WorkPlan.PlanComplany))
+ {
+ this.spanShifoushenqingfukuan.InnerText = "鍚�";
+ }
+ else
+ {
+ this.spanShifoushenqingfukuan.InnerText = "鏄�";
+ }
+ this.spanZerenren.InnerText = m_OA_WorkPlan.RewardResult;
+ this.spanDanzefeiyong.InnerText = m_OA_WorkPlan.RewardContent;
+ }
--
Gitblit v1.9.1