75 lines
2.2 KiB
Plaintext
75 lines
2.2 KiB
Plaintext
@using WX.CRM.WebHelper;
|
||
@using WX.CRM.Common;
|
||
@model WX.CRM.Model.Entity.SOFT_ACTIVEREVAPPLY
|
||
@{
|
||
ViewBag.Title = "revCheckDetails";
|
||
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
|
||
}
|
||
<script type="text/javascript">
|
||
function CanclOrder() {
|
||
var reson = $("#CheckReson").val();
|
||
|
||
$.r_ajax({
|
||
url: "/Soft/SoftOrder/cancleOrder",
|
||
type: "Post",
|
||
data: { id: '@ViewBag.PKID', Reson: reson },
|
||
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);
|
||
}
|
||
}
|
||
});
|
||
};
|
||
|
||
</script>
|
||
<div class="mvctool bgb">
|
||
@Html.ToolButtonPlain("btnSave", "icon-save", "保存", false, "")
|
||
</div>
|
||
|
||
<div>
|
||
<table class="fromEditTable setTextWidth300">
|
||
<thead>
|
||
<tr>
|
||
<td colspan="3">
|
||
活动订单信息:
|
||
</td>
|
||
</tr>
|
||
</thead>
|
||
<tr>
|
||
<td>订单号:@Html.Label(Model.ORDERID.ToString())</td>
|
||
|
||
<td>渠道标签:@Html.Label(Model.PRODUCTCODE) </td>
|
||
</tr>
|
||
<tr>
|
||
<td>活动名称:@ViewBag.productName</td>
|
||
|
||
<td>申请时间:@Html.Label(Model.APPLYTIME == null ? "" : Model.APPLYTIME.ToString())</td>
|
||
</tr>
|
||
<tr>
|
||
<td>客户ID:@Html.Label(Model.RESID)</td>
|
||
<td>用户名:@Html.Label(PhoneHelper.FormatPhoneUserName(Model.USERNAME))</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td>备注:</td>
|
||
<td>
|
||
@Html.TextArea("CheckReson")
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td style=" width:100px;" colspan="2" align="center">
|
||
<input type="button" class="class='btn btn-danger" value="撤销订单" id="CanclOrder" onclick="CanclOrder()" />
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|