拆分admin分包,修复会员卡支付bug

This commit is contained in:
2024-07-16 00:14:30 +08:00
parent f3c18408d3
commit 8d682fbe81
13 changed files with 475 additions and 434 deletions
+4 -3
View File
@@ -180,7 +180,7 @@ import { useCarStore } from '@/store/modules/car';
import { useUserStore } from '@/store/modules/user';
const userStore = useUserStore();
const carStore = useCarStore();
const { merchantId, orderInfo, period, totalPrice, reducePrice, payPrice, childrenPrice, carNum, carNum2, merchant, type, dateTime } = storeToRefs(carStore);
const { merchantId, merchantCode, orderInfo, period, totalPrice, reducePrice, payPrice, childrenPrice, carNum, carNum2, merchant, type, dateTime } = storeToRefs(carStore);
export default {
data() {
@@ -197,6 +197,7 @@ export default {
// 场馆信息
merchant,
merchantId,
merchantCode,
orderInfo,
carNum,
carNum2: 0,
@@ -386,9 +387,9 @@ export default {
const app = this;
const { payPrice } = this
return new Promise((resolve, reject) => {
const { merchantId } = this;
const { merchantId,merchantCode } = this;
UserCardApi.findUseCard({
sid: merchantId,
sid: merchantCode,
payPrice
})
.then((result) => {