73 lines
2.3 KiB
Plaintext
73 lines
2.3 KiB
Plaintext
@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;" /> </li>
|
||
<li>客户ID:<input type="text" name="txt_resId" style="width:120px;" /> </li>
|
||
<li>姓名:<input type="text" value="" name="txt_realName" /> </li>
|
||
<li>定金支付订单号:<input type="text" value="" name="txt_szzyOrderId" /> </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> |