Commit 94e8e224 authored by 吴春's avatar 吴春

币种显示

parent c1a7b048
......@@ -386,7 +386,7 @@
cars[0].Hotels[0].DetailList.length > 0
"
>
<span class="fz14"> {{ cars[0].Hotels[0].DetailList[0].CurrencyName }}</span>
<span class="fz14"> {{ cars[0].Hotels[0].DetailList[0].CurrencyCode }}</span>
</template>
</div>
<div
......
......@@ -108,7 +108,7 @@
<span class="din">{{ item.UPriceFormat }}</span>
<span class="text-dark" style="font-size: 12px">
<template v-if="b2bUserInfo && b2bUserInfo.groupId != 2">
{{ item.CurrencyName }}
{{ item.CurrencyCode }}
</template>
/{{ $t("unit.ren") }}</span
>
......@@ -437,6 +437,7 @@ export default defineComponent({
PriceInTangTax: tempPrice.PriceInTangTax,
HotelName: data.HotelRow.HotelName,
CurrencyName: tempPrice.CurrencyName,
CurrencyCode: tempPrice.CurrencyCode,
};
data.parameters.DetailList.push(dataMsg);
}
......
......@@ -129,7 +129,15 @@
<div class="f12 text-grey">{{ $t('hotelorder.orderMoney') }}</div>
<div class="dark q-ml-xl">
<span class="din text-subtitle1">{{ moneyFormat(x.Money) }}</span>
<span class="f12">{{ x.CurrencyCode }}</span>
<span class="text-weight-thin">{{ $t("hotel.groupPrice") }}:</span>
<template v-if="b2bUserInfo && b2bUserInfo.groupId == 2">
<span class="f12">{{$t('unit.jp')}}</span>
</template>
<template v-if="b2bUserInfo && b2bUserInfo.groupId != 2">
<span class="f12">{{order.CurrencyCode}}</span>
</template>
</div>
</div>
<div class="row items-center justify-between q-mb-sm q-pb-sm" style="border-bottom: 1px dashed #ddd"
......@@ -137,7 +145,12 @@
<div class="f12 text-grey">{{ $t('v102.ticket.sjc.c6') }}</div>
<div class="dark">
<span class="f12">{{ moneyFormat(x.MailingMoney) }}</span>
<span class="f12">{{ x.CurrencyCode }}</span>
<template v-if="b2bUserInfo && b2bUserInfo.groupId == 2">
<span class="f12">{{$t('unit.jp')}}</span>
</template>
<template v-if="b2bUserInfo && b2bUserInfo.groupId != 2">
<span class="f12">{{order.CurrencyCode}}</span>
</template>
</div>
</div>
<div class="text-right">
......@@ -171,7 +184,12 @@
<div class="f12 text-green-4">{{ $t('hotelorder.payed') }}</div>
<div class="text-subtitle1 din text-green-14">
{{ x.Income.toFixed(2) }}
<span class="text-green-4 f12">{{ x.CurrencyCode }}</span>
<template v-if="b2bUserInfo && b2bUserInfo.groupId == 2">
<span class="text-green-4 f12">{{$t('unit.jp')}}</span>
</template>
<template v-if="b2bUserInfo && b2bUserInfo.groupId != 2">
<span class="text-green-4 f12">{{order.CurrencyCode}}</span>
</template>
<!-- <span class="text-green-4 f12">{{ $t('unit.jp') }}</span> -->
</div>
</div>
......@@ -229,7 +247,7 @@ export default defineComponent({
data.orders = []
methods.initOrders()
})
const b2bUserInfo = getStoreGetter<UserGetter>("user", "getUser");
const data = reactive({
PaymentDialog: false,
orders: [] as Array<any>,
......@@ -348,6 +366,7 @@ export default defineComponent({
methods.init()
return {
...toRefs(data),
b2bUserInfo,
...methods,
moneyFormat
}
......
......@@ -22,7 +22,12 @@
</div>
<div class="text-negative text-weight-bolder din">
<span class="text-weight-thin">{{ $t("hotel.car.sumPrice") }}</span>
<template v-if="b2bUserInfo && b2bUserInfo.groupId == 2">
<span class="fz14">{{$t('unit.jp')}}</span>
</template>
<template v-if="b2bUserInfo && b2bUserInfo.groupId != 2">
<span class="fz14">{{order.CurrencyCode}}</span>
</template>
<span class="text-h6">{{ moneyFormat(order.Money) }}</span>
</div>
<div :class="{ 'text-right q-mt-sm': $q.platform.is.mobile }">
......@@ -319,8 +324,13 @@
style="border-top: 1px dashed #607d8b33"
>
<span class="text-weight-thin">{{ $t("hotel.groupPrice") }}:</span>
<!-- <span class="fz14">円</span> -->
<span class="fz14">{{order.CurrencyCode}}</span>
<template v-if="b2bUserInfo && b2bUserInfo.groupId == 2">
<span class="fz14">{{$t('unit.jp')}}</span>
</template>
<template v-if="b2bUserInfo && b2bUserInfo.groupId != 2">
<span class="fz14">{{order.CurrencyCode}}</span>
</template>
<span class="text-subtitle1">{{ moneyFormat(y.HotelMoeny) }}</span>
</div>
</div>
......@@ -421,7 +431,7 @@ export default defineComponent({
const TCNumRef = ref(null) as any;
const ContactNameRef = ref(null) as any;
const ContactNumberRef = ref(null) as any;
const b2bUserInfo = getStoreGetter<UserGetter>("user", "getUser");
const search = reactive({
HotelChooseArray: [],
StartDate: "2022/11/25",
......@@ -749,6 +759,7 @@ export default defineComponent({
methods.initOrderDetails();
return {
...toRefs(data),
b2bUserInfo,
...methods,
moneyFormat,
TCNumRef,
......
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