|
@@ -67,7 +67,9 @@ export default {
|
|
|
autoLoad: false,
|
|
autoLoad: false,
|
|
|
selectJobType: "stock",
|
|
selectJobType: "stock",
|
|
|
tabIndex: 0,
|
|
tabIndex: 0,
|
|
|
- getAppIdList:{}
|
|
|
|
|
|
|
+ getAppIdList:{},
|
|
|
|
|
+ status:0,
|
|
|
|
|
+ delStatus:0
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed:{
|
|
computed:{
|
|
@@ -79,13 +81,15 @@ export default {
|
|
|
onLoad() {
|
|
onLoad() {
|
|
|
this.shopId = this.getMyShopInfo.id;
|
|
this.shopId = this.getMyShopInfo.id;
|
|
|
let type = '';
|
|
let type = '';
|
|
|
- this.initData({ type, shopId: this.shopId,status:0});
|
|
|
|
|
-
|
|
|
|
|
- let that = this
|
|
|
|
|
- getWeixinId().then(res => {
|
|
|
|
|
- that.getAppIdList = res.data
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ if(this.option.delStatus){
|
|
|
|
|
+ this.delStatus = this.option.delStatus
|
|
|
|
|
+ }
|
|
|
|
|
+ this.initData({ type, shopId: this.shopId,status:this.status,delStatus:this.delStatus})
|
|
|
|
|
|
|
|
|
|
+ let that = this
|
|
|
|
|
+ getWeixinId().then(res => {
|
|
|
|
|
+ that.getAppIdList = res.data
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
// #ifdef APP-PLUS
|
|
// #ifdef APP-PLUS
|
|
@@ -365,7 +369,7 @@ export default {
|
|
|
});
|
|
});
|
|
|
this.tabIndex = e.index;
|
|
this.tabIndex = e.index;
|
|
|
let type = "";
|
|
let type = "";
|
|
|
- this.initData({ type, shopId: this.shopId });
|
|
|
|
|
|
|
+ this.initData({ type, shopId: this.shopId,delStatus:this.delStatus })
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
scrollTop() {},
|
|
scrollTop() {},
|
|
@@ -379,7 +383,7 @@ export default {
|
|
|
this.initProductInfo();
|
|
this.initProductInfo();
|
|
|
let type = "";
|
|
let type = "";
|
|
|
this.shopId = val.selectItem.id;
|
|
this.shopId = val.selectItem.id;
|
|
|
- this.initData({ type, shopId: this.shopId });
|
|
|
|
|
|
|
+ this.initData({ type, shopId: this.shopId,delStatus:this.delStatus })
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|