diff --git a/yudao-ui-admin/src/api/mall/promotion/coupon.js b/yudao-ui-admin/src/api/mall/promotion/coupon.js
new file mode 100755
index 000000000..d5a113b81
--- /dev/null
+++ b/yudao-ui-admin/src/api/mall/promotion/coupon.js
@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+// 删除优惠劵
+export function deleteCoupon(id) {
+ return request({
+ url: '/promotion/coupon/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得优惠劵分页
+export function getCouponPage(query) {
+ return request({
+ url: '/promotion/coupon/page',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/yudao-ui-admin/src/utils/dict.js b/yudao-ui-admin/src/utils/dict.js
index 786e41cfb..ddf5d07d7 100644
--- a/yudao-ui-admin/src/utils/dict.js
+++ b/yudao-ui-admin/src/utils/dict.js
@@ -63,7 +63,8 @@ export const DICT_TYPE = {
// ========== MALL - PROMOTION 模块 ==========
PROMOTION_DISCOUNT_TYPE: 'promotion_discount_type', // 优惠类型
PROMOTION_PRODUCT_SCOPE: 'promotion_product_scope', // 营销的商品范围
- COUPON_TEMPLATE_VALIDITY_TYPE: 'coupon_template_validity_type', // 优惠劵模板的有限期类型
+ PROMOTION_COUPON_TEMPLATE_VALIDITY_TYPE: 'promotion_coupon_template_validity_type', // 优惠劵模板的有限期类型
+ PROMOTION_COUPON_STATUS: 'promotion_coupon_status', // 优惠劵的状态
}
/**
diff --git a/yudao-ui-admin/src/views/mall/promotion/coupon/index.vue b/yudao-ui-admin/src/views/mall/promotion/coupon/index.vue
new file mode 100755
index 000000000..bcfe134a3
--- /dev/null
+++ b/yudao-ui-admin/src/views/mall/promotion/coupon/index.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.validStartTime) }}
+
+
+
+
+ {{ parseTime(scope.row.validEndTime) }}
+
+
+
+
+ {{ parseTime(scope.row.useTime) }}
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
diff --git a/yudao-ui-admin/src/views/mall/promotion/couponTemplate/index.vue b/yudao-ui-admin/src/views/mall/promotion/couponTemplate/index.vue
index 2b25bfa80..67f358468 100755
--- a/yudao-ui-admin/src/views/mall/promotion/couponTemplate/index.vue
+++ b/yudao-ui-admin/src/views/mall/promotion/couponTemplate/index.vue
@@ -117,7 +117,7 @@
- {{dict.label}}