Your Name 2 years ago
parent
commit
a4391abbab
1 changed files with 9 additions and 2 deletions
  1. 9 2
      service/bill/database/shop_stat.php

+ 9 - 2
service/bill/database/shop_stat.php

@@ -40,11 +40,12 @@ $config = array
         'month'     => array
         (
             'type'      => 'int-11',
-            'name'      => '月份',
+            'name'      => '日期',
             'default'   => '',
             'match'     => 'is_numeric',
             'desc'      => '',
-            'search'    => 'month',
+            'search'    => 'day',
+            'list_name' => '月份',
             'list'      => 'date("Y-m", {month})',
             'list_order' => 1,
         ),
@@ -69,6 +70,12 @@ $config = array
             'desc'      => '店铺名称',
             'match'     => 'is_numeric',
             'option'    => $shop,
+            'search'    => array
+            (
+                'api' => 'shop/info-like',
+                'col' => 'name',
+                'result' => 'id',
+            ) ,
             'list_name' => '门店名称<br/>门店编号<br/>所属代理商',
             'list'      => 'Dever::load("bill/lib/manage.shop_stat", {id})',
             'list_order' => 2,