Commit 62e60ba9 authored by 罗超's avatar 罗超

1

parent 0d554e42
......@@ -528,9 +528,9 @@
v-if="subItem.childItem.useDinnerType == '2'"
>午餐:{{ subItem.childItem.dinnerName }}</text
>
<text v-if="subItem.childItem.useDinnerType == '3'">晚餐:{{
subItem.childItem.dinnerName
}}</text>
<text v-if="subItem.childItem.useDinnerType == '3'"
>晚餐:{{ subItem.childItem.dinnerName }}</text
>
</template>
</text>
</view>
......@@ -1273,12 +1273,10 @@ export default {
url:
"/pages/jiuzhai/jz_Reserve?currentPriceInfo=" +
encodeURIComponent(myCurr) +
"&ln=" +
this.dataList.ltName +
"&seat=" +
encodeURIComponent(JSON.stringify(ren)) +
"&tips=" +
encodeURIComponent(this.dataList.feature.importantTipText),
"&tcid=" +
this.delMsg.tcid,
});
},
......
......@@ -501,21 +501,38 @@ export default {
});
},
onLoad(option) {
if (option.currentPriceInfo) {
console.log(504, option);
if (option.seat) {
this.currentPriceInfo = JSON.parse(
decodeURIComponent(option.currentPriceInfo)
);
let t = JSON.parse(decodeURIComponent(option.seat));
let t = JSON.parse(option.seat);
this.orderMsg.ManNum = t.crCount;
this.orderMsg.ChirdNeedBedNum = t.etCount;
this.orderMsg.ChirdNoBedNum = t.etbCount;
this.orderMsg.BabyNum = t.yeCount;
this.tips = decodeURIComponent(option.tips);
this.calcMoney();
this.ltName = option.ln;
}
if (option.tcid) {
this.getDetails(option.tcid);
}
},
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() {
uni.navigateBack({
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