shish 4 лет назад
Родитель
Сommit
24eeaf85bb
2 измененных файлов с 3 добавлено и 9 удалено
  1. 1 3
      ghsApp/src/admin/ptItem/itemList.vue
  2. 2 6
      ghsApp/src/mixins/ptProductContrapose.js

+ 1 - 3
ghsApp/src/admin/ptItem/itemList.vue

@@ -121,9 +121,7 @@ export default {
 			this.isMore = true;
 			},
 		selectSussess(val) {
-			uni.showLoading({
-				title: "加载中"
-			});
+			uni.showLoading({ title: "加载中" })
 			this.initProductInfo();
 			let type = "waring";
 			this.shopId = val.selectItem.id;

+ 2 - 6
ghsApp/src/mixins/ptProductContrapose.js

@@ -51,12 +51,8 @@ export default {
 		//搜索对应花材
 		searchFnContrapose() {
 			this.page = 1
-			if(!this.$util.isEmpty(this.py)){
-				this.globalClassItemListContrapose = []
-				this.initDataContrapose({shopId: this.shopId});
-			}else{
-				this.globalClassItemListContrapose = this.allFilterProductInfoContrapose;
-			}
+			this.globalClassItemListContrapose = []
+			this.initDataContrapose({shopId: this.shopId})			
 		}
 	}
 };