Browse Source

1. 优化

MONSTER-ygh 1 year ago
parent
commit
ef8f4a5fa2

+ 5 - 0
src/views/officesale/ticketingSales.vue

@@ -141,6 +141,7 @@
   goodsPageList,
  } from '@/api/windowTicketSales/ticketingSales'
  import increaseViewers from "./model/increaseViewers"
+ import moment from "moment"
   export default {
     name: "distributionapplication",
     components: {
@@ -192,7 +193,11 @@
         this.merchantTheatreAuditoriumListFun()
         this.goodsPageListFun()
     },
+    mounted() {
+        this.$set(this.queryParams,'performDate',moment().format("yyyy-MM-DD"))
+    },
     methods: {
+        moment,
         /**  票务信息  */
         async goodsPageListFun(){
             try {

+ 5 - 0
src/views/windowTicketSales/ticketingSales.vue

@@ -141,6 +141,7 @@
   goodsPageList,
  } from '@/api/windowTicketSales/ticketingSales'
  import increaseViewers from "./model/increaseViewers"
+ import moment from "moment"
   export default {
     name: "distributionapplication",
     components: {
@@ -192,7 +193,11 @@
         this.merchantTheatreAuditoriumListFun()
         this.goodsPageListFun()
     },
+    mounted() {
+        this.$set(this.queryParams,'performDate',moment().format("yyyy-MM-DD"))
+    },
     methods: {
+        moment,
         /**  票务信息  */
         async goodsPageListFun(){
             try {