@using System.Text @using Abp.Timing @using ShwasherSys.Authorization.Permissions @using ShwasherSys.BasicInfo @using ShwasherSys.Models.Layout @using ShwasherSys.Views.Shared.New.Modals @using ShwasherSys.Views.Shared.New.Table @{ ViewBag.Title = "盘点任务执行"; string activeMenu = PermissionNames.PagesInventoryCheckInfoInventoryCheck; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; List storeHouseList = ViewBag.StoreHouseList; List checkStateList = ViewBag.CheckState; var searchForm = new SearchFormViewModal(new List() { new SearchItem("checkNo","盘点编号"), new SearchItem("checkState","盘点状态",FiledType.I,ExpType.Equal).SetSearchItem(checkStateList), }); var table = new TableViewModel("/api/services/app/InventoryCheck/GetAllToEmployee", activeMenu, searchForm) .SetFields(new List() { new FieldItem("actionExecute", "",formatter:"ActionExecuteFormatter"), new FieldItem("checkNo", "盘点编号"), new FieldItem("storeHouseId", "仓库",formatter:"StoreHouseFormatter"), new FieldItem("storeAreaCode", "区号"), new FieldItem("shelfNumber", "货架"), new FieldItem("shelfLevel", "层次"), new FieldItem("sequenceNo", "序列号"), new FieldItem("checkUserName", "待盘点人员"), new FieldItem("planStartDate", "计划执行时间","DateTimeFormatter"), new FieldItem("planEndDate", "计划完成时间","PlanEndDateFormatter"), new FieldItem("checkState", "盘点状态",formatter:"CheckStateFormatter"), }); } @section css{ } @Html.Partial("New/Table/_Table", table) @section modal{ @{ var modal = new ModalViewModel("人员", new ModalBodyViewModel(new List() { new InputHide("id"), new Input("checkNo", "盘点编号"), new Input("planStartDate", "计划执行日期",@class:"iwb-date").SetNotRequired(), new Input("planEndDate", "计划完成日期",@class:"iwb-date").SetNotRequired(), })); // var accountModal = new ModalViewModel("绑定账号", new ModalBodyViewModel(new List() //{ // new InputHide("id"), // new Input("userName", "登陆账号",InputTypes.List), // }), "Account_Modal"); } @Html.Partial("New/Modals/_Modal", modal) @*@Html.Partial("New/Modals/_Modal", accountModal)*@
@Html.Partial("Modals/Query/_Product", "productNo") @Html.Partial("Modals/Query/_SemiProduct", "productNo") @Html.Partial("Modals/Query/_Employee", "checkUser")
} @section scripts { }
@*@Html.DropDownList("hid-du", duty) @Html.DropDownList("hid-de", depart) @Html.DropDownList("hid-gender", gender)*@ @Html.DropDownList("hid-storeHouse", storeHouseList) @Html.DropDownList("hid-checkState", checkStateList)