|
@@ -63,6 +63,11 @@
|
|
<v-select code="SHOP_PRODUCT_STATUS" id="easyPassShopping-status" v-model="queryParam.status" allowClear placeholder="请选择产品商城状态"></v-select>
|
|
<v-select code="SHOP_PRODUCT_STATUS" id="easyPassShopping-status" v-model="queryParam.status" allowClear placeholder="请选择产品商城状态"></v-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
|
+ <a-form-item label="热销产品">
|
|
|
|
+ <v-select code="FLAG" id="easyPassShopping-hotFlag" v-model="queryParam.hotFlag" allowClear placeholder="请选择热销产品"></v-select>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
<a-col :md="6" :sm="24" style="margin-bottom: 10px">
|
|
<a-col :md="6" :sm="24" style="margin-bottom: 10px">
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="easyPassShopping-refresh">查询</a-button>
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="easyPassShopping-refresh">查询</a-button>
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="easyPassShopping-reset">重置</a-button>
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="easyPassShopping-reset">重置</a-button>
|
|
@@ -136,7 +141,8 @@ export default {
|
|
status: undefined, // 状态
|
|
status: undefined, // 状态
|
|
categorySn1: undefined, // 产品一级类目
|
|
categorySn1: undefined, // 产品一级类目
|
|
categorySn2: undefined, // 产品二级类目
|
|
categorySn2: undefined, // 产品二级类目
|
|
- orderBy: 'createDate'
|
|
|
|
|
|
+ orderBy: 'createDate', // 按照创建时间排序
|
|
|
|
+ hotFlag: undefined // 热销产品
|
|
},
|
|
},
|
|
productType: [], // 产品分类
|
|
productType: [], // 产品分类
|
|
categoryOptions: [], // 产品类目列表
|
|
categoryOptions: [], // 产品类目列表
|
|
@@ -214,6 +220,7 @@ export default {
|
|
this.queryParam.status = undefined
|
|
this.queryParam.status = undefined
|
|
this.queryParam.categorySn1 = undefined
|
|
this.queryParam.categorySn1 = undefined
|
|
this.queryParam.categorySn2 = undefined
|
|
this.queryParam.categorySn2 = undefined
|
|
|
|
+ this.queryParam.hotFlag = undefined
|
|
this.productType = []
|
|
this.productType = []
|
|
this.category = []
|
|
this.category = []
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|