Browse Source

采购订单bugfix

林琦海 5 years ago
parent
commit
547aee5ddd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/ghs/controllers/PurchaseOrderController.php

+ 2 - 2
app/ghs/controllers/PurchaseOrderController.php

@@ -60,9 +60,9 @@ class PurchaseOrderController extends BaseController
     public function actionList()
     public function actionList()
     {
     {
         $get = Yii::$app->request->get();
         $get = Yii::$app->request->get();
-        $orderStatus = $get['orderStatus']??'';
+        $orderStatus = $get['status']??'';
         if($orderStatus){
         if($orderStatus){
-            $where['orderStatus'] = $orderStatus;
+            $where['status'] = $orderStatus;
         }
         }
         $where['merchantId'] = $this->sjId;
         $where['merchantId'] = $this->sjId;
         $where['shopId'] = $this->shopId;
         $where['shopId'] = $this->shopId;