From e8e3122fdc4844202fb9e05477d47139e47a8aae Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 12 十二月 2025 08:59:47 +0800
Subject: [PATCH] 作业本送货变二级菜单
---
CY_ECommercePlatform/CY.WebForm/Pages/financial/BaoxiaoFukuanEdit.aspx.cs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/financial/BaoxiaoFukuanEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/financial/BaoxiaoFukuanEdit.aspx.cs
index cdb6542..168030f 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/financial/BaoxiaoFukuanEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/financial/BaoxiaoFukuanEdit.aspx.cs
@@ -25,6 +25,7 @@
OA_StaffBLL staffBLL = null;
OA_WorkPlanBll bll_OA_WorkPlanBll = null;
OA_DepartmentBll oA_DepartmentBll = null;
+ OA_ShebeiWeixiuBLL oA_ShebeiWeixiuBLL = null;
public BaoxiaoFukuanEdit()
{
firmAccount = new OA_FirmAccount();
@@ -37,6 +38,7 @@
staffBLL = new OA_StaffBLL();
bll_OA_WorkPlanBll = new OA_WorkPlanBll();
oA_DepartmentBll = new OA_DepartmentBll();
+ oA_ShebeiWeixiuBLL = new OA_ShebeiWeixiuBLL();
}
protected void Page_Load(object sender, EventArgs e)
@@ -152,6 +154,14 @@
oA_WorkPlan.Operator = CurrentUser.ShortName;
oA_WorkPlan.LastUpdateTime = DateTime.Now;
var res = bll_OA_WorkPlanBll.UpdateModel(oA_WorkPlan);
+
+ var shebeiWeixiu = oA_ShebeiWeixiuBLL.GetModelBytiaojian(null, oA_WorkPlan.Keyid, null);
+ if (shebeiWeixiu != null)
+ {
+ shebeiWeixiu.Shifoufufei = 1;
+ oA_ShebeiWeixiuBLL.UpdateModel(shebeiWeixiu);
+ }
+
}
--
Gitblit v1.9.1