From 4470663489b8e7a3774c8d45f5f8bee881d0f552 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期一, 18 十一月 2024 14:44:26 +0800
Subject: [PATCH] 添加loading

---
 src/components/page/IndexXTYH.vue |   35 +++++++++++++++++++----------------
 1 files changed, 19 insertions(+), 16 deletions(-)

diff --git a/src/components/page/IndexXTYH.vue b/src/components/page/IndexXTYH.vue
index 2e02aac..1e80da9 100644
--- a/src/components/page/IndexXTYH.vue
+++ b/src/components/page/IndexXTYH.vue
@@ -265,23 +265,26 @@
           this.dataLoading  = false
           this.payFlag = false
           if(!this.statisticData.enterTime) {  //娌℃湁鍏ュ満
-            this.isShowjiaofei = false
-            this.pipaiCarNumShow = true  //鍖归厤鍖哄煙鏄剧ず
-            this.$byutil.getData(this,this.$systemconfig.basePath + '/ffzf/outpark/getLikeCar',{outParkId:this.outParkId},res => {
-              if(res.code == 0) {
-                if(res.data.length > 0) {
-                  this.moreCarNumData = res.data.map(item => {
-                    return {
-                      ...item,
-                      createTime: this.$moment(item.createTime).format('YYYY-MM-DD HH:mm:ss')
-                    }
-                  })
-                }else {
-                  this.tishiDialogVisiable = true  //鍏ュ満淇℃伅 寮傚父鎻愮ず
+            if(this.statisticData.carNo =='_鏃燺' || this.statisticData.carNo=='鏃犺溅鐗�'){
+              this.isShowjiaofei = false
+            }else {
+              this.isShowjiaofei = false
+              this.pipaiCarNumShow = true  //鍖归厤鍖哄煙鏄剧ず
+              this.$byutil.getData(this,this.$systemconfig.basePath + '/ffzf/outpark/getLikeCar',{outParkId:this.outParkId},res => {
+                if(res.code == 0) {
+                  if(res.data.length > 0) {
+                    this.moreCarNumData = res.data.map(item => {
+                      return {
+                        ...item,
+                        createTime: this.$moment(item.createTime).format('YYYY-MM-DD HH:mm:ss')
+                      }
+                    })
+                  }else {
+                    this.tishiDialogVisiable = true  //鍏ュ満淇℃伅 寮傚父鎻愮ず
+                  }
                 }
-              }
-            })
-
+              })
+            }
           }else if(this.statisticData.enterTime && (!this.statisticData.price || this.statisticData.price == 0)) { //閲戦涓�0
             this.isShowjiaofei = false
             if(this.statisticData.carNo !='_鏃燺' && this.statisticData.carNo!='鏃犺溅鐗�') {

--
Gitblit v1.9.1