diff --git a/app/controller/manager/mall/Order.php b/app/controller/manager/mall/Order.php index 65850cd..db061a7 100755 --- a/app/controller/manager/mall/Order.php +++ b/app/controller/manager/mall/Order.php @@ -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 ? '自提' : '邮寄'; diff --git a/public/static/manager/js/mall/order.js b/public/static/manager/js/mall/order.js index 273cbe1..e7fe8ad 100755 --- a/public/static/manager/js/mall/order.js +++ b/public/static/manager/js/mall/order.js @@ -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},