public ActionResult AddReceiveTransportPoint(AddReceiveTransportPointModel model) { if (ModelState.IsValid) { var result = MGJH_TransportPointBLL.AddReceiveTransportPoint(model, base.CurrentUserID); string temp = string.Format("ReceiveTransportPointAddressName:{0} SourceID:{1}", model.AddressName, model.SourceID); base.DoLog(OperationTypeEnum.Add, result, temp); return(Json(result)); } else { //在查询出的收货地址前面加上一条记录--表示无上级收货地址 List <SuperiorAddressModel> superiorAddress = new List <SuperiorAddressModel>(); superiorAddress.Add(new SuperiorAddressModel() { ID = -1, AddressName = @UIText.Noting }); superiorAddress.AddRange(MGJH_TransportPointBLL.GetAddSuperiorAddress()); model.SuperiorAddressSelectList = new SelectList(superiorAddress, "ID", "AddressName"); return(PartialView("_AddReceiveTransportPoint", model)); } }