65 lines
2.7 KiB
Plaintext
65 lines
2.7 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "ChargeMessage";
|
|
}
|
|
@model dccdc.Models.charge_maintModel
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
function success(data) {
|
|
if (data.State == "1") {
|
|
$.ligerDialog.alert(data.Message,
|
|
function () {
|
|
window.parent.init();
|
|
});
|
|
}
|
|
else {
|
|
$.ligerDialog.alert(data.Message);
|
|
}
|
|
}
|
|
</script>
|
|
}
|
|
|
|
<div id="edit">
|
|
@using (Ajax.BeginForm("ChargeMessage", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success" }))
|
|
{
|
|
@Html.HiddenFor(m => m.id, new { id = "id" })
|
|
@Html.HiddenFor(m => m.status, new { id = "status" })
|
|
@Html.HiddenFor(m => m.curr_time, new { id = "curr_time" })
|
|
@Html.HiddenFor(m => m.receive_time, new { id = "receive_time" })
|
|
@Html.HiddenFor(m => m.over_time, new { id = "over_time" })
|
|
@Html.HiddenFor(m => m.total_money, new { id = "total_money" })
|
|
@Html.HiddenFor(m => m.normal_cou, new { id = "normal_cou" })
|
|
@Html.HiddenFor(m => m.abnormal_cou, new { id = "abnormal_cou" })
|
|
<table class="t1" style="width: 100%">
|
|
<tr>
|
|
<td class="ltd" width="100px">开始号段:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.begin_num) @Html.ValidationMessageFor(m => m.begin_num) </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">结束号段:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.end_num) @Html.ValidationMessageFor(m => m.end_num) </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">提供发票人:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.provide_person) @Html.ValidationMessageFor(m => m.provide_person) </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">接受发票人:</td>
|
|
<td class="rtd">@Html.DropDownListFor(m => m.receive_person, ViewData["cwry"] as SelectList, "----请选择----")@Html.ValidationMessageFor(m => m.receive_person)</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">发票类型:</td>
|
|
<td class="rtd">@Html.DropDownListFor(m => m.invoice_type, ViewData["fplx"] as SelectList, "----请选择----")@Html.ValidationMessageFor(m => m.invoice_type)</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div align="center">
|
|
<input type="submit" id="submitid" value="提交" class="l-button" />
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
}
|
|
</div>
|
|
|