wangxinhui
6 小时以前 c2cdf0b95d4c9214646c860609b8c838d6ffa779
项目代码/WMS/WMSServices/WIDESEA_SystemService/Sys_DictionaryService.cs
@@ -1084,33 +1084,6 @@
                            result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data };
                        }
                        break;
                    case "customerOutRuleEnum":
                        {
                            List<object> data = new List<object>();
                            {
                                Type type = typeof(CustomerOutRuleEnum);
                                List<int> enums = Enum.GetValues(typeof(CustomerOutRuleEnum)).Cast<int>().ToList();
                                int index = 0;
                                foreach (var item in enums)
                                {
                                    FieldInfo? fieldInfo = typeof(CustomerOutRuleEnum).GetField(((CustomerOutRuleEnum)item).ToString());
                                    DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>();
                                    if (description != null)
                                    {
                                        data.Add(new { key = item.ToString(), value = description.Description });
                                    }
                                    else
                                    {
                                        data.Add(new { key = item.ToString(), value = item.ToString() });
                                    }
                                    index++;
                                }
                            }
                            result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data };
                        }
                        break;
                    case "agvStationAreaEnum":
                        {
                            List<object> data = new List<object>();