From d3dbf477999c1c6b4e295ea6c2d54b1350c05e5d Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 15 八月 2023 08:26:59 +0800
Subject: [PATCH] 修改为动态列 产线组装追溯单单据条码回车查询
---
Pub_Class/CustomerCls/ClsPub.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Pub_Class/CustomerCls/ClsPub.cs b/Pub_Class/CustomerCls/ClsPub.cs
index 9d154cb..a6d9f87 100644
--- a/Pub_Class/CustomerCls/ClsPub.cs
+++ b/Pub_Class/CustomerCls/ClsPub.cs
@@ -946,7 +946,7 @@
}
else
{
- if (ClsPub.isStrNull(DsUser.Tables[0].Rows[0]["AuthorityID"]).Length > ModID
+ if (ClsPub.isStrNull(DsUser.Tables[0].Rows[0]["AuthorityID"]).Length >= ModID
&& DsUser.Tables[0].Rows[0]["AuthorityID"].ToString().Trim().Substring((int)ModID - 1, 1) == "1")
{
HavRight = true;
--
Gitblit v1.9.1