From 33c3ff49ad1d6a0607a9abd9f66164a6eb084ccd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BD=99=E5=90=8C=E5=AD=A6?= <2495967527@qq.com>
Date: Tue, 31 Dec 2024 18:01:08 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/coupon/index.vue | 10 +-
.../modules/coupon/popup/view-details.vue | 188 +++++++++
.../operation-management/order/index.vue | 112 ++---
.../order/popup/view-details.vue | 256 +++++++++++-
src/views/modules/presale/products/index.vue | 31 +-
.../presale/products/popup/view-products.vue | 384 ++++++++++++++++++
6 files changed, 882 insertions(+), 99 deletions(-)
create mode 100644 src/views/modules/coupon/popup/view-details.vue
create mode 100644 src/views/modules/presale/products/popup/view-products.vue
diff --git a/src/views/modules/coupon/index.vue b/src/views/modules/coupon/index.vue
index a3d4bf0..f518b92 100644
--- a/src/views/modules/coupon/index.vue
+++ b/src/views/modules/coupon/index.vue
@@ -105,7 +105,7 @@
-
+
@@ -114,9 +114,9 @@ import { mapState } from "vuex";
import fullReductio from "./popup/full-reduction.vue";
import AddOrUpdate from "./popup/add-or-update.vue";
import newPowder from "./popup/new-powder.vue";
-// import viewDetails from "./popup/view-details.vue";
+import viewDetails from "./popup/view-details.vue";
export default {
- components: { AddOrUpdate, fullReductio, newPowder },
+ components: { AddOrUpdate, fullReductio, newPowder, viewDetails },
data() {
return {
dataList: [],
@@ -406,9 +406,9 @@ export default {
type: "jsx",
align: "center",
width: "140px",
- render: (row) => {
+ render: ({ row }) => {
let edit = () => {
- // this.$refs.viewDetails.toggle(row).update();
+ this.$refs.viewDetails.toggle(row).update();
};
return (
diff --git a/src/views/modules/coupon/popup/view-details.vue b/src/views/modules/coupon/popup/view-details.vue
new file mode 100644
index 0000000..15a2361
--- /dev/null
+++ b/src/views/modules/coupon/popup/view-details.vue
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+ {{ ruleForm.name }}
+
+
+
+ {{ getCategory(ruleForm.category) }}
+
+
+
+ {{ ruleForm.money }}
+
+
+
+
+
+ {{ ruleForm.minPrice }}
+
+
+
+ {{ ruleForm.limitedNum }}
+
+
+
+ {{ ruleForm.total }}
+
+
+
+
+
+ {{ ruleForm.lastTotal }}
+
+
+
+ {{ ruleForm.receiveStartTime }}
+
+
+
+ {{ ruleForm.receiveEndTime }}
+
+
+
+
+
+ {{ ruleForm.useStartTime }}
+
+
+
+ {{ ruleForm.useEndTime }}
+
+
+
+ {{ ruleForm.status == 1 ? "开启" : "结束" }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/operation-management/order/index.vue b/src/views/modules/operation-management/order/index.vue
index da6f56b..50cd033 100644
--- a/src/views/modules/operation-management/order/index.vue
+++ b/src/views/modules/operation-management/order/index.vue
@@ -1,52 +1,52 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
- 查询
+
+
+
+
+
- 重置
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file