From 553448050ddfcaee97c4c559a1a6af92a6f3b268 Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期日, 24 四月 2022 09:05:18 +0800
Subject: [PATCH] nothing

---
 BaseSet/公用资料/其他基础资料/Gy_StdWorkTimes.cs |   24 +++++++++++-------------
 1 files changed, 11 insertions(+), 13 deletions(-)

diff --git "a/BaseSet/\345\205\254\347\224\250\350\265\204\346\226\231/\345\205\266\344\273\226\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StdWorkTimes.cs" "b/BaseSet/\345\205\254\347\224\250\350\265\204\346\226\231/\345\205\266\344\273\226\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StdWorkTimes.cs"
index 1fc5869..2be03b4 100644
--- "a/BaseSet/\345\205\254\347\224\250\350\265\204\346\226\231/\345\205\266\344\273\226\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StdWorkTimes.cs"
+++ "b/BaseSet/\345\205\254\347\224\250\350\265\204\346\226\231/\345\205\266\344\273\226\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StdWorkTimes.cs"
@@ -382,24 +382,21 @@
         {
             switch (BillStatus)
             {
-                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_View:
-                    //case DBUtility.ClsPub.Enum_BillStatus.BillStatus_Viewonly:
-                    //娴忚鐘舵��
-                    
+                case 0:
                     xg.Enabled = true;
                     AddRow.Enabled = false;
                     DelRow.Enabled = false;
                     bc.Enabled = false;
                     tc.Enabled = true;
-                    //鏈鏍�
-                    if (txtHChecker.Text.Trim() == "")
-                    {
-                        xg.Enabled = true;
-                    }
-                    else
-                    {
-                        xg.Enabled = false;
-                    }
+                    Sub_LrtextStatus(true);
+                    grdStatus = true;
+                    break;
+                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_View:
+                    xg.Enabled = true;
+                    AddRow.Enabled = false;
+                    DelRow.Enabled = false;
+                    bc.Enabled = false;
+                    tc.Enabled = true;
                     Sub_LrtextStatus(false);
                     grdStatus = false;
                     break;
@@ -423,6 +420,7 @@
                     Sub_LrtextStatus(true);
                     grdStatus = true;
                     break;
+
             }
 
         }

--
Gitblit v1.9.1