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

42 lines
1.6 KiB
Plaintext

@{
ViewBag.Title = "OrderInfo";
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/OrderInfo',
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: 'SZZYORDERID', title: '权限单号', templet: function (res) { return "<div>`" + res.SZZYORDERID + "</div>"; }
}
, {
field: 'RESID', title: '客户编号', templet: function (res) { return "<div>`" + res.RESID + "</div>"; }
}
, { field: 'CNAME', title: '客户姓名' }
, { field: 'SOFTUSERNAME', title: '软件用户名' }
, { field: 'SUBPRODUCTNAME', title: '产品' }
, { field: 'OTIME', title: '开通时间' }
, { field: 'ARRIVALPAY', title: '到账金额', totalRow: true}
, { field: 'ARRIVALTIME', title: '到账时间' }
]]
});
});
</script>