Parcourir la source

1. 修复时间搜索bug

MONSTER-ygh il y a 1 an
Parent
commit
abcb88b701
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 3 0
      src/views/order/groupBuyingMr/index.vue
  2. 1 1
      src/views/order/viewers/index.vue

+ 3 - 0
src/views/order/groupBuyingMr/index.vue

@@ -352,6 +352,9 @@ export default {
       if(this.queryParams.time){
         this.queryParams.beginTime = this.queryParams.time[0];
         this.queryParams.endTime = this.queryParams.time[1];
+      }else{
+        this.queryParams.beginTime = null
+        this.queryParams.endTime = null
       }
       this.getList();
     },

+ 1 - 1
src/views/order/viewers/index.vue

@@ -390,7 +390,7 @@ export default {
     async pagePerformTimeListFun(value) {
       try {
         this.pagePerformTimeList = []
-        this.$set(this.queryParams, 'timeSnapshot', null)
+        this.$set(this.queryParams, 'performTimeId', null)
         if (!value) {
 
           return