ComplianceServer/oldcode/WEB/Views/WeiXin/SzzyPrepayment/Index.cshtml

73 lines
2.3 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 = "";
Layout = "~/Views/Shared/_Index_Layout2.cshtml";
}
<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>定金编号:<input type="text" name="txt_PrepaymentId" style="width:120px;" />&nbsp;</li>
<li>客户ID<input type="text" name="txt_resId" style="width:120px;" />&nbsp;</li>
<li>姓名:<input type="text" value="" name="txt_realName" />&nbsp;</li>
<li>定金支付订单号:<input type="text" value="" name="txt_szzyOrderId" />&nbsp;</li>
</ul>
</div>
@Html.Raw(ViewBag.GroupList)
</div>
<script type="text/javascript">
$(function () {
$('#tablist').tablegrid({
url: '/WeiXin/SzzyPrepayment/GetHtmlList',
height: $(window).height() - 130,
loadNow: true,
data: GetControlValue,
isPage: true
});
function GetControlValue() {
return { samllorder: $("#samllorder").prop('checked') };
}
//$('#tablist').tablegrid("Load");
$("#btnQuery").click(function () {
$('#tablist').tablegrid("Search");
});
});
function onLoadSucced() {
$("#tablist").tablegrid("Search");
}
function frameReturnByClose() {
$("#modalwindow").window('close');
}
function frameReturnByReload(flag) {
$("#tablist").tablegrid("Load");
}
function frameReturnByMes(mes) {
$.messageBox5s('提示', mes);
}
function GetIframeHtml(src) {
return "<iframe width='100%' height='98%' scrolling='no' frameborder='0'' src='" + src + "'></iframe>";
}
//获取datagrid头部及字段
function getDataGridHeader() {
var columns = $('#tablist').tablegrid("getHead");
return columns;
}
function Upload_Click() {
$("#modalwindow").html(GetIframeHtml("/WeiXin/SzzyPrepayment/PrepaymentUpload"));
$("#modalwindow").window({ title: '上传定金信息', width: 600, height: 500, iconCls: 'icon-export' }).window('open');
}
</script>