From 099c199d96f2d92dfcda50e763528a3d161fd5cf Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 15 九月 2025 08:45:34 +0800
Subject: [PATCH] 设计人员查询的时候,也过滤设计提成里边的设计人员 增加结算状态。 批量结算按钮完成
---
CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs
index 7bec8c9..160e960 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/ShejiOrderList.aspx.cs
@@ -541,12 +541,20 @@
PageIndex = UCPager1.AspNetPager.CurrentPageIndex
};
IEnumerable<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPageSheji(pagination, CurrentUser.MemberId,this.txtBeginData.Value,this.txtEndDate.Value,this.txtOrderId.Value
- ,this.selPrintTypes.Value,this.selBusinessManager.Value,this.selShejirenyuan.Value,this.txtBuyerName.Value,this.txtDocumentName.Value,this.selShejiStatus.SelectedValue);
+ ,this.selPrintTypes.Value,this.selBusinessManager.Value,this.selShejirenyuan.Value,this.txtBuyerName.Value,this.txtDocumentName.Value,this.selShejiStatus.SelectedValue,this.selshifoujiesuan.SelectedValue);
decimal PageAllMoney = 0;
var ssss = result.Sum(x => x.ShejiSumPrice);
var ssssaa = result.Sum(x => x.ShejiSumPriceneiye);
var ssssaaa = result.Sum(x => x.ShejiSumPriceneiye1);
var ssssaaaa = result.Sum(x => x.ShejiSumPriceneiye2);
+ if(!string.IsNullOrEmpty(this.selShejirenyuan.Value))
+ {
+ ssss = result.Where(x=>x.Shejirenyuan == this.selShejirenyuan.Value.ToInt32()).Sum(x => x.ShejiSumPrice);
+ ssssaa = result.Where(x => x.Shejirenyuanneiye == this.selShejirenyuan.Value.ToInt32()).Sum(x => x.ShejiSumPriceneiye);
+ ssssaaa = result.Where(x => x.Shejirenyuanneiye1 == this.selShejirenyuan.Value.ToInt32()).Sum(x => x.ShejiSumPriceneiye1);
+ ssssaaaa = result.Where(x => x.Shejirenyuanneiye2 == this.selShejirenyuan.Value.ToInt32()).Sum(x => x.ShejiSumPriceneiye2);
+ }
+
var sssssssss = ssss.HasValue ? ssss.Value : 0;
var sssssssssaa = ssssaa.HasValue ? ssssaa.Value : 0;
var sssssssssaaa = ssssaaa.HasValue ? ssssaaa.Value : 0;
@@ -645,7 +653,7 @@
var result = _eC_OrderBasicBLL.SelectModelPageSheji(pa, CurrentUser.MemberId, this.txtBeginData.Value, this.txtEndDate.Value, this.txtOrderId.Value
- , this.selPrintTypes.Value, this.selBusinessManager.Value, this.selShejirenyuan.Value, this.txtBuyerName.Value, this.txtDocumentName.Value, this.selShejiStatus.SelectedValue);
+ , this.selPrintTypes.Value, this.selBusinessManager.Value, this.selShejirenyuan.Value, this.txtBuyerName.Value, this.txtDocumentName.Value, this.selShejiStatus.SelectedValue, this.selshifoujiesuan.SelectedValue);
foreach (var eC_OrderBasic in result)
{
--
Gitblit v1.9.1