update other api
This commit is contained in:
@@ -29,8 +29,19 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
toDetailsPage() {
|
||||
let type =0
|
||||
let info = this.info
|
||||
if(info.goods_try_order_status==0){
|
||||
type=1
|
||||
}else if(info.goods_try_order_status==20){
|
||||
type=2
|
||||
}else if(info.goods_try_order_status==40){
|
||||
type=3
|
||||
}else if(info.goods_try_order_status==50){
|
||||
type=4
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/details?id=' + this.info.order_id
|
||||
url: '/pages/index/otherdetails?id=' + this.info.goods_try_id+"&type="+type
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user