|
|
@@ -214,7 +214,6 @@ class ApproachAutoMaintenanceOrderForm extends Model
|
|
|
$goods = ShopGoods::find()->select('ID,CATEGORY_TYPE')->where(['in', 'ID', $this->goodsId])->andWhere(['STATUS' => 1])->asArray()->all();
|
|
|
if (!$goods) {
|
|
|
throw new Exception(Yii::t('app', 'orderCanNotContainMultipleProductCategories'));
|
|
|
- return;
|
|
|
}
|
|
|
$goodsCategoryType = array_unique(array_column($goods, 'CATEGORY_TYPE'));
|
|
|
if (count($goodsCategoryType) > 1) {
|