diff --git a/src/views/demo/cashier/Cashier.vue b/src/views/demo/cashier/Cashier.vue
index ab69f10dc..0ce8012b5 100644
--- a/src/views/demo/cashier/Cashier.vue
+++ b/src/views/demo/cashier/Cashier.vue
@@ -94,6 +94,12 @@
+
-
{{ '¥ ' + totalMoney }}
-
立即支付
+
+ {{ '¥ ' + totalMoney }}
+ 立即支付
+
@@ -140,6 +148,7 @@
import { useIntervalFn } from '@vueuse/core'
import { payChannelEnum } from '/@/enums/payment/payChannelEnum'
import { payWayEnum } from '/@/enums/payment/payWayEnum'
+ import { Affix } from 'ant-design-vue'
const { createMessage } = useMessage()
@@ -151,6 +160,7 @@
// 业务单号
let businessNo = $ref('')
let title = $ref('测试支付')
+ let allocation = $ref(false)
let loading = $ref(false)
// 微信 h5
let wxH5Url = $ref('初始化中...')
@@ -339,6 +349,7 @@
async function aggregationQr() {
const param = {
businessNo,
+ allocation,
amount: totalMoney,
title: title,
}
@@ -362,6 +373,7 @@
const param = {
title: title,
businessNo,
+ allocation,
amount: totalMoney,
channel: payChannel,
payWay,
@@ -377,8 +389,9 @@
*/
async function qrPay(payChannel, payWay) {
const param = {
- title: title,
- businessNo: businessNo,
+ title,
+ businessNo,
+ allocation,
amount: totalMoney,
channel: payChannel,
payWay,
@@ -415,7 +428,7 @@
*/
function aggregationBarPay(authCode: string) {
const param = {
- title: title,
+ title,
amount: totalMoney,
businessNo,
authCode,