瀏覽代碼

修改bug

chenrui 8 月之前
父節點
當前提交
b62cb67532
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/promotionManagement/promotionalProducts/list.vue

+ 3 - 1
src/views/promotionManagement/promotionalProducts/list.vue

@@ -180,7 +180,8 @@ export default {
         promoState: undefined, // 促销状态
         categorySn: undefined, // 商城类目
         shopProductStatus: undefined, // 商城状态
-        shopProductDelFlag: 0 // 促销产品标志
+        shopProductDelFlag: 0, // 促销产品标志
+        promoStateList: ['NOT_RELEASE', 'HAVE_RELEASE']// 促销列表只查询这两种状态
       },
       categoryOptions: [], // 产品类目列表
       fieldNames: { label: 'categoryName', value: 'categorySn', children: 'shopCategoryList' },
@@ -248,6 +249,7 @@ export default {
       this.queryParam.shopProductStatus = undefined
       this.queryParam.categorySn = undefined
       this.queryParam.shopProductDelFlag = 0
+      this.queryParam.promoStateList = ['NOT_RELEASE', 'HAVE_RELEASE']
       this.productType = []
       this.category = []
       this.$refs.table.refresh()