shish 4 жил өмнө
parent
commit
24eeaf85bb

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

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

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

@@ -51,12 +51,8 @@ export default {
 		//搜索对应花材
 		//搜索对应花材
 		searchFnContrapose() {
 		searchFnContrapose() {
 			this.page = 1
 			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})			
 		}
 		}
 	}
 	}
 };
 };