【缺陷修复】购物车同时结算两个商品,一个仅支持门店自提,一个仅支持快递发货,就会无法结算

This commit is contained in:
puhui999
2024-12-09 11:57:00 +08:00
parent 25fc972833
commit 8ac9f2714f
3 changed files with 207 additions and 174 deletions
+5 -1
View File
@@ -119,7 +119,11 @@ export const PromotionActivityTypeEnum = {
name: '积分商城',
},
};
/** 配送方式枚举 */
export const DeliveryTypeEnum = {
EXPRESS: { type: 1, name: '快递发货' },
PICK_UP: { type: 2, name: '用户自提' },
};
export const getTimeStatusEnum = (startTime, endTime) => {
const now = dayjs();
if (now.isBefore(startTime)) {