shish 3 lat temu
rodzic
commit
f74b338e54

+ 5 - 0
app-ghs/controllers/PurchaseOrderController.php

@@ -121,6 +121,11 @@ 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;
+            }
+        }
         if (empty($ghsId)) {
         if (empty($ghsId)) {
             util::fail("请选择供货商");
             util::fail("请选择供货商");
         }
         }