mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update index_search.html
This commit is contained in:
parent
ce4a590e32
commit
bb2bf138b6
@ -106,11 +106,15 @@
|
|||||||
|
|
||||||
require(['excel'], function (excel) {
|
require(['excel'], function (excel) {
|
||||||
excel.bind(function (data, rows) {
|
excel.bind(function (data, rows) {
|
||||||
rows = [['订单号', '会员手机']];
|
rows = [['订单号', '会员手机', '会员姓名', '支付状态', '支付金额', '支付时间']];
|
||||||
data.forEach(function (item) {
|
data.forEach(function (item) {
|
||||||
rows.push([
|
rows.push([
|
||||||
item.order_no,
|
item.order_no,
|
||||||
item.member.phone
|
item.member.phone,
|
||||||
|
item.member.username || item.member.nickname || '',
|
||||||
|
item.payment_status ? '已支付' : '未支付',
|
||||||
|
item.payment_amount || '0.00',
|
||||||
|
item.payment_datetime || '',
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
return rows;
|
return rows;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user