From 55853b3d34c9383f5881b86fab452e580e16bd8c Mon Sep 17 00:00:00 2001 From: qian Date: Tue, 24 Sep 2024 15:16:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=20=E6=9C=AA=E5=AE=8C=E6=88=90=E6=9F=A5=E8=AF=A2=E9=99=90?= =?UTF-8?q?=E5=88=B6=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/北京北汽/SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs b/北京北汽/SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs index 557a1c6..b664071 100644 --- a/北京北汽/SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs +++ b/北京北汽/SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs @@ -120,11 +120,11 @@ namespace SCP.PlanData _entity.DayState = int.Parse(ddl_DayState.SelectedValue); _entity.IsDeleted = false; _entity.Site = CurrentUser.UsedDomain; - //if (CurrentUser.VenderList.Count > 0) - //{ - // _entity.VendId = CurrentUser.VenderList.FirstOrDefault(); - //} - + if (CurrentUser.VenderList.Count > 0) + { + _entity.VendId = CurrentUser.VenderList.FirstOrDefault(); + } + _entity.SubSite = CurrentUser.UserdSite; if (CurrentUser.RoleList.Contains("供应商") && CurrentUser.VenderList.Count==0)