@using FHT.Agency.UI.ViewModels.Order @using FHT.Agency.UI.InputModels.Order @using FHT.Agency.UI.InputModels.Package @using FHT.Agency.CommonTypes @using FHT.Core.CommonTypes @using FHT.Utilities @using FHT.Agency.Web.Extensions @model AuditOrderViewModel @{ ViewBag.Title = "订单详情"; Layout = "~/Views/Shared/_Layout.cshtml"; var orderInputModel = (OrderInputModel)ViewBag.OrderInputModel; var orderViewModel = Model.OrderViewModel; var package = ViewBag.Package as PackageInputModel; } @{ //var feature = orderInputModel.GetOrderFeatureInputModels(); } @*@{ var rowspan = User.UserRole() != FhtUserRoleType.AgentCustomerServiceStaff?10:8; rowspan += orderInputModel.BuyServiceType == BuyServiceType.Package ? 0 : -1; if (feature is AdGeneralOrderFeatureInputModel) { rowspan += 6; } else if(feature is SMSOrderFeatureInputModel) { rowspan += 4; } else if (feature is MembershipOrderFeatureInputModel) { rowspan += 2; } } *@ @if (orderInputModel.BuyOrderType == BuyOrderType.Package) { } else { @**@ } @if (orderInputModel.BuyOrderType == BuyOrderType.Package) { } @if (User.UserRole() != FhtUserRoleType.AgentCustomerServiceStaff) { } @*@if (orderInputModel.BuyOrderType != BuyOrderType.Package) { if (feature is MembershipOrderFeatureInputModel) { Html.RenderPartial("OrderFeature/_MembershipOrderFeature", feature); } else if (feature is AdGeneralOrderFeatureInputModel) { Html.RenderPartial("OrderFeature/_AdGeneralOrderFeature", feature); } else if (feature is SMSOrderFeatureInputModel) { Html.RenderPartial("OrderFeature/_SmsOrderFeature", feature); } }*@ @if (orderViewModel.hasKeyword) { }
客户信息 客户名称:@Model.OrderAgentClientViewModel.CustomerName
营业执照:@if (!string.IsNullOrEmpty(Model.OrderAgentClientViewModel.LicenseUrl)) { }
地址:@Model.OrderAgentClientViewModel.Address
运营者姓名:@Model.OrderAgentClientViewModel.OperatorName
运行者联系方式:@Model.OrderAgentClientViewModel.OperatorMobile
代理商信息 代理商名称:@Model.AgentOrganizationReviewOrderViewModel.AgentName
法人:@Model.AgentOrganizationReviewOrderViewModel.LegalPerson
地址:@Model.AgentOrganizationReviewOrderViewModel.Address
所属渠道:@Model.AgentOrganizationReviewOrderViewModel.SubordinateChannel
订单信息订单信息 订单类型:@orderInputModel.BuyOrderType.GetEnumDescription()
套餐名称:@package.Name服务名称:@(orderInputModel.SingleFeatureType.HasValue ? orderInputModel.SingleFeatureType.Value.GetEnumDescription() : "")
价格:@orderViewModel.Price @(orderViewModel.PriceUnit)
折扣率:@orderViewModel.OrderDiscountValue%
总价:@orderViewModel.TotalAmount
购买关键词:@(orderViewModel.BuyKeywords != null ? string.Join(",", orderViewModel.BuyKeywords) : "")
购买数量:@orderViewModel.BuyCount
提单日期:@orderViewModel.CreatedTime.ToString("yyyy-MM-dd")
生效日期:@orderViewModel.EffectiveTime.ToString("yyyy-MM-dd")
到期日期:@orderViewModel.ExpireTime.ToString("yyyy-MM-dd")
备注:@orderViewModel.Description
@Html.ActionLink("返回", "List", new { currPage = ViewBag.ListCurrPager }, new { @class = "btn btn-normal btn-primary" })