规格筛选

main
fanfan 8 months ago
parent f771e64818
commit 3514c7c693
  1. 16
      src/views/dataCenter/goods/Index.vue

@ -64,6 +64,13 @@
<a-input style="margin-left: 5px" v-decorator="['profit_rate_max']" placeholder="请输入" />
</div>
</a-form-item>
<a-form-item label="规格类型">
<a-select @change="onchangeSpecs" style="width: 120px" placeholder="请选择">
<a-select-option :value="item.val" v-for="item in specsType" :key="item.val">
{{ item.name }}
</a-select-option>
</a-select>
</a-form-item>
<a-form-item class="search-btn">
<a-button type="primary" icon="search" html-type="submit">搜索</a-button>
</a-form-item>
@ -339,6 +346,7 @@ export default {
is_pool: '',
data_type: '',
categoryId: '',
spec_type:''
},
//
isLoading: false,
@ -373,6 +381,11 @@ export default {
visible: false,
saleVisible: false,
priceVisible: false,
specsType: [
{ name: '全部', val: '' },
{ name: '单规格', val: 10 },
{ name: '多规格', val: 20 },
],
goodsType: [
{ name: '自营', val: 1 },
{ name: 'POP', val: 2 },
@ -503,6 +516,9 @@ export default {
getGoodsStarus(val) {
this.queryParam.is_pool = val
},
onchangeSpecs(val) {
this.queryParam.spec_type = val
},
getSale(val) {
this.is_sale = val
},

Loading…
Cancel
Save