49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
@model dccdc.Models.DictionariesViewModel.TjjgViewModel
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
|
|
function success(data) {
|
|
if (data.State == "1") {
|
|
$.ligerDialog.alert(data.Message,
|
|
function() {
|
|
window.parent.init();
|
|
});
|
|
}
|
|
}
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<div id="edit">
|
|
@using (Ajax.BeginForm("Tjjg", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success" }))
|
|
{
|
|
|
|
@Html.HiddenFor(m => m.id, new { id = "Id" })
|
|
@Html.HiddenFor(m => m.project_name)
|
|
@Html.HiddenFor(m => m.project_id)
|
|
<table class="t1" style="width: 100%">
|
|
<tr>
|
|
<td class="ltd" width="100px">结果参考:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.test_result) </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">是否合格:</td>
|
|
<td class="rtd">@Html.DropDownListFor(m => m.is_qualified, ViewData["QualifiedList"] as SelectList)</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">是否使用:</td>
|
|
<td class="rtd">@Html.DropDownListFor(m => m.status, ViewData["Categories"] as SelectList)</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div align="center">
|
|
<button type="submit" id="submitid" class="l-button" >提交</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
}
|
|
</div>
|
|
|
|
} |