From 0d269c98032145e2ce998648164ed756a44fd992 Mon Sep 17 00:00:00 2001
From: cwjbxqmz <1134865194@qq.com>
Date: 星期三, 27 九月 2023 09:51:52 +0800
Subject: [PATCH] 计量单位列表:增加 审核,反审核,禁用,反禁用,按钮设置 等按钮;并修改视图,将 审核人,审核日期,禁用人,禁用日期 4列 显示出来;

---
 WebAPI/Controllers/基础资料/基础资料/Gy_MaterTypeBillController.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
index fd72d9a..339ea43 100644
--- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
+++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
@@ -477,11 +477,11 @@
 
                 foreach (DataRow row in ds.Tables[0].Rows)
                 {
-                    var strLen = row["hnumber"].ToString().Split('.');
+                    var strLen = row["hitemid"].ToString().Split('.');
                     if (strLen.Length == 1)
                     {
                         TreeModel tree = new TreeModel();
-                        tree.id = row["hnumber"].ToString();
+                        tree.id = row["hitemid"].ToString();
                         tree.title = row["hname"].ToString();
                         treeModels[0].children.Add(tree);
                     }
@@ -518,7 +518,7 @@
                     if (strLen.Length == num && dt.Rows[i]["hnumber"].ToString().Contains(tree[m].id + "."))
                     {
                         TreeModel tbjson = new TreeModel();
-                        tbjson.id = dt.Rows[i]["hnumber"].ToString();
+                        tbjson.id = dt.Rows[i]["hitemid"].ToString();
                         tbjson.title = dt.Rows[i]["hname"].ToString();
                         tree[m].children.Add(tbjson);
                     }

--
Gitblit v1.9.1