dever 3 years ago
parent
commit
d91a04e30d
2 changed files with 5 additions and 1 deletions
  1. 4 0
      app/shop/database/sell_stat_month.php
  2. 1 1
      app/shop/lib/Manage.php

+ 4 - 0
app/shop/database/sell_stat_month.php

@@ -130,6 +130,10 @@ return array
         'edit' => false,
         'insert' => false,
         'excel'	=> true,
+
+        'list_button' => array(
+            //'fast_list' => array('查看详情', '"sell_stat_month&project=shop&stat_id={id}&page_type=1"'),
+        ),
     ),
 
     'request' => array

+ 1 - 1
app/shop/lib/Manage.php

@@ -219,7 +219,7 @@ class Manage
     }
 
     # 获取供货商信息
-    public function buyInfo($type, $type_id)
+    public function buyInfo($type = '', $type_id = '')
     {
         if ($type == 1) {
             $type_info = Dever::db('shop/info')->find($type_id);