shish 3 tahun lalu
induk
melakukan
07e766d316
1 mengubah file dengan 0 tambahan dan 6 penghapusan
  1. 0 6
      app-hd/controllers/PurchaseController.php

+ 0 - 6
app-hd/controllers/PurchaseController.php

@@ -63,12 +63,6 @@ class PurchaseController extends BaseController
             util::fail('不能向自己的批发店采购');
         }
 
-        $shop = $this->shop;
-        $pfShopId = $shop->pfShopId ?? 0;
-        if (!empty($pfShopId)) {
-            util::fail('请在批发店进行采购');
-        }
-
         $connection = Yii::$app->db;//事务处理
         $transaction = $connection->beginTransaction();
         try {