ComplianceServer/oldcode/Core.Web/Views/MonBalance/PayInfo.cshtml

39 lines
1.4 KiB
Plaintext

@{
ViewBag.Title = "PayInfo";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<table class="layui-hide" id="tabl1" lay-filter="tabl1"></table>
<script>
layui.use(['table'], function () {
var table = layui.table;
table.render({
id: 'tableMonBalance',//列表别名ID
elem: '#tabl1',//表ID
//url: '/MonBalance/PayInfo',
url: '/MonBalance/DepositInfo',
method: 'POST',
where: { year: @Request.QueryString["year"], month: @Request.QueryString["month"], companyCode: '@Request.QueryString["companyCode"]', channel: '@Request.QueryString["channel"]' },
toolbar: true,
defaultToolbar: ['filter', 'exports'],
totalRow: true,
cols: [[
{ type: 'numbers', totalRowText: '合计' }
, { field: 'orderid', title: '订单号' }
//, { field: 'wxshoporderno', title: '微信小店单号' }
, { field: 'paytypename', title: '支付类型' }
, { field: 'payname', title: '付款人姓名'}
, { field: 'paydate', title: '到账时间' }
, { field: 'payprice', title: '到账金额', totalRow: true }
, { field: 'payno', title: '支付流水', width: 260 }
, { field: 'remark', title: '备注' }
]]
});
});
</script>