setter
parent
47f02e9e98
commit
1559121e91
|
@ -148,7 +148,7 @@ class Order extends Base
|
|||
|
||||
$res['list'] = $res['list']->each(function ($item) {
|
||||
$item->status_text = OrderModel::statusTextList()[$item->status] ?? '';
|
||||
$item->price = Math::fen2Yuan($item->price);
|
||||
//$item->price = Math::fen2Yuan($item->price);
|
||||
$item->nickname = $item->account->nickname ?? '';
|
||||
$item->real_name = $item->account->real_name ?? '';
|
||||
$item->pick_self_text = $item->pick_self == 1 ? '自提' : '邮寄';
|
||||
|
|
|
@ -144,7 +144,7 @@ layui.use(['laytpl', 'table', 'jquery', 'form', 'miniTab', 'xmSelect', 'laydate'
|
|||
{field: 'phone',title: '电话',minWidth: 150},
|
||||
// {field: 'pick_self_text', title: '配送方式',minWidth: 150},
|
||||
// {field: 'is_score_text', title: '积分订单', minWidth: 150},
|
||||
{field: 'price', title: '金额', minWidth: 150},
|
||||
{field: 'original_price', title: '金额', minWidth: 150},
|
||||
// {field: 'score', title: '积分', minWidth: 150},
|
||||
{field: 'created_at', title: '下单时间', width: 180},
|
||||
// {field: 'address', title: '收货地址', minWidth: 200},
|
||||
|
|
Loading…
Reference in New Issue