@{ ViewBag.Title = "RevDetail"; Layout = "~/Views/Shared/_Layout.cshtml"; } @using MES.Production.Service; @using Central.Control.Domain; @using Ant.Service.Common; @using Ant.Service.Common.Enums; @model SYS_MSG @{ var attach = ViewData["Attach"] == null ? "" : ViewData["Attach"] as dynamic; var revUser = ViewData["RevUser"] as SYS_USER; } @using (Ajax.BeginForm("Save", null, new AjaxOptions() { HttpMethod = "Post", OnBegin = "SubInfo.Loading", OnComplete = "SubInfo.Complate", OnFailure = "SubInfo.Failure", OnSuccess = "SubInfo.Success", }, new { @class = "form-horizontal dig-from" })) {
@Html.TextBox("MSGNAME", "回复:" + Model.MSGNAME, new { @class = "form-control", @placeholder = "请输入标题" })
@Html.Hidden("hidsendUserid", @revUser.ID)
@Html.TextAreaFor(p => p.MSGCONTENT, new { @id = "MSGCONTENT", @rows = "3", @cols = "5" })
@Html.TextBox("SendTimer", null, new { @class = "form-control", @maxlength = "12", @onclick = "ldate('SendTimer','YYYY-MM-DD hh:mm:ss')", @style = "width:240px;float:left;" })
@{ //处理附件 if (attach != null) { foreach (var item in attach) { } } }
操作 上传时间 上传者 名称 大小
@item.UPTIME @item.UPOPEATOR @item.UPOLDNAME @item.UPFILESIZE.ToString()@item.UPFILEUNIT
} @section scripts{ }