shish 3 лет назад
Родитель
Сommit
81069fadaa
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      biz-hd/purchase/classes/PurchaseClass.php

+ 0 - 4
biz-hd/purchase/classes/PurchaseClass.php

@@ -460,10 +460,6 @@ class PurchaseClass extends BaseClass
             $userPrice = isset($product['userPrice']) && $product['userPrice'] > 0 ? $product['userPrice'] : 0;
             $currentGhsProduct = $ghsProductData[$ghsProductId] ?? [];
 
-            if (!empty($currentGhsProduct) && $userPrice > 0) {
-                util::fail('商城下单暂不支持小单位');
-            }
-
             if (!empty($currentGhsProduct)) {
                 //用批发店的花材名称
                 $itemName = $currentGhsProduct['name'] ?? '';