From d15f9ddeef5168a71007b568d7349042931a92e3 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 14 五月 2025 15:23:00 +0800 Subject: [PATCH] 系统表格中工价为16开工价;32开下浮30%;32开以下减半;8开上浮30%,4开以上上浮1半 --- CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs index 0a891b2..cd6a5bc 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs +++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs @@ -561,6 +561,8 @@ SetParamValue(searchParam, 20, CurrentUser.StaffId); SetParamValue(searchParam, 21, CurrentUser.TrueName); SetParamValue(searchParam, 28, this.txtSearchyjname.Value); + SetParamValue(searchParam, 30, this.selWorkStates.Value); + SetParamValue(searchParam, 31, this.selDeleverStates.Value); if (!IsPostBack && !IsCallback) { if (Session["OrderList"] != null) @@ -609,6 +611,10 @@ this.selAppraise.SelectedValue = searchParam[index].ToString(); if (index == 28) this.txtSearchyjname.Value = searchParam[index].ToString(); + if (index == 30) + this.selWorkStates.Value = searchParam[index].ToString(); + if (index == 31) + this.selDeleverStates.Value = searchParam[index].ToString(); } @@ -620,7 +626,6 @@ SetParamValue(searchParam, 19, CurrentUser.TrueMemberId); SetParamValue(searchParam, 20, CurrentUser.StaffId); SetParamValue(searchParam, 21, CurrentUser.TrueName); - SetParamValue(searchParam, 28, this.txtSearchyjname.Value); } } else @@ -674,6 +679,20 @@ PageIndex = UCPager1.AspNetPager.CurrentPageIndex }; IEnumerable<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPage_Seller(pagination, SearchParam); + + foreach (var eC_OrderBasic in result) + { + if(eC_OrderBasic.DeliveryTime.HasValue && eC_OrderBasic.DeliveryTime.Value < DateTime.Now.Date) + { + eC_OrderBasic.Shifoubiaohongwangong = "<p style=\"color:red;\">瀹屽伐</p>"; + eC_OrderBasic.Shifoubiaohongsonghuo = "<p style=\"color:red;\">閫佽揣</p>"; + } + else + { + eC_OrderBasic.Shifoubiaohongwangong = "瀹屽伐"; + eC_OrderBasic.Shifoubiaohongsonghuo = "閫佽揣"; + } + } rptData.DataSource = result; rptData.DataBind(); -- Gitblit v1.9.1