username@email.com
8 小时以前 ea71208bf0d457f948edb7d16b29f94ae5dd3def
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();