Commit b29d479a authored by 黄奎's avatar 黄奎

页面修改

parent 4aa54ea0
......@@ -198,7 +198,9 @@
/>
x {{ chosenObj.crCount }}
</div>
<div>{{domain==`id.oytour`?'IDR':'CNY'}} {{ price.originalB2BPrice }}</div>
<div>
{{ domain == `id.oytour` ? "IDR" : "CNY" }} {{ price.originalB2BPrice }}
</div>
</div>
<div class="row q-my-sm" v-if="chosenObj.etzcCount > 0">
<div class="col">
......@@ -214,7 +216,7 @@
x {{ chosenObj.etzcCount }}
</div>
<div>
{{domain==`id.oytour`?'IDR':'CNY'}}
{{ domain == `id.oytour` ? "IDR" : "CNY" }}
{{ price.originalB2BPrice + price.childNeedPrice }}
</div>
</div>
......@@ -232,7 +234,7 @@
x {{ chosenObj.etbzcCount }}
</div>
<div>
{{domain==`id.oytour`?'IDR':'CNY'}}
{{ domain == `id.oytour` ? "IDR" : "CNY" }}
{{ price.originalB2BPrice - price.childNoNeedPrice }}
</div>
</div>
......@@ -243,13 +245,13 @@
style="padding: 5px 8px"
text-color="info"
:label="
$t('v103.scheduledTripDetails.yr') +
$t('v103.scheduledTripDetails.ye') +
$t('v103.scheduledTripDetails.noroom')
"
/>
x {{ chosenObj.yeCount }}
</div>
<div>{{domain==`id.oytour`?'IDR':'CNY'}} {{ price.babyPrice }}</div>
<div>{{ domain == `id.oytour` ? "IDR" : "CNY" }} {{ price.babyPrice }}</div>
</div>
<div v-if="price.safeMoney > 0">
......@@ -263,7 +265,7 @@
{{ price.safeMoney }}/{{ $t("v103.scheduledTripDetails.people") }}
</div>
<div>
{{domain==`id.oytour`?'IDR':'CNY'}}
{{ domain == `id.oytour` ? "IDR" : "CNY" }}
{{
moneyFormat(
price.safeMoney *
......@@ -286,7 +288,7 @@
}}
</div>
<div>
{{domain==`id.oytour`?'IDR':'CNY'}}
{{ domain == `id.oytour` ? "IDR" : "CNY" }}
{{
moneyFormat(
price.visaPrice *
......@@ -302,7 +304,7 @@
{{ price.otherPrice }}/{{ $t("v103.scheduledTripDetails.people") }}
</div>
<div>
{{domain==`id.oytour`?'IDR':'CNY'}}
{{ domain == `id.oytour` ? "IDR" : "CNY" }}
{{
price.otherPrice *
(chosenObj.crCount + chosenObj.etCount + chosenObj.yeCount)
......@@ -319,13 +321,17 @@
<div class="col">
{{ $t("v103.scheduledTripDetails.surcharge") }} x {{ chosenObj.etCount }}
</div>
<div>{{domain==`id.oytour`?'IDR':'CNY'}} {{ price.babyChargePrice }}</div>
<div>
{{ domain == `id.oytour` ? "IDR" : "CNY" }} {{ price.babyChargePrice }}
</div>
</div>
<div class="row q-mb-sm" v-if="chosenObj.df > 0">
<div class="col">
{{ $t("v103.scheduledTripDetails.pricedifference") }} x {{ chosenObj.df }}
</div>
<div>{{domain==`id.oytour`?'IDR':'CNY'}} {{ price.singleRoomPrice }}</div>
<div>
{{ domain == `id.oytour` ? "IDR" : "CNY" }} {{ price.singleRoomPrice }}
</div>
</div>
</div>
<div class="q-pt-md q-mb-lg text-right" style="border-top: 1px dashed #eee">
......@@ -382,7 +388,7 @@ import { useI18n } from "vue-i18n";
import { DirtionmaryHelper } from "../../config/dictionary";
import TicketCard from "../../components/ticket/TicketCard.vue";
import { date, useQuasar } from "quasar";
import { moneyFormat } from 'src/utils/tools'
import { moneyFormat } from "src/utils/tools";
export default defineComponent({
components: { TicketCard },
setup(props) {
......@@ -393,7 +399,7 @@ export default defineComponent({
const pageTitle = inject(DirtionmaryHelper.PAGE_TITLE_KEY) as any;
pageTitle.value = t("v102.ticket.preview.pageTitle");
setTitle(pageTitle.value);
const domain =inject(DirtionmaryHelper.DOMAIN_NAME)
const domain = inject(DirtionmaryHelper.DOMAIN_NAME);
const data = reactive({
loading: false,
......@@ -773,7 +779,7 @@ export default defineComponent({
guestMobile,
guestAddress,
domain,
moneyFormat
moneyFormat,
};
},
});
......
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