@using System.Web.UI.HtmlControls @using ShwasherSys @using ShwasherSys.Authorization.Permissions @using ShwasherSys.Models.Layout @using ShwasherSys.Models.Modal @using ShwasherSys.Views.Shared.New.Modals @using InputTypes = ShwasherSys.Models.Modal.InputTypes @using ModalBodyViewModel = ShwasherSys.Models.Modal.ModalBodyViewModel @using ModalHeaderViewModel = ShwasherSys.Models.Modal.ModalHeaderViewModel @{ /**/ ViewBag.ActiveMenu = PermissionNames.PagesInvoiceInfoInvoiceMg; //The menu item will be active for this page. ViewBag.Title = "客户发票维护"; List invoiceState = ViewBag.InvoiceState, invoiceType = new List() { new SelectListItem(){Text = @"红冲发票--退款",Value = InvoiceTypeDefinition.RedReturn+""}, new SelectListItem(){Text = @"红冲发票--少收",Value = InvoiceTypeDefinition.RedLess+""}, new SelectListItem(){Text = @"红冲发票--多收",Value = InvoiceTypeDefinition.RedOver+""}, },invoiceType2= new List(){new SelectListItem(){Text = @"正常发票",Value = InvoiceTypeDefinition.Normal+""}}; invoiceType2.AddRange(invoiceType); var searchForm = new SearchFormViewModal(new List() { new SearchItem("id", "发票号"), new SearchItem("creatDate", "开发票日期",FiledType.Dnull,ExpType.GreaterOrEqual), new SearchItem("creatDate", "到",FiledType.Dnull,ExpType.LessOrEqual), new SearchItem("customerId", "客户编号",expType:ExpType.Contains).SetSearchIcon("query_customer_modal") }, false); } @section css{ }
@Html.Action("ToolMenu", "Layout", new { pageName = ViewBag.ActiveMenu, searchForm })
@section modal {
@Html.Partial("Modals/Query/_Invoice", "originalStickNum,customerId,customerName,amount") @Html.Partial("Modals/Query/_Customer", "customerId|KeyWords-4,customerName")
@*@Html.Partial("Modals/Query/_Employee", "handleUser,handleUserName")*@ } @section scripts { }
@Html.DropDownList("hid-invoiceState", invoiceState) @Html.DropDownList("hid-invoiceType", invoiceType2)