Commit 742fdb8a authored by zhengke's avatar zhengke

Merge branch 'master' of http://gitlab.oytour.com/zk123/jz_travel

parents a3d260a5 62e60ba9
...@@ -528,9 +528,9 @@ ...@@ -528,9 +528,9 @@
v-if="subItem.childItem.useDinnerType == '2'" v-if="subItem.childItem.useDinnerType == '2'"
>午餐:{{ subItem.childItem.dinnerName }}</text >午餐:{{ subItem.childItem.dinnerName }}</text
> >
<text v-if="subItem.childItem.useDinnerType == '3'">晚餐:{{ <text v-if="subItem.childItem.useDinnerType == '3'"
subItem.childItem.dinnerName >晚餐:{{ subItem.childItem.dinnerName }}</text
}}</text> >
</template> </template>
</text> </text>
</view> </view>
...@@ -1287,12 +1287,10 @@ export default { ...@@ -1287,12 +1287,10 @@ export default {
url: url:
"/pages/jiuzhai/jz_Reserve?currentPriceInfo=" + "/pages/jiuzhai/jz_Reserve?currentPriceInfo=" +
encodeURIComponent(myCurr) + encodeURIComponent(myCurr) +
"&ln=" +
this.dataList.ltName +
"&seat=" + "&seat=" +
encodeURIComponent(JSON.stringify(ren)) + encodeURIComponent(JSON.stringify(ren)) +
"&tips=" + "&tcid=" +
encodeURIComponent(this.dataList.feature.importantTipText), this.delMsg.tcid,
}); });
}, },
......
...@@ -501,21 +501,38 @@ export default { ...@@ -501,21 +501,38 @@ export default {
}); });
}, },
onLoad(option) { onLoad(option) {
if (option.currentPriceInfo) { console.log(504, option);
if (option.seat) {
this.currentPriceInfo = JSON.parse( this.currentPriceInfo = JSON.parse(
decodeURIComponent(option.currentPriceInfo) decodeURIComponent(option.currentPriceInfo)
); );
let t = JSON.parse(decodeURIComponent(option.seat)); let t = JSON.parse(option.seat);
this.orderMsg.ManNum = t.crCount; this.orderMsg.ManNum = t.crCount;
this.orderMsg.ChirdNeedBedNum = t.etCount; this.orderMsg.ChirdNeedBedNum = t.etCount;
this.orderMsg.ChirdNoBedNum = t.etbCount; this.orderMsg.ChirdNoBedNum = t.etbCount;
this.orderMsg.BabyNum = t.yeCount; this.orderMsg.BabyNum = t.yeCount;
this.tips = decodeURIComponent(option.tips);
this.calcMoney(); this.calcMoney();
this.ltName = option.ln; }
if (option.tcid) {
this.getDetails(option.tcid);
} }
}, },
methods: { methods: {
//获取详情
getDetails(id) {
this.apipost(
"b2b_get_GetB2BTravelInfoNoDesV1",
{ tcid: id },
(res) => {
if (res.resultCode == 1) {
// this.currentPriceInfo = res.data;
this.tips = res.data.feature.importantTipText;
this.ltName = res.data.ltName;
}
},
null
);
},
updateUser() { updateUser() {
uni.navigateBack({ uni.navigateBack({
delta: 1, delta: 1,
......
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