Commit 00304710 authored by huangyuanyuan's avatar huangyuanyuan

update

parent c8faff7a
......@@ -85,7 +85,7 @@ Page({
teamType: that.data.teamType
})
this.getData(that.data.msg);
this.getB2BSellByCustomerId();
}
},
......@@ -357,8 +357,8 @@ Page({
let that = this;
app.$api('b2b_get_GetB2BTravelInfoV1', msg).then(res => {
that.getB2BSellByCustomerId();
let data = res;
that.setData({
trip: data,
priceList: data.priceList,
......
......@@ -126,7 +126,7 @@ Page({
let data = res;
if (res.resultCode == 1) {
wx.navigateTo({
url: '/pages/GroupTour/Pay/Pay',
url: '/pages/member/orderCenter/orderCenter?index=1',
})
}
}).catch(err => {
......
......@@ -55,6 +55,7 @@ Page({
getData() {
let that = this;
app.$api('b2b_get_GetB2BTravelInfoV1', that.data.msg).then(res => {
let data = res;
data.priceList.forEach(item => {
item.date = item.startDate.split("-")[1] + "/" + item.startDate.split("-")[2];
......
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