Commit b29d479a authored by 黄奎's avatar 黄奎

页面修改

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