作者 何书鹏

待评价订单数量

... ... @@ -24,6 +24,10 @@ return [
'Order_status 10' => '进行中',
'Order_status 20' => '取消',
'Order_status 30' => '已完成',
'Comment_status' => '评论状态',
'Comment_status 10' => '未评论',
'Comment_status 20' => '已评论',
'Comment_time' => '评论时间',
'Transaction_id' => '微信支付ID',
'User_id' => '用户ID',
'Createtime' => '生成时间',
... ...
... ... @@ -914,7 +914,7 @@ class Order extends Api
'pay_status' => '20',
'freight_status' => '20',
'receipt_status' => '20',
'order_status' => '10'
'comment_status' => '10'
])->count();
$coupon = UserCoupon::where([
'user_id' => $this->auth->id,
... ...
... ... @@ -35,6 +35,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'pay_time', title: __('Pay_time'), operate:false, addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'freight_time', title: __('Freight_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'receipt_time', title: __('Receipt_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'comment_time', title: __('Comment_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'order_status', title: __('Order_status'), searchList: {"10":__('Order_status 10'),"20":__('Order_status 20'),"30":__('Order_status 30')},
formatter: Controller.api.status_formatter},
{field: 'updatetime', title: __('Updatetime'), operate:false, addclass:'datetimerange', formatter: Table.api.formatter.datetime},
... ...