|
|
|
@ -98,6 +98,20 @@ |
|
|
|
|
</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item label="是否轮播"> |
|
|
|
|
<a-select @change="getGoodsJingLunBo" style="width: 120px" placeholder="请选择"> |
|
|
|
|
<a-select-option :value="item.val" v-for="item in isYesNo" :key="item.val"> |
|
|
|
|
{{ item.name }} |
|
|
|
|
</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item label="是否详情"> |
|
|
|
|
<a-select @change="getGoodsJingDeails" style="width: 120px" placeholder="请选择"> |
|
|
|
|
<a-select-option :value="item.val" v-for="item in isYesNo" :key="item.val"> |
|
|
|
|
{{ item.name }} |
|
|
|
|
</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item label="添加时间"> |
|
|
|
|
<div style="display: flex" class="goodsType" id="date"> |
|
|
|
|
<el-date-picker |
|
|
|
@ -440,6 +454,8 @@ export default { |
|
|
|
|
spec_type: '', |
|
|
|
|
start_time: '', |
|
|
|
|
end_time: '', |
|
|
|
|
is_has_banner:'', |
|
|
|
|
is_has_detail:'' |
|
|
|
|
}, |
|
|
|
|
// 正在加载 |
|
|
|
|
isLoading: false, |
|
|
|
@ -779,6 +795,12 @@ export default { |
|
|
|
|
getGoodsJingPin(val) { |
|
|
|
|
this.queryParam.is_jingpin = val |
|
|
|
|
}, |
|
|
|
|
getGoodsJingLunBo(val) { |
|
|
|
|
this.queryParam.is_has_banner = val |
|
|
|
|
}, |
|
|
|
|
getGoodsJingDeails(val) { |
|
|
|
|
this.queryParam.is_has_detail = val |
|
|
|
|
}, |
|
|
|
|
getSale(val) { |
|
|
|
|
this.is_sale = val |
|
|
|
|
}, |
|
|
|
@ -920,6 +942,10 @@ export default { |
|
|
|
|
(formData.shop_price_min || '') + |
|
|
|
|
'&shop_price_max=' + |
|
|
|
|
(formData.shop_price_max || '') + |
|
|
|
|
'&is_has_banner=' + |
|
|
|
|
this.queryParam.is_has_banner + |
|
|
|
|
'&is_has_detail=' + |
|
|
|
|
this.queryParam.is_has_detail + |
|
|
|
|
'&categoryId=' + |
|
|
|
|
this.queryParam.categoryId + |
|
|
|
|
'&channel=' + |
|
|
|
|