TG.WXCRM.V4/WEB/Views/Base/Util/Index.cshtml

56 lines
1.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@using WX.CRM.WebHelper;
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
}
<div class="formContent">
<table class="fromEditTable setTextWidth300">
<tbody>
<tr>
<td style="width: 75px;">
通话记录恢复
<div><i style="color:#808080">将历史表通话记录恢复到正式表</i></div>
</td>
<td style="width: 150px;">
<div>客户ID@Html.TextBox("RESID", null, new { style = "width:100px;" })</div>
<div>
交易商号码:@Html.TextBox("TRADECODE", null, new { style = "width:100px;" })
</div>
<div>恢复时间:@Html.WdatePickerText("txt_ctime1", "")~@Html.WdatePickerText("txt_ctime2", "")</div>
</td>
<td style="width: 25px;"></td>
</tbody>
</table>
</div>
<script type="text/javascript">
$(function () {
$("#btnSave").click(function () {
$.r_ajax({
url: "/Csvr/ApplyPrimNum/Edit?resid=@ViewBag.resId",
type: "POST",
data: $("#CreateForm").serialize(),
dataType: "json",
loading: true,
success: function (data) {
if (data.type == 1) {
window.parent.frameReturnByMes(data.message);
window.parent.frameReturnByReload(true);
window.parent.frameReturnByClose();
} else {
window.parent.frameReturnByMes(data.message);
}
}
});
return false;
});
});
</script>