From 04eefd47f7faa33bf93d104fd703f83b1aa1c299 Mon Sep 17 00:00:00 2001 From: qian Date: Mon, 23 Oct 2023 14:58:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=B2=E5=8E=8B=E4=BB=B6=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=20=E6=97=A0=E6=B3=95=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SCP/Views/富维冲压件/SCP_PO.aspx.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SCP/Views/富维冲压件/SCP_PO.aspx.cs b/SCP/Views/富维冲压件/SCP_PO.aspx.cs index bb2afaf..9bd5531 100644 --- a/SCP/Views/富维冲压件/SCP_PO.aspx.cs +++ b/SCP/Views/富维冲压件/SCP_PO.aspx.cs @@ -74,6 +74,10 @@ namespace SCP.Views.富维冲压件 { _entity.State = int.Parse(DDL_State.SelectedValue); } + else + { + _entity.State = (int)PoState.Open; + } _entity.VendId = ddlVender.Text; @@ -85,7 +89,6 @@ namespace SCP.Views.富维冲压件 _entity.ModType = ConvertHelper.To(rblist.SelectedValue); } - _entity.State = (int)PoState.Open; _entity.IsDeleted = false; _entity.UserInVendIds = CurrentUser.VenderList; _entity.UserInAddress = CurrentUser.FactoryList;