-
-
-
- {{ scope.row.classType | classTypeFilter }}
-
-
+
+
{{ scope.row.type | typeFilter }}
-
-
-
-
-
-
+
{{ scope.row.effectType | effectTypeFilter }}
-
-
-
+
+
+
+
+
+
-
-
- {{ scope.row.name }}
-
+ 编辑
+
+ 删除
+
@@ -52,7 +53,7 @@
-
-
\ No newline at end of file
diff --git a/src/views/application/components copy/wine/record.vue b/src/views/application/components copy/wine/record.vue
deleted file mode 100644
index 7e4ada5..0000000
--- a/src/views/application/components copy/wine/record.vue
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
- 添加酒品
-
-
-
-
-
- 查询
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ scope.row.name }}
-
-
-
-
-
- {{ scope.row.unit }}
-
-
-
-
-
- 手动导入
- 商品导入
-
-
-
-
-
- 存酒
- 编辑
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/application/components copy/winestorage/addModal.vue b/src/views/application/components copy/winestorage/addModal.vue
deleted file mode 100644
index c7c0b84..0000000
--- a/src/views/application/components copy/winestorage/addModal.vue
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/application/components copy/winestorage/historyModal.vue b/src/views/application/components copy/winestorage/historyModal.vue
deleted file mode 100644
index 41961be..0000000
--- a/src/views/application/components copy/winestorage/historyModal.vue
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/application/components copy/winestorage/record.vue b/src/views/application/components copy/winestorage/record.vue
deleted file mode 100644
index 4837e0b..0000000
--- a/src/views/application/components copy/winestorage/record.vue
+++ /dev/null
@@ -1,166 +0,0 @@
-
-
-
-
-
- 添加存酒
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 重置
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.telphone }}
-
-
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
- {{ scope.row.num }}({{ scope.row.unit }})
-
-
-
-
-
-
- {{
- statusList.find(item => item.value === scope.row.status).label }}
-
-
-
-
-
- 查看记录
- 已取完
- 取酒
- 已过期
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/application/components copy/winetotal/winetotal.vue b/src/views/application/components copy/winetotal/winetotal.vue
deleted file mode 100644
index 5a57a65..0000000
--- a/src/views/application/components copy/winetotal/winetotal.vue
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/coupon_manage/add_coupon.vue b/src/views/coupon_manage/add_coupon.vue
index 25d5dea..d253601 100644
--- a/src/views/coupon_manage/add_coupon.vue
+++ b/src/views/coupon_manage/add_coupon.vue
@@ -1,271 +1,350 @@
+
-
-
-
-
-
-
-
-
-
-
- 满
- 元
-
-
- 减
- 元
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
-
- 隔
- 天生效
-
-
-
-
- {{city.label}}
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 全额满元可用
-
-
-
-
- 添加
-
-
-
-
{{ item.name }}
-
-
删除
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 满
+ 元
+
+
+ 减
+ 元
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+ {{ city.label }}
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 全额满元可用
+
+
+
+
+ 添加
+
+
+
+
{{ item.name }}
+
+
删除
+
+
+
+
+
+
+
+
+
@@ -296,7 +375,7 @@ export default {
background-color: #3F9EFF;
}
}
-
+
}
.content{
font-weight: 400;
@@ -325,4 +404,4 @@ export default {
}
}
}
-
\ No newline at end of file
+
diff --git a/src/views/coupon_manage/components/coupon_details.vue b/src/views/coupon_manage/components/coupon_details.vue
index b0fb115..1e7f88b 100644
--- a/src/views/coupon_manage/components/coupon_details.vue
+++ b/src/views/coupon_manage/components/coupon_details.vue
@@ -4,10 +4,10 @@
-
+
-
+
查询
-
+
@@ -41,19 +42,32 @@
-
-
-
-
-
-
-
+
+
+
+
+
-
- {{ scope.row.orderCount }}
+
+
未使用
+
{{ scope.row.overNum }}/{{ scope.row.num }}
+
已使用
+
+
+
+
+ 删除
+
+
+
@@ -62,35 +76,98 @@
\ No newline at end of file
+
From f68cf9fab0e8d43479e9b33fbfb870fd315b9d0b Mon Sep 17 00:00:00 2001
From: GaoHao <1210693421@qq.com>
Date: Thu, 31 Oct 2024 09:30:18 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/coupon_details.vue | 36 ++++++++++++++++---
1 file changed, 32 insertions(+), 4 deletions(-)
diff --git a/src/views/coupon_manage/components/coupon_details.vue b/src/views/coupon_manage/components/coupon_details.vue
index 1e7f88b..e36e8ba 100644
--- a/src/views/coupon_manage/components/coupon_details.vue
+++ b/src/views/coupon_manage/components/coupon_details.vue
@@ -38,8 +38,8 @@
-
-
+
+
@@ -71,6 +71,16 @@
+
+
+
@@ -101,7 +111,13 @@ export default {
size: 10
},
resetQuery: null,
- tableData: null
+ tableData: {
+ data: [],
+ page: 0,
+ size: 10,
+ loading: false,
+ total: 0
+ }
}
},
mounted() {
@@ -126,6 +142,9 @@ export default {
page: this.query.page,
size: this.query.size
})
+ this.tableData.loading = false
+ this.tableData.data = res.content
+ this.tableData.total = res.totalElements
},
/**
@@ -157,7 +176,16 @@ export default {
this.query.couponId = obj.id
this.getTableData()
},
-
+ // 分页大小改变
+ sizeChange(e) {
+ this.tableData.size = e
+ this.getTableData()
+ },
+ // 分页回调
+ paginationChange(e) {
+ this.tableData.page = e - 1
+ this.getTableData()
+ },
/**
* 关闭详情
*/