xieruidong 2 年之前
父节点
当前提交
e2486a96a5
共有 1 个文件被更改,包括 7 次插入6 次删除
  1. 7 6
      public/assets/js/backend/goods.js

+ 7 - 6
public/assets/js/backend/goods.js

@@ -177,16 +177,17 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                 url: location.href,
                 pk: 'id',
                 sortName: 'id',
-                searchFormVisible:false,
+                searchFormVisible:true,
                 showExport:false,
-                commonSearch:false,
+                commonSearch:true,
                 search:false,
                 columns: [
                     [
-                        {field: 'rank', title: __('排名')},
-                        {field: 'order_no', title: __('订单号')},
-                        {field: 'nickname', title: __('用户名')},
-                        {field: 'amount', title: __('金额')},
+                        {field: 'rank', title: __('排名'),operate: false,},
+                        {field: 'order_no', title: __('订单号'),operate: false,},
+                        {field: 'nickname', title: __('用户名'),operate: false,},
+                        {field: 'amount', title: __('金额'),operate: false,},
+                        {field: 'date', title: __('时间'),operate:'range',addClass:'datetimerange',visible:false},
                     ]
                 ]
             });