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;