Commit 77ce9168 authored by 罗超's avatar 罗超

1

parent 24aceba2
......@@ -200,7 +200,8 @@
date: "",
info: ''
}],
Date: ""
Date: "",
up:""
}
},
components: {
......@@ -365,6 +366,9 @@
},
//获取详情
getDetail() {
uni.showLoading({
title: '加载中...'
});
this.request2({
url: '/api/AppletDining/GetDiningDetails',
data: {
......@@ -372,6 +376,7 @@
}
},
res => {
uni.hideLoading();
if (res.resultCode == 1) {
res.data.FoodTag = res.data.FoodTag.split(',')
res.data.GeographicTag = res.data.GeographicTag.split(',')
......@@ -385,6 +390,9 @@
this.imgsList.push(obj)
})
}
},
err=>{
uni.hideLoading();
}
);
},
......
......@@ -175,6 +175,12 @@
uni.requestSubscribeMessage({
tmplIds: res.data.template_message_list,
complete(_res) {
if(data.Final_Price===0){
uni.redirectTo({
url: '/pages/jiuzhai/allorderList'
});
return
}
that.queren(res.data.OrderId)
}
});
......
This diff is collapsed.
......@@ -87,7 +87,6 @@
onLoad(options) {
let obj=JSON.parse(decodeURIComponent(options.data))
this.ticketdData=obj
console.log(this.ticketdData)
this.Final_Price=this.ticketdData.PeopleNumber*this.ticketdData.Unit_Price
},
......@@ -151,6 +150,12 @@
console.log('订阅失败',err)
},
complete(_res) {
if(that.Final_Price===0){
uni.redirectTo({
url: '/pages/jiuzhai/allorderList'
});
return
}
that.queren(res.data.OrderId)
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment