From 389b4da5feedfc0b49d7c6540bc836267d7bbee0 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 23 九月 2025 08:46:15 +0800
Subject: [PATCH] 作业本送货 加上客户单位 完成 订单状态默认未送货 完成
---
CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
index c4ec8bb..20511d2 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
@@ -21,10 +21,12 @@
public partial class MyRequestDetail : BasePage
{
OA_WorkPlanBll oA_WorkReminderBll = null;
-
+ public string planDataType = "";
+ OA_WorkPlan_attachmentBLL oA_WorkPlan_AttachmentBLL = null;
public MyRequestDetail()
{
oA_WorkReminderBll = new OA_WorkPlanBll();
+ oA_WorkPlan_AttachmentBLL = new OA_WorkPlan_attachmentBLL();
}
//椤甸潰鍔犺浇
@@ -42,6 +44,7 @@
OA_WorkPlan m_OA_WorkPlan = oA_WorkReminderBll.GetModelByKeyid(Request["keyid"].ToInt32());
if (m_OA_WorkPlan != null)
{
+ planDataType = m_OA_WorkPlan.PlanDataType.Value.ToString();
this.spanPlanDataType.InnerText = m_OA_WorkPlan.PlanDataTypeName.ToString();
this.spanPlanMoney.InnerText = m_OA_WorkPlan.PlanMoney.Value.ToString("0.00");
this.spanPlanPeople.InnerText = m_OA_WorkPlan.PlanPeople.ToString();
@@ -49,6 +52,20 @@
this.spanPlanRemark.InnerText = m_OA_WorkPlan.PlanRemark.ToString();
this.spanPlanTitle.InnerText = m_OA_WorkPlan.PlanTitle.ToString();
this.spanPlanContent.InnerText = m_OA_WorkPlan.PlanContent.ToString();
+ this.spanShoukuandanwei.InnerText = m_OA_WorkPlan.PlanComplany;
+
+ if(m_OA_WorkPlan.PlanDataType == 14)
+ {
+ this.RepClientList.DataSource = oA_WorkPlan_AttachmentBLL.GetModelByKaipiaoIdandType(Request["keyid"].ToInt32().Value, 14);
+ this.RepClientList.DataBind();
+ }
+ else if (m_OA_WorkPlan.PlanDataType == 15)
+ {
+ this.RepClientList.DataSource = oA_WorkPlan_AttachmentBLL.GetModelByKaipiaoIdandType(Request["keyid"].ToInt32().Value, 15);
+ this.RepClientList.DataBind();
+ }
+
+
if (m_OA_WorkPlan.PlanStatus == 1)
{
--
Gitblit v1.9.1