feat(custom): 地图apiKey更换,订单核销详情新增支付方式
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-05-29 15:45:16 +08:00
parent 92d7bf1933
commit 896acaef9e
70 changed files with 408 additions and 376 deletions

View File

@@ -66,8 +66,8 @@
item.number > 0
? `可用积分:${item.number}`
: item.name.includes('微信')
? '微信全额支付'
: ''
? '微信全额支付'
: ''
"
@click="cellClick(item.ID)">
<template #icon>
@@ -95,10 +95,10 @@
<script setup lang="ts">
import Taro from '@tarojs/taro';
import {IconFont} from '@nutui/icons-vue-taro';
import {onUnmounted, ref} from 'vue';
import {getActiveOrderDetail, getPayList} from '@/api/goods';
import {payOrder} from '@/api/order';
import { IconFont } from '@nutui/icons-vue-taro';
import { onUnmounted, ref } from 'vue';
import { getActiveOrderDetail, getPayList } from '@/api/goods';
import { payOrder } from '@/api/order';
import * as dayjs from 'dayjs';
const payVal = ref();
@@ -114,7 +114,7 @@ const isLoading = ref(false);
const opt = ref<any>({});
Taro.useLoad(e => {
const {oid, bid, OrderType} = e;
const { oid, bid, OrderType } = e;
opt.value = e;
get_pay_list();
getData(oid, bid, OrderType);
@@ -176,7 +176,7 @@ const pay = async () => {
if (isLoading.value) return;
isLoading.value = true;
if (!payVal.value)
return Taro.showToast({title: '请选择支付方式', icon: 'none'});
return Taro.showToast({ title: '请选择支付方式', icon: 'none' });
await confirmPay();
} catch (error) {
Taro.showToast({