From a1e963756360f8bd3938aa560b661d0400165c06 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 16 四月 2026 11:01:43 +0800
Subject: [PATCH] 排版修改

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
index cd6a5bc..ed4d55b 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
@@ -44,6 +44,7 @@
         EC_OrderBasicBLL _eC_OrderBasicBLL = null;
         OA_StaffBLL bll_OA_StaffBLL = null;
         LF_OrderFileBLL _lF_OrderFileBLL = null;
+        public bool bianji = false;
 
         /// <summary>
         /// 鍒濆鍖栨瀯閫�
@@ -469,6 +470,11 @@
         /// </summary>
         private void Page_Load_Default()
         {
+            if(CurrentUser.TrueLoginId == "00001")
+            {
+                bianji = true;
+            }
+
             UCPager1.AspNetPager.PageChanged += AspNetPager_PageChanged;
             btn_Search.Click += btn_Search_Click;
             txtCommission.Value = CY.Config.WebInfo.Instance.FirmOrderAgencyFee;
@@ -777,13 +783,21 @@
                     {
                         if (orderState == 1)
                         {
-                            isCan = false;
+                            if (opType == "鎾ゅ崟")
+                            {
+                                isCan = true;
+                            }
+                            else
+                            {
+                                isCan = false;
+                            }
+                               
                         }
                         else
                         {
                             if (opType == "鎾ゅ崟")
                             {
-                                if (orderState == 4 || orderState == 5)
+                                if (orderState == 3 || orderState == 4 || orderState == 5)
                                 {
                                     isCan = false;
                                 }
@@ -882,6 +896,7 @@
                 headerRow.CreateCell(12).SetCellValue("閲戦");
                 headerRow.CreateCell(13).SetCellValue("宸叉敹娆�");
                 headerRow.CreateCell(14).SetCellValue("鏈粯娆�");
+                headerRow.CreateCell(15).SetCellValue("閫佽揣閲戦");
 
                 // 娣诲姞鏁版嵁
                 int rowIndex = 1;
@@ -903,6 +918,7 @@
                     row.CreateCell(12).SetCellValue(order.SumPrice.HasValue? order.SumPrice.Value.ToDouble2().Value:0);
                     row.CreateCell(13).SetCellValue(order.TradingSingle.PayedMoney.HasValue ? order.TradingSingle.PayedMoney.Value.ToDouble2().Value : 0);
                     row.CreateCell(14).SetCellValue(order.UnPayedMoney.ToDouble2().Value);
+                    row.CreateCell(15).SetCellValue(order.SonghuoJine.HasValue ? order.SonghuoJine.Value.ToDouble2().Value : 0);
 
 
                 }

--
Gitblit v1.9.1