Commit 00304710 authored by huangyuanyuan's avatar huangyuanyuan

update

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