tijian_tieying/web/dccdc/Views/Dictionaries/TjfanganMessage.cshtml
2025-02-20 12:14:39 +08:00

51 lines
1.9 KiB
Plaintext

@model dccdc.Models.DictionariesViewModel.MedicalSchemeMaintainViewModel
@{ ViewBag.Title = "";}
@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("TjfanganMessage", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success" }))
{
@Html.HiddenFor(m => m.id, new { id = "id" })
<table class="t1" style="width: 100%">
<tr>
<td class="ltd" width="100px">编码:</td>
<td class="rtd">@Html.TextBoxFor(m => m.code) @Html.ValidationMessageFor(m => m.code) </td>
</tr>
<tr>
<td class="ltd" width="100px">方案名称:</td>
<td class="rtd">@Html.TextBoxFor(m => m.medical_scheme) @Html.ValidationMessageFor(m => m.medical_scheme) </td>
</tr>
<tr>
<td class="ltd" width="100px">使用状态:</td>
<td class="rtd">@Html.DropDownListFor(m => m.status, ViewData["Categories"] as SelectList, "----请选择----")@Html.ValidationMessageFor(m => m.status)</td>
</tr>
<tr>
<td class="ltd" width="100px">收费状态:</td>
<td class="rtd">@Html.DropDownListFor(m => m.isCharge, ViewData["sfbz"] as SelectList, "----请选择----")</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type="submit" id="submitid" value="提交" class="l-button" />
</div>
</td>
</tr>
</table>
}
</div>