Html.TextBoxFor三元判断
@Html.TextBoxFor(item => item.DiscountOW,(Model.TripType == "单程" || (Model.TripType == "单程/往返" && Model.DiscountOW != 0)) ? new { } : (object)new { disabled = "disabled", @Value = Model.DiscountOW == default(decimal) ? "" : Model.DiscountOW.ToString() })