lilei 1 年之前
父節點
當前提交
cd0c78769a
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. 1 1
      public/version.json
  2. 4 3
      src/views/salesManagement/salesQuery/list.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1709017038339
+  "version": 1709083658864
 }

+ 4 - 3
src/views/salesManagement/salesQuery/list.vue

@@ -306,7 +306,6 @@ export default {
         this.spinning = true
         // 查询总计
         salesCount(Object.assign(parameter, this.queryParam)).then(res => {
-          console.log(res, 'res')
           this.totalData = Object.assign(this.totalData, res.data || {})
         })
         return salesList(Object.assign(parameter, this.queryParam)).then(res => {
@@ -574,7 +573,7 @@ export default {
       // 是否从首页点击进入
       const isHomeNav = this.getIsHomeNav()[this.$route.name]
       console.log(a, b)
-
+      console.log(isHomeNav)
       // 从首页进入,判断式新建还式待办查询
       if (isHomeNav) {
         // 新增
@@ -587,7 +586,9 @@ export default {
           this.resetData(true)
           this.queryParam = Object.assign(this.queryParam, isHomeNav.pageParams)
           this.$refs.rangeDate.resetDate([this.queryParam.beginDate, this.queryParam.endDate])
-          this.$refs.table.refresh(true)
+          setTimeout(() => {
+            this.$refs.table.refresh(true)
+          }, 100)
         }
       } else {
         // 如果是新页签打开,则重置当前页面