56 lines
2.0 KiB
Plaintext
56 lines
2.0 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "wzlbMessage";
|
|
}
|
|
|
|
@model dccdc.Models.wzlbModel
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
function success(data) {
|
|
$.ligerDialog.alert(data.Message);
|
|
if (data.State == "1") {
|
|
window.parent.init();
|
|
}
|
|
}
|
|
|
|
$("#glksid").change(function () {
|
|
document.getElementById("glksmc").value = $("#glksid option:checked").text();
|
|
});
|
|
</script>
|
|
}
|
|
|
|
<div id="edit">
|
|
@using (Ajax.BeginForm("savewzlb", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success" }))
|
|
{
|
|
@Html.HiddenFor(m => m.id)
|
|
<table class="t1" style="width: 100%">
|
|
<tr>
|
|
<td class="ltd" width="100px">物资类别名称:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.lbmc, new { @class = "l-text" }) @Html.ValidationMessageFor(m => m.lbmc) </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">管理科室名称:@Html.HiddenFor(m => m.glksmc)</td>
|
|
<td class="rtd">@Html.DropDownListFor(m => m.glksid, ViewData["bumenlist"] as SelectList, "----请选择----")@Html.ValidationMessageFor(m => m.glksid)</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">备注:</td>
|
|
<td class="rtd" >@Html.TextAreaFor(m => m.bz, new { @class = "l-text", style = "width:200px; height:150px;" }) </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">使用状态:</td>
|
|
<td class="rtd">@Html.DropDownListFor(m => m.zt, ViewData["ztlist"] as SelectList, "----请选择----")@Html.ValidationMessageFor(m => m.zt)</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div align="center">
|
|
<input type="submit" id="submitid" value="提交" class="l-button" />
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
}
|
|
</div>
|
|
|
|
|
|
|