浏览代码

1. 修复时间搜索bug

MONSTER-ygh 1 年之前
父节点
当前提交
abcb88b701
共有 2 个文件被更改,包括 4 次插入1 次删除
  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