霸王餐,满减活动等问题修复
This commit is contained in:
@@ -128,7 +128,7 @@ export const useCartsStore = defineStore("cart", () => {
|
||||
|
||||
//积分规则
|
||||
const pointDeductionRule = ref({
|
||||
pointsPerYuan: 100,
|
||||
pointsPerYuan: 0,
|
||||
maxDeductionAmount: Infinity,
|
||||
});
|
||||
|
||||
@@ -606,7 +606,7 @@ export const useCartsStore = defineStore("cart", () => {
|
||||
dinnerType.value = "dine-in";
|
||||
userPoints.value = 0;
|
||||
fullReductionActivities.value = [];
|
||||
isFreeDine.value = false;
|
||||
isFreeDine.value = false;
|
||||
}
|
||||
|
||||
return {
|
||||
@@ -649,8 +649,8 @@ export const useCartsStore = defineStore("cart", () => {
|
||||
//清空配置
|
||||
clearOrderConfig,
|
||||
//满减活动
|
||||
fullReductionActivities,
|
||||
isFreeDine,//是否使用霸王餐
|
||||
fullReductionActivities,
|
||||
isFreeDine, //是否使用霸王餐
|
||||
// 商家霸王餐配置
|
||||
freeDineConfig,
|
||||
};
|
||||
|
||||
@@ -238,7 +238,6 @@ export const Memberpay = defineStore('memberpay', {
|
||||
placeNum: data.placeNum, //当前订单下单次数
|
||||
waitCall: data.waitCall //是否等叫 0 否 1 等叫
|
||||
})
|
||||
console.log('actionscreateOrder res:');
|
||||
console.log(res);
|
||||
if (res) {
|
||||
resolve(res)
|
||||
|
||||
Reference in New Issue
Block a user