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 @@ + + + \ 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