shish 3 лет назад
Родитель
Сommit
ea164b0d57
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      app-ghs/controllers/PurchaseOrderController.php

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

@@ -121,12 +121,12 @@ class PurchaseOrderController extends BaseController
         ProductClass::valid($ghsItemInfo, $this->mainId);
         //获取供货商信息
         $ghsId = $post['ghsId'];
-//        if (getenv('YII_ENV') == 'production') {
-//            if ($this->shopId == 763) {
-//                $ghsId = 832;
-//                $post['ghsId'] = 832;
-//            }
-//        }
+        if (getenv('YII_ENV') == 'production') {
+            if ($this->shopId == 763) {
+                $ghsId = 832;
+                $post['ghsId'] = 832;
+            }
+        }
         if (empty($ghsId)) {
             util::fail("请选择供货商");
         }