|
@@ -117,9 +117,6 @@
|
|
deliveryId: this.deliverListData[this.listIndex][0].deliveryId,
|
|
deliveryId: this.deliverListData[this.listIndex][0].deliveryId,
|
|
}
|
|
}
|
|
$http.post('/api/v1/mp/logistics/query', data).then(res => {
|
|
$http.post('/api/v1/mp/logistics/query', data).then(res => {
|
|
- if (res.code == 500) {
|
|
|
|
- uni.hideToast();
|
|
|
|
- }
|
|
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
this.logistics = res.data.map(item=>{
|
|
this.logistics = res.data.map(item=>{
|
|
return {
|
|
return {
|
|
@@ -128,6 +125,9 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
console.log(this.logistics);
|
|
console.log(this.logistics);
|
|
|
|
+ }else {
|
|
|
|
+ this.logistics = ''
|
|
|
|
+ uni.hideToast();
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|