Commit c267fa56 authored by youjie's avatar youjie

no message

parent 36bf4b35
......@@ -15,7 +15,7 @@
<template v-if="$q.platform.is.desktop">{{ $t('hotelorder.createTime') }}</template>
2023-03-06 14:20:56</span>
</div>
<div class="" :class="{'q-py-md row justify-between':$q.platform.is.desktop,'column q-py-sm':$q.platform.is.mobile}">
<div class="q-pt-sm" :class="{'row justify-between':$q.platform.is.desktop,'column':$q.platform.is.mobile}">
<div :class="{'row col':$q.platform.is.desktop}">
<div :style="{'width':$q.platform.is.desktop?'150px':'100%'}">
<q-img class="rounded-borders" :style="{'width':$q.platform.is.desktop?'150px':'100%'}" :ratio="16 / 9" src="http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg" spinner-color="grey" spinner-size="50px" fit="cover"/>
......@@ -28,7 +28,7 @@
</div>
<div :class="{'row items-end':$q.platform.is.desktop}" style="flex-shrink: 0;">
<div class="column text-right">
<div :class="{'row justify-between q-pt-lg q-pb-xs':$q.platform.is.mobile}">
<div :class="{'row justify-end q-pt-lg q-pb-xs':$q.platform.is.mobile}">
<span class="fz13">总金额:<span class="fz16">¥45200</span> </span>
<div class="fz13" :class="{'q-py-xs':$q.platform.is.desktop}"><span class="text-orange-7">已付总额:<span class="fz16">¥0.00</span> </span>
</div>
......
......@@ -354,14 +354,13 @@ export default defineComponent({
data.p = n;
data.chosenObj.startDate = n.startDate;
methods.calcMoney()
console.log(data.p,'====-----')
},{deep: true}
)
const methods = {
goOrderHandler(){
let order = {
configId: props.msg.configId,
tcid: props.msg.tcid,
tcid: data.p.tcid,
startCityId: 0,
orderInfo: data.chosenObj
}
......@@ -412,27 +411,6 @@ export default defineComponent({
},
changePeople(val) {},
addPeople(m, i, isDf = false) {
// data.chosenObj[m] = parseInt(data.chosenObj[m]) + i;
// if(m!='crCount'){
// data.chosenObj[m] = data.chosenObj[m] < 0 ? 0 : data.chosenObj[m];
// }else{
// data.chosenObj[m] = data.chosenObj[m] < 1 ? 1 : data.chosenObj[m];
// }
// if (!isDf) {
// if (
// data.chosenObj.crCount + data.chosenObj.etCount >
// data.p.remainNum
// ) {
// data.chosenObj[m] = data.chosenObj[m] - 1;
// }
// } else {
// if (
// data.chosenObj.crCount + data.chosenObj.etCount <
// data.chosenObj.df
// ) {
// data.chosenObj[m] = data.chosenObj[m] - 1;
// }
// }
data.chosenObj[m] = parseInt(data.chosenObj[m]) + i;
if (m != "crCount") {
data.chosenObj[m] = data.chosenObj[m] < 0 ? 0 : data.chosenObj[m];
......
......@@ -350,7 +350,7 @@ export default defineComponent({
data.msg.UseDate = date.formatDate(date.addToDate(new Date(), { days: 0 }), 'YYYY/MM/DD')
const menu = inject(DirtionmaryHelper.MENU_KEYS) as any
menu.value = 8
menu.value = 17
const methods = {
// 获取团期信息
changeStartDate(){
......
......@@ -170,7 +170,7 @@
<div class="" v-if="$q.platform.is.desktop">
<div class="row items-center">
<span class="product-price text-h6 q-mr-md">CNY {{ dataList.priceList[0].originalB2BPrice }}</span>
<q-btn color="primary" outline :label="showOrderPreview ? $t('v103.details.deselect') : $t('v103.details.choose')" @click="showOrderPreview = !showOrderPreview" class="q-px-lg" />
<q-btn color="primary" outline :label="showOrderPreview ? $t('v103.details.deselect') : $t('v103.details.choose')" @click="changeShowOrderPreviewHandler" class="q-px-lg" />
</div>
<div class="text-info q-mt-md text-right">{{$t('v103.details.earliest')}}:{{ dataList.priceList[0].startDate }}</div>
</div>
......@@ -420,6 +420,17 @@ export default defineComponent({
data.days = n
},{immediate: true,deep: true})
const methods = {
changeShowOrderPreviewHandler() {
data.showOrderPreview = !data.showOrderPreview;
if (!data.showOrderPreview) {
if (data.currentPrice) {
data.currentPrice.isSupportChildren = null;
data.currentPrice.unionCityList = null;
data.currentPrice.singleRoomPrice = 0;
data.currentPrice.originalB2BPrice = 0;
}
}
},
getTopNum(x){
data.days = JSON.parse(x)
},
......
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