chenrui hai 9 meses
pai
achega
760b255bd1

+ 2 - 2
src/config/router.config.js

@@ -786,7 +786,7 @@ export const asyncRouterMap = [
             name: 'easyPassShopping',
             component: BlankLayout,
             meta: {
-              title: '商城类目',
+              title: '商城产品',
               icon: 'monitor'
               // permission: 'M_easyPassShopping'
             },
@@ -797,7 +797,7 @@ export const asyncRouterMap = [
                 name: 'easyPassShoppingIndex',
                 component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/easyPassShopping/index.vue'),
                 meta: {
-                  title: '商城类目列表',
+                  title: '商城产品列表',
                   icon: 'monitor',
                   hidden: true
                 }

+ 8 - 1
src/views/numsGoodsShelves/easyPassShopping/index.vue

@@ -63,6 +63,11 @@
                 <v-select code="SHOP_PRODUCT_STATUS" id="easyPassShopping-status" v-model="queryParam.status" allowClear placeholder="请选择产品商城状态"></v-select>
               </a-form-item>
             </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-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>
@@ -136,7 +141,8 @@ export default {
         status: undefined, //  状态
         categorySn1: undefined, // 产品一级类目
         categorySn2: undefined, // 产品二级类目
-        orderBy: 'createDate'
+        orderBy: 'createDate', // 按照创建时间排序
+        hotFlag: undefined // 热销产品
       },
       productType: [], // 产品分类
       categoryOptions: [], // 产品类目列表
@@ -214,6 +220,7 @@ export default {
       this.queryParam.status = undefined
       this.queryParam.categorySn1 = undefined
       this.queryParam.categorySn2 = undefined
+      this.queryParam.hotFlag = undefined
       this.productType = []
       this.category = []
       this.$refs.table.refresh(true)