shish 3 سال پیش
والد
کامیت
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);
         ProductClass::valid($ghsItemInfo, $this->mainId);
         //获取供货商信息
         //获取供货商信息
         $ghsId = $post['ghsId'];
         $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)) {
         if (empty($ghsId)) {
             util::fail("请选择供货商");
             util::fail("请选择供货商");
         }
         }