@using System.Web.UI.HtmlControls @using ShwasherSys.Authorization.Permissions @using ShwasherSys.Models.Layout @using ShwasherSys.Models.Modal @{ /**/ ViewBag.ActiveMenu = PermissionNames.PagesSendGoodsOrderSendQueryMg; //The menu item will be active for this page. ViewBag.Title = "客户订单发货统计"; List OrderSaleTypeList = ViewBag.OrderSaleType; List isDoBillList = new List(); isDoBillList.AddRange(new List() { new SelectListItem() { Value = "0", Text="未开票" },new SelectListItem() { Value = "1", Text="已开票" } }); //List yearList = new List(); //DateTime loDate = DateTime.Now; //int currentYear = loDate.Year; //int currentMonth = loDate.Month; //loDate = loDate.AddYears(-2); //yearList.Add(new SelectListItem() //{ // Value = loDate.Year+"", // Text = loDate.Year+"年" //}); //for (int i = 0; i < 2; i++) //{ // loDate = loDate.AddYears(1); // yearList.Add(new SelectListItem() // { // Value = loDate.Year+"", // Text = loDate.Year+"年" // }); //} //List monthList = new List(); //for (int i = 1; i <= 12; i++) //{ // bool selected = i == currentMonth; // monthList.Add(new SelectListItem() // { // Value = i+"", // Text = i+"月份" // }); //} var searchForm = new SearchFormViewModal(new List() { new SearchItem("customerId", "客户编号").SetSearchIcon("query_customer_modal"), //new SearchItem("year", "订单日期").SetSearchItem(yearList,isAddBlank:false), //new SearchItem("month", "到").SetSearchItem(monthList,isAddBlank:false), new SearchItem("orderDate", "订单日期",FiledType.D,ExpType.GreaterOrEqual), new SearchItem("orderDate", "到",FiledType.D,ExpType.LessOrEqual), new SearchItem("isDoBill", "是否开票",FiledType.S,ExpType.Equal).SetSearchItem(isDoBillList), //new SearchItem("saleType", "内销/外销",FiledType.Inull,ExpType.Equal).SetSearchItem(OrderSaleTypeList), new SearchItem("productNo", "产品编码"), new SearchItem("model", "规格"), new SearchItem("material", "材质"), }, false); } @section css{ } @Html.Action("ToolMenu", "Layout", new { pageName = ViewBag.ActiveMenu, searchForm }) 客户编号 客户编号 订单日期 客户订单号 订单流水号 零件号 送货日期 产品编号 产品名称 数量 单位 @*总价*@ 发票号 对账单号 @*检验报告 部分送货 型号 表色 材质 硬度*@ @* 客户编号 客户名称 订单日期 客户订单号 订单流水号 零件号 发货日期 产品编号 产品名称 发货数量 单位 发票号 对账单号 *@ @section modal{ @Html.Partial("Modals/Query/_Customer", "KeyWords-1") } @section scripts { }