From 58b9fddd050ee983667446d612a59097c8f8ee62 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期三, 16 十月 2024 17:46:31 +0800
Subject: [PATCH] 无车牌的逻辑判断

---
 src/components/page/IndexXTYH.vue |   67 +++++++++++++++++++++++----------
 1 files changed, 47 insertions(+), 20 deletions(-)

diff --git a/src/components/page/IndexXTYH.vue b/src/components/page/IndexXTYH.vue
index 1c59692..39ed77d 100644
--- a/src/components/page/IndexXTYH.vue
+++ b/src/components/page/IndexXTYH.vue
@@ -37,22 +37,22 @@
               <el-button class="jiaofei-btn" type="primary" @click="pay()" :loading="payFlag">鍘荤即璐�</el-button>
             </el-form-item>
           </el-form>
-          <!--                  <el-form-->
-          <!--                      class="carSearch"-->
-          <!--                      label-position="left">-->
-          <!--                    <el-form-item-->
-          <!--                        class='formLabel'-->
-          <!--                        style="display: flex;-->
-          <!--                            flex-direction: column;align-items: center;justify-content: center"-->
-          <!--                        label="鏃� 鐗� 杞� 杈� 鏌� 璇�">-->
-          <!--                      <el-input prefix-icon="el-icon-search" style="margin-top: 20px;border: solid 1px #ccc!important;" v-model="carNo" placeholder="璇疯緭鍏ユ墜鏈哄彿"></el-input>-->
-          <!--                    </el-form-item>-->
-          <!--&lt;!&ndash;                    <el-form-item class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 5.498vh" label-width="0">&ndash;&gt;-->
-          <!--&lt;!&ndash;                      <el-button&ndash;&gt;-->
-          <!--&lt;!&ndash;                          style="borderColor:'none';background:#121215e0 "&ndash;&gt;-->
-          <!--&lt;!&ndash;                          class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">鏌ヨ</el-button>&ndash;&gt;-->
-          <!--&lt;!&ndash;                    </el-form-item>&ndash;&gt;-->
-          <!--                  </el-form>-->
+          <el-form
+              class="carSearch"
+              label-position="left">
+            <el-form-item
+                class='formLabel'
+                style="display: flex;
+                            flex-direction: column;align-items: center;justify-content: center"
+                label="鏃� 鐗� 杞� 杈� 鏌� 璇�">
+              <el-input prefix-icon="el-icon-search" style="margin-top: 20px;border: solid 1px #ccc!important;" v-model="carNo" placeholder="璇疯緭鍏ユ墜鏈哄彿"></el-input>
+            </el-form-item>
+            <el-form-item class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 5.498vh" label-width="0">
+              <el-button
+                  style="borderColor:'none';background:#121215e0 "
+                  class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">鏌ヨ</el-button>
+            </el-form-item>
+          </el-form>
 
         </div>
 
@@ -284,7 +284,9 @@
 
           }else if(this.statisticData.enterTime && (!this.statisticData.price || this.statisticData.price == 0)) { //閲戦涓�0
             this.isShowjiaofei = false
-            this.tishiDialogVisiable2 = true
+            if(!this.statisticData.carNo.includes('鏃�')) {
+              this.tishiDialogVisiable2 = true
+            }
           }else {
             this.isShowjiaofei = true
           }
@@ -555,8 +557,6 @@
   }
   .el-form-item__label{
     font-size: 3.73vw  /* 28/7.5 */;
-    width: 21.33vw  /* 160/7.5 */
-    !important;
     line-height: 2.5;
   }
   .el-form-item__content{
@@ -706,7 +706,17 @@
     }
   }
 }
-
+.weizhang-footer-box{
+  .el-form-item__content{
+    width: 100%;
+    display: flex;
+    justify-content: center;
+  }
+  .el-button--small{
+    padding: 11px 15px;
+    font-size: 0.347rem  /* 26/75 */;
+  }
+}
 
 
 </style>
@@ -921,4 +931,21 @@
   display: flex;
   justify-content: space-between;
 }
+.formLabel{
+  ::v-deep .el-form-item__label{
+    font-size: 18px;
+  }
+  ::v-deep el-input{
+    border: solid 1px #ccc!important;
+
+  }
+
+}
+.carSearch{
+  border:solid 1px #ccc;
+  margin-top: 15%;
+  border-radius: 4%;
+  box-shadow: 0px 0px 0px 10px;
+
+}
 </style>

--
Gitblit v1.9.1