|
|
@@ -124,6 +124,17 @@ class CheckOrderController extends BaseController
|
|
|
if (!is_array($ghsItemInfo)) {
|
|
|
util::fail('花材格式不正确');
|
|
|
}
|
|
|
+
|
|
|
+ if ($this->shopId == 2164) {
|
|
|
+ foreach ($ghsItemInfo as $key => $val) {
|
|
|
+ $pId = $val['productId'] ?? 0;
|
|
|
+ $info = ProductClass::getById($pId, true);
|
|
|
+ if ($info->mainId != 2126) {
|
|
|
+ unset($ghsItemInfo[$key]);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
//判断花材格式,是否属于当前门店
|
|
|
ProductClass::valid($ghsItemInfo, $this->mainId);
|
|
|
|