Kirin 3 years ago
parent
commit
51e1ee5ed9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/admin/controller/company/Order.php

+ 2 - 1
app/admin/controller/company/Order.php

@@ -71,9 +71,10 @@ class Order extends AuthController
             ['data', ''],
             ['type', ''],
             ['pay_type', ''],
-            ['order', '']
+            ['order', ''],
         ]);
         $where['store_id'] = $this->adminInfo['store_id'];
+        if ($this->request->post(['store_id']) > 0) $where['store_id'] = $this->request->post(['store_id']);
         return Json::successful(StoreOrderModel::getBadge($where));
     }
 }