diff --git a/app/order/view/order/index.html b/app/order/view/order/index.html
index a49ed64..0fdb4fe 100644
--- a/app/order/view/order/index.html
+++ b/app/order/view/order/index.html
@@ -14,8 +14,7 @@
{include file='order/index_search'}
{include file='order/statement'}
-
-
+
{/block}
@@ -153,16 +152,11 @@
// 动态创建 layui.table 表格
$('#OrderList').layTable({
-
url: '{:sysuri()}',
toolbar: '#toolbarDemo',
-
// console: console.log(),
-
where: {set_callback: set_callback},
// totalRow: true, // 开启合计行
-
-
even: true, height: 'full',
sort: {field: 'id', type: 'desc'},
// className:'layTab',
@@ -171,12 +165,12 @@
limits: [10, 20, 30, 50, 60, 70, 80, 90, 100, 150, 200, 500],
cols: [[
- {checkbox: true, field: 'id', fixed: 'left'},
+ {checkbox: true, field: 'id', fixed: 'left',width: 60},
// {field: 'index', title: '序号', width: 70, sort: true, align: 'center', fixed: 'left',totalRow: '合计:'},
- {field: 'index', title: '序号', width: 70, sort: true, align: 'center', fixed: 'left'},
+ {field: 'index', title: '序号', sort: true, align: 'center', fixed: 'left',width: 60},
{
- field: 'minfo', title: '商户', minWidth: 100, fixed: 'left', templet: function (d) {
+ field: 'minfo', title: '商户', fixed: 'left', templet: function (d) {
// console.log(d);
d.d_msg = '{{d.minfo.name}}( {{d.minfo.id}} )';
if (d.minfo.status === 0) {
@@ -204,7 +198,7 @@
}
},
{
- field: 'order', title: '订单号', minWidth: 270, fixed: 'left', templet: function (d) {
+ field: 'order',minWidth:240,title: '订单号',fixed: 'left', templet: function (d) {
d.one = '系';
d.green = '商';
d.d_msg = '{{-d.one}}{{d.order_id}}';
@@ -220,7 +214,7 @@
}
},
{
- field: 'account', title: '充值账号', align: 'center', minWidth: 150, templet: function (d) {
+ field: 'account', title: '充值账号', align: 'center', templet: function (d) {
d.d_msg = '{{d.account}}';
if (d.product_key === 'dhcz' && d.isp > 0) {
@@ -242,7 +236,7 @@
// {field: 'merchant_order_id', title: '系统订单号', minWidth: 120},
// {field: 'account', title: '充值账号',},
{
- field: 'cash', title: '总面值', align: 'center', minWidth: 120, templet: function (d) {
+ field: 'cash', title: '总面值', align: 'center', templet: function (d) {
if (d.cash === '' || d.cash === null || d.cash === undefined) {
d.cash_num = '-';
@@ -328,7 +322,6 @@
field: 'merchant_callback_msg',
align: 'center',
title: '同步结果',
- width: 100,
templet: function (d) {
switch (d.merchant_callback_msg) {
case 'success':
@@ -344,8 +337,8 @@
}
}
},
- {field: 'msg', title: '充值结果', align: 'center', minWidth: 100},
- {field: 'right', toolbar: '#toolbar', width: 200, minWidth: 100, title: '操作面板', fixed: 'right'}
+ {field: 'msg', title: '充值结果', align: 'center'},
+ {field: 'right', toolbar: '#toolbar', width: 200, title: '操作面板', fixed: 'right'}
]],
done: function (index, layero) {
adjustColumnWidth();
@@ -361,6 +354,7 @@
$(".layui-table-body tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-body table tr")[index]).height($(val).height());
});
+
}
// , height: 'full-110'
@@ -667,11 +661,23 @@