@using ShwasherSys.Authorization.Permissions @using ShwasherSys.BasicInfo @using ShwasherSys.Models.Layout @using ShwasherSys.Models.Modal @using ShwasherSys.Views.Shared.New.Modals @using ShwasherSys.Views.Shared.New.Table @using InputTypes = ShwasherSys.Views.Shared.New.Modals.InputTypes @using ModalBodyViewModel = ShwasherSys.Views.Shared.New.Modals.ModalBodyViewModel @using ModalHeaderViewModel = ShwasherSys.Models.Modal.ModalHeaderViewModel @using SpecialInputModel = ShwasherSys.Views.Shared.New.Modals.SpecialInputModel @{ ViewBag.Title = "原材料库存信息维护"; string activeMenu = PermissionNames.PagesRawMaterialStoreRmCurrentStoreMg; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; //List applyStatus = ViewBag.ApplyStatus; string AddEnterAuth = PermissionNames.PagesRawMaterialStoreRmCurrentStoreMgAddEnter; string AddOutAuth = PermissionNames.PagesRawMaterialStoreRmCurrentStoreMgAddOut; var searchForm = new SearchFormViewModal(new List() { new SearchItem("rmProductNo","原材料编码"), new SearchItem("productName","名称"), new SearchItem("model","规格") }); var table = new TableViewModel("/api/services/app/CurrentRmStoreHouse/GetAllView", activeMenu, searchForm) .SetFields(new List() { new FieldItem("rmProductNo", "原材料编码"), new FieldItem("productName", "名称"), new FieldItem("productBatchNum", "批次号"), new FieldItem("material", "材质"), new FieldItem("model", "规格"), new FieldItem("quantity","数量"), new FieldItem("freezeQuantity","冻结数量"), new FieldItem("storeLocationNo","库区"), new FieldItem("actionFormatter","","ActionFormatter"), }); } @section css{ } @Html.Partial("New/Table/_Table", table) @section modal{ @{ var modal = new ModalViewModel("原材料入库平衡", new ModalBodyViewModel(new List() { new Input("id",hide:true), new Input("applyStatus",hide:true), new Input("storeHouseId",hide:true), new Input("productBatchNum","批次号"), new Input("rmProductNo", "原材料编号"), new Input("model", "规格"), new Input("material", "材质"), new Input("storeLocationNo", "库区"), new Input("quantity", "申请数量",@class:"number",other:"min=0.001"), })); var modal2 = new ModalViewModel("原材料出库平衡", new ModalBodyViewModel(new List() { //new Input("id",hide:true), new Input("currentRmStoreHouseNo",hide:true), new Input("productBatchNum","批次号"), new Input("rmProductNo", "原材料编号"), new Input("quantity", "出库数量",@class:"number",other:"min=0.001"), }), "modal2"); } @Html.Partial("New/Modals/_Modal", modal) @Html.Partial("New/Modals/_Modal", modal2) @*@Html.Partial("Modals/Query/_RmProduct", "rmProductNo,model,material")*@ } @section scripts { }
@*@Html.DropDownList("hid-applyStatus", applyStatus)*@ @*@Html.DropDownList("hid-du", duty) @Html.DropDownList("hid-de", depart) @Html.DropDownList("hid-gender", gender)*@