|
@@ -107,7 +107,8 @@ export default {
|
|
|
printLabelShow:false,
|
|
printLabelShow:false,
|
|
|
printNum:'',
|
|
printNum:'',
|
|
|
printFocus:false,
|
|
printFocus:false,
|
|
|
- showClassRemind:false
|
|
|
|
|
|
|
+ showClassRemind:false,
|
|
|
|
|
+ warning:0
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed:{
|
|
computed:{
|
|
@@ -122,7 +123,10 @@ export default {
|
|
|
if(this.option.delStatus){
|
|
if(this.option.delStatus){
|
|
|
this.delStatus = this.option.delStatus
|
|
this.delStatus = this.option.delStatus
|
|
|
}
|
|
}
|
|
|
- this.initData({ type, shopId: this.shopId,status:this.status,delStatus:this.delStatus})
|
|
|
|
|
|
|
+ if(this.option.warning){
|
|
|
|
|
+ this.warning = this.option.warning
|
|
|
|
|
+ }
|
|
|
|
|
+ this.initData({ type, shopId: this.shopId,status:this.status,delStatus:this.delStatus,warning:this.warning})
|
|
|
|
|
|
|
|
let that = this
|
|
let that = this
|
|
|
getWeixinId().then(res => {
|
|
getWeixinId().then(res => {
|
|
@@ -291,30 +295,11 @@ export default {
|
|
|
} else {
|
|
} else {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- 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,delStatus:this.delStatus })
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
scrollTop() {},
|
|
scrollTop() {},
|
|
|
initProductInfo() {
|
|
initProductInfo() {
|
|
|
this.globalClassItemListContrapose = [];
|
|
this.globalClassItemListContrapose = [];
|
|
|
this.page = 1;
|
|
this.page = 1;
|
|
|
this.isMore = true;
|
|
this.isMore = true;
|
|
|
- },
|
|
|
|
|
- selectSussess(val) {
|
|
|
|
|
- uni.showLoading({ title: "加载中" })
|
|
|
|
|
- this.initProductInfo();
|
|
|
|
|
- let type = "";
|
|
|
|
|
- this.shopId = val.selectItem.id;
|
|
|
|
|
- this.initData({ type, shopId: this.shopId,delStatus:this.delStatus })
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|