ComplianceServer/oldcode/WEB/Views/Soft/SoftOrder/CheckOrderRevApplyList.cshtml

76 lines
2.6 KiB
Plaintext
Raw Permalink 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 = "CheckOrderRevApplyList";
Layout = "~/Views/Shared/_Index_Layout2.cshtml";
}
<script type="text/javascript">
$(function () {
$('#tablist').tablegrid({
url: '/Soft/SoftOrder/CheckOrderRevHtmlList',
height: $(window).height() - 110,
loadNow: true
});
// $('#tablist').tablegrid("Load");
$(window).resize(function () {//自动适应大小
$('#tablist').tablegrid('resize', {
height: $(window).height() - 110
});
});
$("#btnQuery").click(function () {
$('#tablist').tablegrid("Search");
});
});
//ifram 返回
function frameReturnByClose() {
$("#modalwindow").window('close');
}
function frameReturnByReload(flag) {
$("#tablist").tablegrid("Load");
}
function frameReturnByMes(mes) {
$.messageBox5s('提示', mes);
}
</script>
<div class="mvctool">
@Html.ToolButton("btnQuery", "icon-search", "查询", true)
@Html.Action("ToolBar", "Control", ViewBag.ToolBar as ToolBar)
</div>
<div class="bas_datagrid">
<div id="tb" style="padding:5px;height:auto" class="grid_toolbar">
<ul class="toolBar_ul">
<li>日期:@Html.WdatePickerText("txt_ctime", DateTime.Now.ToString("yyyy-MM-dd"))~@Html.WdatePickerText("txt_etime", DateTime.Now.AddDays(1).ToString("yyyy-MM-dd"))</li>
<li>用户名:@Html.TextBox("txt_userName")</li>
<li>订单Id@Html.TextBox("txt_orderId")</li>
<li>客户ID@Html.TextBox("txt_resid", "", new { style = "width:150px;" })</li>
<li>
活动类型: @Html.DropDownList("slt_product", ViewBag.SoftProductList as IEnumerable<SelectListItem>,new { style = "width:150px;" })
</li>
<li>
@*@Html.ToolButtonPlain("btnQuery" , "icon-search", "查询", false, "")*@
</li>
</ul>
</div>
@Html.Raw(ViewBag.OrderRevList)
</div>
<script type="text/javascript">
function GetIframeHtml(src) {
return "<iframe width='100%' height='98%' scrolling='no' frameborder='0'' src='" + src + "'></iframe>";
}
function Check_Click() {
var row = $('#tablist').tablegrid('getSelected');
if (row != null) {
var src = "/Soft/SoftOrder/revCheckDetails?id=" + row.Pkid;
$("#modalwindow").html(GetIframeHtml(src));
$("#modalwindow").window({ title: '编辑', width: 600, height: 450, iconCls: 'icon-edit' }).window('open');
}
}
</script>