main
fanfan 7 months ago
parent 181c3baac0
commit e63441b7d0
  1. 26
      src/views/dataCenter/goods/Index.vue

@ -98,6 +98,20 @@
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </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="添加时间"> <a-form-item label="添加时间">
<div style="display: flex" class="goodsType" id="date"> <div style="display: flex" class="goodsType" id="date">
<el-date-picker <el-date-picker
@ -440,6 +454,8 @@ export default {
spec_type: '', spec_type: '',
start_time: '', start_time: '',
end_time: '', end_time: '',
is_has_banner:'',
is_has_detail:''
}, },
// //
isLoading: false, isLoading: false,
@ -779,6 +795,12 @@ export default {
getGoodsJingPin(val) { getGoodsJingPin(val) {
this.queryParam.is_jingpin = val this.queryParam.is_jingpin = val
}, },
getGoodsJingLunBo(val) {
this.queryParam.is_has_banner = val
},
getGoodsJingDeails(val) {
this.queryParam.is_has_detail = val
},
getSale(val) { getSale(val) {
this.is_sale = val this.is_sale = val
}, },
@ -920,6 +942,10 @@ export default {
(formData.shop_price_min || '') + (formData.shop_price_min || '') +
'&shop_price_max=' + '&shop_price_max=' +
(formData.shop_price_max || '') + (formData.shop_price_max || '') +
'&is_has_banner=' +
this.queryParam.is_has_banner +
'&is_has_detail=' +
this.queryParam.is_has_detail +
'&categoryId=' + '&categoryId=' +
this.queryParam.categoryId + this.queryParam.categoryId +
'&channel=' + '&channel=' +

Loading…
Cancel
Save