|
|
@ -64,6 +64,13 @@ |
|
|
|
<a-input style="margin-left: 5px" v-decorator="['profit_rate_max']" placeholder="请输入" /> |
|
|
|
<a-input style="margin-left: 5px" v-decorator="['profit_rate_max']" placeholder="请输入" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-form-item> |
|
|
|
</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-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> |
|
|
@ -339,6 +346,7 @@ export default { |
|
|
|
is_pool: '', |
|
|
|
is_pool: '', |
|
|
|
data_type: '', |
|
|
|
data_type: '', |
|
|
|
categoryId: '', |
|
|
|
categoryId: '', |
|
|
|
|
|
|
|
spec_type:'' |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 正在加载 |
|
|
|
// 正在加载 |
|
|
|
isLoading: false, |
|
|
|
isLoading: false, |
|
|
@ -373,6 +381,11 @@ export default { |
|
|
|
visible: false, |
|
|
|
visible: false, |
|
|
|
saleVisible: false, |
|
|
|
saleVisible: false, |
|
|
|
priceVisible: false, |
|
|
|
priceVisible: false, |
|
|
|
|
|
|
|
specsType: [ |
|
|
|
|
|
|
|
{ name: '全部', val: '' }, |
|
|
|
|
|
|
|
{ name: '单规格', val: 10 }, |
|
|
|
|
|
|
|
{ name: '多规格', val: 20 }, |
|
|
|
|
|
|
|
], |
|
|
|
goodsType: [ |
|
|
|
goodsType: [ |
|
|
|
{ name: '自营', val: 1 }, |
|
|
|
{ name: '自营', val: 1 }, |
|
|
|
{ name: 'POP', val: 2 }, |
|
|
|
{ name: 'POP', val: 2 }, |
|
|
@ -503,6 +516,9 @@ export default { |
|
|
|
getGoodsStarus(val) { |
|
|
|
getGoodsStarus(val) { |
|
|
|
this.queryParam.is_pool = val |
|
|
|
this.queryParam.is_pool = val |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
onchangeSpecs(val) { |
|
|
|
|
|
|
|
this.queryParam.spec_type = val |
|
|
|
|
|
|
|
}, |
|
|
|
getSale(val) { |
|
|
|
getSale(val) { |
|
|
|
this.is_sale = val |
|
|
|
this.is_sale = val |
|
|
|
}, |
|
|
|
}, |
|
|
|