|
@@ -6,7 +6,6 @@ import { openPay, getOrderInfo, wxLogin } from '@/api/api'
|
|
|
import { useRoute } from 'vue-router'
|
|
|
import { GetRequest, getWeChatCode } from '@/utils/index'
|
|
|
import { useI18n } from 'vue-i18n'
|
|
|
-const payType = ref('0')
|
|
|
const route = useRoute()
|
|
|
const orderDetal = ref({
|
|
|
payStatus:0
|
|
@@ -15,6 +14,7 @@ const orderSn = ref(route.query.id || GetRequest('id'))
|
|
|
const { t } = useI18n()
|
|
|
const userStore = useUserStore();
|
|
|
const isEur = userStore.isEur
|
|
|
+const payType = ref(isEur?'5':'0')
|
|
|
const openId = computed(() => userStore.getOpenId);
|
|
|
const is_zfb = ref(false)
|
|
|
const is_weixn = ref(false)
|