Browse Source

冲压件采购订单 无法查看关闭状态

master
qian 1 year ago
parent
commit
04eefd47f7
  1. 5
      SCP/Views/富维冲压件/SCP_PO.aspx.cs

5
SCP/Views/富维冲压件/SCP_PO.aspx.cs

@ -74,6 +74,10 @@ namespace SCP.Views.富维冲压件
{ {
_entity.State = int.Parse(DDL_State.SelectedValue); _entity.State = int.Parse(DDL_State.SelectedValue);
} }
else
{
_entity.State = (int)PoState.Open;
}
_entity.VendId = ddlVender.Text; _entity.VendId = ddlVender.Text;
@ -85,7 +89,6 @@ namespace SCP.Views.富维冲压件
_entity.ModType = ConvertHelper.To<int>(rblist.SelectedValue); _entity.ModType = ConvertHelper.To<int>(rblist.SelectedValue);
} }
_entity.State = (int)PoState.Open;
_entity.IsDeleted = false; _entity.IsDeleted = false;
_entity.UserInVendIds = CurrentUser.VenderList; _entity.UserInVendIds = CurrentUser.VenderList;
_entity.UserInAddress = CurrentUser.FactoryList; _entity.UserInAddress = CurrentUser.FactoryList;

Loading…
Cancel
Save