|
|
@@ -117,7 +117,19 @@ export default {
|
|
|
this.initData({ type, shopId: this.shopId,status:0});
|
|
|
}
|
|
|
},
|
|
|
+ onPullDownRefresh() {
|
|
|
+ this.page = 1
|
|
|
+ this.filterProductInfoContrapose = []
|
|
|
+ let type = this.tabs[this.tabIndex].key == STOCK_TYPE.WARN ? "waring" : "";
|
|
|
+ this.shopId = this.getMyShopInfo.id;
|
|
|
+ if(type=="waring"){
|
|
|
+ this.initDataContrapose({ type, shopId: this.shopId,status:0});
|
|
|
+ }else{
|
|
|
+ this.initData({ type, shopId: this.shopId,status:0});
|
|
|
+ }
|
|
|
+ },
|
|
|
onShow(){
|
|
|
+ this.page = 1
|
|
|
this.filterProductInfoContrapose = []
|
|
|
let type = this.tabs[this.tabIndex].key == STOCK_TYPE.WARN ? "waring" : "";
|
|
|
this.shopId = this.getMyShopInfo.id;
|