拆分admin分包,修复会员卡支付bug
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user