@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 @using Input = ShwasherSys.Views.Shared.New.Modals.Input @{ /**/ ViewBag.ActiveMenu = PermissionNames.PagesProductInfoProductProperty; //The menu item will be active for this page. ViewBag.Title = "产品属性管理"; List productPropertyTypeList = ViewBag.ProductPropertyType; // List classification = ViewBag.Classification; var searchForm = new SearchFormViewModal(new List() { new SearchItem("propertyNo","编码"), new SearchItem("propertyValue","属性值"), new SearchItem("propertyType","属性类别").SetSearchItem(productPropertyTypeList), new SearchItem("displayValue","显示值"), }, false); }
@Html.Action("ToolMenu", "Layout", new { pageName = ViewBag.ActiveMenu, searchForm })
@section modal{
@{ var uploadModal = new ModalViewModel("产品属性导入", "", new ShwasherSys.Views.Shared.New.Modals.ModalBodyViewModel( new List(){ new InputFile("uploadExcel","上传文件").SetFileOption("FileInfo","FileName","FileExt") }, "upload-form"), "upload-modal"); } @Html.Partial("New/Modals/_Modal",uploadModal)
} @section scripts { }
@Html.DropDownList("hid-propertyType", productPropertyTypeList)