|
@@ -184,9 +184,21 @@ this.hexiaodata=JSON.parse(option.list);
|
|
};
|
|
};
|
|
|
|
|
|
this.$api.get('/api/merchant/food/queryOrderDetail', postdata).then(res => {
|
|
this.$api.get('/api/merchant/food/queryOrderDetail', postdata).then(res => {
|
|
- console.log('111111111111111111',res.data.data)
|
|
|
|
- this.getalllist=res.data.data;
|
|
|
|
-
|
|
|
|
|
|
+ console.log('111111111111111111',res.data)
|
|
|
|
+ if(res.data.code==500){
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title:res.data.msg,
|
|
|
|
+ icon:'none',
|
|
|
|
+ duration:1500
|
|
|
|
+ })
|
|
|
|
+ setTimeout(()=>{
|
|
|
|
+ uni.navigateBack({
|
|
|
|
+ delta: 1
|
|
|
|
+ });
|
|
|
|
+ },1500)
|
|
|
|
+ }else{
|
|
|
|
+ this.getalllist=res.data.data;
|
|
|
|
+ }
|
|
|
|
|
|
})
|
|
})
|
|
|
|
|