瀏覽代碼

fix(ticketManagement): 修复优惠券适用描述显示问题

- 修改了优惠券详情页适用范围描述的显示逻辑
- 当适用类型为2时,直接返回applyDesc字段值
- 移除了不必要的"除...外全场通用"前缀格式化
- 确保优惠券适用描述准确反映实际业务规则
congxuesong 2 周之前
父節點
當前提交
3743aef438
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/ticketManagement/detail.vue

+ 1 - 1
src/views/ticketManagement/detail.vue

@@ -427,7 +427,7 @@ const getApplyScopeText = () => {
     return "全场通用";
   } else if (voucherModel.value.applyType === "2" || voucherModel.value.applyType == 2) {
     if (voucherModel.value.applyDesc) {
-      return `${voucherModel.value.applyDesc}外全场通用`;
+      return `${voucherModel.value.applyDesc}`;
     }
     return "全场通用";
   }