shish 3 лет назад
Родитель
Сommit
a6f524d018
2 измененных файлов с 0 добавлено и 6 удалено
  1. 0 3
      biz-ghs/product/classes/ProductClass.php
  2. 0 3
      biz-hd/item/classes/ItemClass.php

+ 0 - 3
biz-ghs/product/classes/ProductClass.php

@@ -1128,9 +1128,6 @@ class ProductClass extends BaseClass
         if ($weight === false) {
             util::fail("请输入花材重量");
         }
-        if ($weight > 3) {
-            util::fail('花材重量不能超过3公斤');
-        }
         $cat = ItemClassClass::getById($classId, true);
         if (empty($cat)) {
             util::fail("花材分类不存在");

+ 0 - 3
biz-hd/item/classes/ItemClass.php

@@ -220,9 +220,6 @@ class ItemClass extends BaseClass
         if ($weight === false) {
             util::fail("请输入花材重量");
         }
-        if ($weight > 3) {
-            util::fail('花材重量不能超过3公斤');
-        }
         $cat = ItemClassClass::getById($classId, true);
         if (empty($cat)) {
             util::fail("花材分类不存在");