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

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

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