@using System.Web.UI.HtmlControls @using ShwasherSys.Authorization.Permissions @using ShwasherSys.BasicInfo @using ShwasherSys.Models.Layout @using ShwasherSys.Views.Shared.New.Modals @{ /**/ ViewBag.ActiveMenu = PermissionNames.PagesSendGoodsOrderSendBillMg; //The menu item will be active for this page. ViewBag.Title = "发货单维护"; List stickBillStatusList = new List() { new SelectListItem() { Value = "1", Text = "未对账" }, new SelectListItem() { Value = "2", Text = "全部对账" }, new SelectListItem() { Value = "3", Text = "部分对账" } }; List expressList = ViewBag.ExpressList; List expressSelectList = new List(); foreach(var e in expressList) { expressSelectList.Add(new SelectListItem(){Value = e.Id+"",Text=e.ExpressName}); } var searchForm = new SearchFormViewModal(new List() { new SearchItem("id", "发货单号"), new SearchItem("sendDate", "发货日期",FiledType.Dnull,ExpType.GreaterOrEqual), new SearchItem("sendDate", "到",FiledType.Dnull,ExpType.LessOrEqual), new SearchItem("customerId", "客户编号").SetSearchIcon("query_customer_modal"), new SearchItem("isbill", "开票状态").SetSearchItem(stickBillStatusList) }, false); } @section css{ }
@Html.Action("ToolMenu", "Layout", new { pageName = ViewBag.ActiveMenu, searchForm }) @**@
@section modal { @{ var modal = new ModalViewModel("物流信息","编辑", new ModalBodyViewModel(new List() { new InputHide("id"), new Input("expressId", "快递物流").SetSelectOptions(expressSelectList), new Input("expressBillNo", "物流单号"), }, "form-express" ),modalId:"modal-express" ); }
@Html.Partial("New/Modals/_Modal", modal) @Html.Partial("Modals/Query/_Customer", "KeyWords-4")
} @section scripts { }