From 92a92c2fc694810fdba050f1034ef107ad5c858f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 07 十一月 2025 09:05:16 +0800
Subject: [PATCH] 那个作业本送货,查看明细或查看送货情况。这个列表中,比如说某个品种,它本来就没得的, 、那个格子里头不显零,格子里头就不要任何数据。不然,我们要要混乱好写了0的 ,我们才晓得这是有好已经送了的,就这样子修改,就某个品种,它本来就没得的格子头就是空白, 不不要写的,你这样子修改一下。
---
CY_ECommercePlatform/CY.WebForm/Pages/financial/BaoxiaoFukuanEdit.aspx.cs | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/financial/BaoxiaoFukuanEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/financial/BaoxiaoFukuanEdit.aspx.cs
index be190c7..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)
@@ -70,10 +72,10 @@
protected void InitialData()
{
var keyid = Request["keyid"].ToInt32();
- //绉戠洰鍚嶇О
- selSubject.DataSource = _OA_SubjectSetBLL.getAllSubject(CurrentUser.MemberId, "璐�");
- selSubject.DataBind();
- selSubject.Items.Insert(0, new ListItem("璇烽�夋嫨", ""));
+ ////绉戠洰鍚嶇О
+ //selSubject.DataSource = _OA_SubjectSetBLL.getAllSubject(CurrentUser.MemberId, "璐�");
+ //selSubject.DataBind();
+ //selSubject.Items.Insert(0, new ListItem("璇烽�夋嫨", ""));
///璐︽埛绫诲瀷
selAcoountType.DataSource = _Sys_DictionaryBLL.GetDataByType("璐︽埛绫诲瀷");
@@ -85,6 +87,7 @@
{
var oA_WorkPlan = bll_OA_WorkPlanBll.GetModelByKeyid(keyid);
this.selSubject.Value = oA_WorkPlan.RewardResult;
+ this.selSubjectName.Value = oA_WorkPlan.RewardContent;
this.txtMoney.Value = oA_WorkPlan.PlanMoney.Value.ToString("0.00");
this.txtPaymentUnit.Value = oA_WorkPlan.PlanPeople;
var oA_Department = oA_DepartmentBll.GetModelByKeyid(oA_WorkPlan.DepartId);
@@ -151,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