From 63b6be972c27f9000b97809b627369d8a17741a0 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 09 五月 2023 11:18:38 +0800
Subject: [PATCH] 生产订单编码规则(S+年(23)+五位流水号)实例:S2300001 生产订单按照日期最新的排在最前面
---
WebAPI/Controllers/基础资料/基础资料/Gy_MaterTypeBillController.cs | 4 ++--
1 files changed, 2 insertions(+), 2 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 b290f2b..a40aca1 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);
}
--
Gitblit v1.9.1