From 569bb53b544e2e178b64e229d45f047da032af36 Mon Sep 17 00:00:00 2001 From: hao <1836460075@qq.com> Date: 星期五, 27 六月 2025 10:25:14 +0800 Subject: [PATCH] 销售退货,发货,采购退货申请反审核防呆 --- StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs b/StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs index a131eed..cd4ba3f 100644 --- a/StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs +++ b/StandardInterface/MES.Service/service/BasicData/Organization/SysDepartmentManager.cs @@ -36,7 +36,6 @@ return 1; break; case "2": - case "4": if (InsertOrUpdateDepartment(db, entity)) // 鎻掑叆鎴栨洿鏂伴儴闂� return 1; break; @@ -148,7 +147,8 @@ ParentId = Convert.ToDecimal(department.FParentID), FDOCUMENTSTATUS = department.FDocumentStatus, Company = "1000", - Factory = "1000" + Factory = "1000", + Type=department.Type, }; } @@ -192,7 +192,6 @@ throw new NotImplementedException("鍒犻櫎澶辫触"); break; case "2": - case "4": if (!InsertOrUpdateDepartmentBatch(db, departmentGroup.Value)) // 鎵归噺鎻掑叆鎴栨洿鏂伴儴闂� throw new NotImplementedException("鍚屾澶辫触"); -- Gitblit v1.9.3