|
|
@@ -200,28 +200,11 @@ export default {
|
|
|
this.modalCancel();
|
|
|
}
|
|
|
},
|
|
|
- change(e) {
|
|
|
- if (this.tabIndex == e.index) {
|
|
|
- return false;
|
|
|
- } else {
|
|
|
- uni.showLoading({ title: "加载中" })
|
|
|
- this.tabIndex = e.index;
|
|
|
- let type = "";
|
|
|
- this.initData({ type, shopId: this.shopId,requestType:'hasStock' });
|
|
|
- }
|
|
|
- },
|
|
|
scrollTop() {},
|
|
|
initProductInfo() {
|
|
|
this.globalClassItemListContrapose = [];
|
|
|
this.page = 1;
|
|
|
this.isMore = true;
|
|
|
- },
|
|
|
- selectSussess(val) {
|
|
|
- uni.showLoading({ title: "加载中" })
|
|
|
- this.initProductInfo();
|
|
|
- let type = "";
|
|
|
- this.shopId = val.selectItem.id;
|
|
|
- this.initData({ type, shopId: this.shopId,requestType:'hasStock'})
|
|
|
}
|
|
|
}
|
|
|
};
|