是否精品

main
fanfan 2 months ago
parent 5c7faba503
commit bb3ab3a52f
  1. 13
      src/views/goods/Index.vue

@ -90,6 +90,13 @@
</a-select-option> </a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item label="是否精品">
<a-select @change="getGoodsJingPin" 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 class="search-btn"> <a-form-item class="search-btn">
<a-button type="primary" icon="search" html-type="submit">搜索</a-button> <a-button type="primary" icon="search" html-type="submit">搜索</a-button>
</a-form-item> </a-form-item>
@ -520,6 +527,7 @@ export default {
is_new: '', is_new: '',
is_in_store: '', is_in_store: '',
is_paihang: '', is_paihang: '',
is_jingpin: '',
}, },
setupIndex: 0, setupIndex: 0,
setupValue: 1, setupValue: 1,
@ -611,6 +619,9 @@ export default {
getGoodsRank(val) { getGoodsRank(val) {
this.queryParam.is_paihang = val this.queryParam.is_paihang = val
}, },
getGoodsJingPin(val) {
this.queryParam.is_jingpin = val
},
// //
handleModify() { handleModify() {
this.$router.push('/goods/modify') this.$router.push('/goods/modify')
@ -728,6 +739,8 @@ export default {
this.queryParam.channel + this.queryParam.channel +
'&merchant_id=' + '&merchant_id=' +
this.queryParam.merchant_id + this.queryParam.merchant_id +
'&is_jingpin=' +
this.queryParam.is_jingpin +
'&goodsIds=' + '&goodsIds=' +
goodsIds + goodsIds +
'&Access-Token=' + '&Access-Token=' +

Loading…
Cancel
Save