|
|
@@ -208,7 +208,7 @@ class ShopGoodsForm extends Model
|
|
|
$model = $this->_model;
|
|
|
$model->GOODS_NAME = $this->goodsName;
|
|
|
$model->TYPE = 0;
|
|
|
- $model->CATE_ID = $this->type;
|
|
|
+ $model->CATE_ID = $this->type ?? $this->_model->CATE_ID;
|
|
|
$model->SELL_DISCOUNT = $this->sellDiscount;
|
|
|
$model->GIFT_TYPE = implode(',',$this->giftType);
|
|
|
// $model->SELL_TYPE = implode(',',$this->sellType);
|