From ea71208bf0d457f948edb7d16b29f94ae5dd3def Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 24 十二月 2025 12:10:53 +0800
Subject: [PATCH] 就是受理,生产之后就不能修改,撤销工单之后就可以修改

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx.cs |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx.cs
index 2a4ea7c..c31ad21 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx.cs
@@ -48,10 +48,10 @@
             if (!string.IsNullOrEmpty(Request["chexiao"]))
             {
                 EC_OrderBasic _eC_OrderBasic = bll_EC_OrderBasicBLL.SelectModelById(Request["chexiao"].ToInt32().Value);
-                if(_eC_OrderBasic.SellerName != "鍏朵粬")
-                {
-                    JavaScript.MessageBox("宸茬粡纭渚涘簲鍟嗕笉鑳芥挙鍗曪紒", this);
-                }
+                //if(_eC_OrderBasic.SellerName != "鍏朵粬")
+                //{
+                //    JavaScript.MessageBox("宸茬粡纭渚涘簲鍟嗕笉鑳芥挙鍗曪紒", this);
+                //}
                 if (_eC_OrderBasic.BuyerId == CurrentUser.MemberId)
                 {
                     var res = false;
@@ -66,6 +66,16 @@
                     {
                         try
                         {
+                            //淇敼璁㈠崟鐘舵��
+                            List<EC_OrderOperate> oprates = new List<EC_OrderOperate>();
+                            oprates.Add(new EC_OrderOperate()
+                            {
+                                OperateType = 1,
+                                OrderId = Request["OldOrderId"].ToInt32().Value,
+                                Operator = CurrentUser.ShortName,
+                                Remark = ""
+                            });
+                            res = bll_EC_OrderBasicBLL.UpdateOrderState(oprates[0]);
                             res = bll_EC_OrderBasicBLL.UpdateOldOrderSurplusPrintNum(Request["chexiao"].ToInt32().Value);
                             res = bll_EC_OrderBasicBLL.DeleteOutOrder(Request["chexiao"].ToInt32().Value);
                             scope.Complete();
@@ -129,8 +139,9 @@
         private void BindList()
         {
             Pagination pa = new Pagination();
-            pa.PageSize = UCPager1.AspNetPager.PageSize;
             pa.PageIndex = UCPager1.AspNetPager.CurrentPageIndex;
+            pa.PageSize = this.ddlPageSize.Value.ToInt32().Value;// UCPager1.AspNetPager.PageSize;
+            UCPager1.AspNetPager.PageSize = this.ddlPageSize.Value.ToInt32().Value;
             this.RepClientList.DataSource = bll_EC_OrderBasicBLL.SelectAferOfOutOrder(pa, CurrentUser.MemberId, this.txtStartCreatTime.Value.ToDateTime2(), this.txtEndCreatTime.Value.ToDateTime2(), this.txtStartReturnTime.Value.ToDateTime2(), this.txtEndReturnTime.Value.ToDateTime2(), this.txtCreater.Value, this.selOutFirm.Value, this.selWorkStates.Value, this.txtOutOrderId.Value, 4,this.selPayStates.Value);
             this.RepClientList.DataBind();
             UCPager1.AspNetPager.RecordCount = pa.RecordCount;

--
Gitblit v1.9.1