Hwt hace 2 años
padre
commit
f44d659e7e

+ 4 - 2
smart/src/views/accessRecord/setpPage/details.vue

@@ -5,8 +5,9 @@
         <el-carousel
           :interval="5000"
           height="400px"
-          arrow="always"
+          :arrow="this.vehiclePicture.length == 1 ?   never : always"
         >
+          <!-- :arrow="this.vehiclePicture.length != 1 ? always : never" -->
           <el-carousel-item
             v-for="item in vehiclePicture"
             :key="item"
@@ -122,7 +123,8 @@ export default {
                       : '相机缓慢放行';
 
     debugger
-    this.vehiclePicture.push(this.params.row.imgInfo)
+    this.vehiclePicture.push(this.params.row.imgInfo);
+    console.log('555', this.vehiclePicture.length)
 
   }
 }

+ 1 - 1
smart/src/views/onSiteVehicles/setpPage/details.vue

@@ -5,7 +5,7 @@
         <el-carousel
           :interval="5000"
           height="400px"
-          arrow="always"
+          :arrow="this.vehiclePicture.length == 1 ?   never : always"
         >
           <el-carousel-item
             v-for="item in vehiclePicture"

+ 21 - 14
smart/src/views/vehicleInformation/setpPage/details.vue

@@ -102,46 +102,57 @@
               <el-option
                 label="临时车"
                 value="0"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="VIP车"
                 value="1"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="月租车"
                 value="2"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="充值车"
                 value="3"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="时租车"
                 value="4"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="产权车"
                 value="5"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="计次车"
                 value="6"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="贵宾卡"
                 value="7"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="员工卡"
                 value="8"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="大客车"
                 value="9"
+                @click.native="carTypes"
               ></el-option>
               <el-option
                 label="预约车"
                 value="100"
+                @click.native="carTypes"
               ></el-option>
             </el-select>
           </el-form-item>
@@ -219,7 +230,7 @@
               <el-form-item
                 prop="parkingArea"
                 ref="againValue"
-                style="float: left;"
+                style="float: left; margin: 0 auto;"
               >
 
                 <el-select
@@ -316,11 +327,12 @@
 
               <el-col
                 :span="10"
-                style="float: left;"
+                style="float: left; margin: 0 auto;"
               >
                 <el-form-item
                   prop="againInput"
                   ref="againInput"
+                  style="float: left; margin: 0 auto;"
                 >
 
                   <el-select v-model="parkingSpaceSetting[scope.$index].licensePlate">
@@ -336,19 +348,12 @@
                   </el-select>
                 </el-form-item>
               </el-col>
-              <el-col
-                :span="12"
-                style="float: left;"
-              >
-                <!-- <el-form-item
-                  prop="againInput"
-                  ref="againInput"
-                > -->
-                <!-- <input  ref="searchInput" v-focus>
- -->
+              <el-col :span="12">
+
                 <el-form-item
                   prop="againLicense"
                   ref="againLicense"
+                  style="float: left; margin: 0 auto;"
                 >
                   <el-input
                     placeholder="车牌号"
@@ -361,8 +366,6 @@
                   </el-input>
                 </el-form-item>
 
-                <!-- </el-form-item> -->
-
               </el-col>
             </template>
           </el-table-column>
@@ -689,6 +692,10 @@ export default {
     };
   },
   methods: {
+    carTypes () {
+      // alert(1)
+      this.formDate.ruleId = ''
+    },
     // 车牌号
     // @input="parkingSpace()"
     // @blur="Setting()"

+ 5 - 4
smart/src/views/vehicleInformation/setpPage/native.vue

@@ -95,7 +95,6 @@ export default {
           this.Information = data.name;
         }
       }
-      debugger
       this.value = this.checkedData.value;
       console.log("checked data", data, this.checkedData)
       this.Information = this.checkedData.name
@@ -103,10 +102,12 @@ export default {
 
     },
     submit () {
+      if (this.Information != undefined) {
+        this.positionInformation.push({ positionInformation: this.Information, id: this.id, value: this.value });
+        this.params.callback(this.positionInformation);
+        this.$emit('close');
+      }
 
-      this.positionInformation.push({ positionInformation: this.Information, id: this.id, value: this.value });
-      this.params.callback(this.positionInformation);
-      this.$emit('close');
     },
 
     filterTreeData (trData) {

+ 14 - 3
smart/src/views/vehicleInformation/setpPage/recharge.vue

@@ -124,7 +124,10 @@
           </el-col>
           <!-- 收费金额 -->
           <el-col :span="24">
-            <el-col :span="4">收费金额 </el-col>
+            <el-col
+              :span="4"
+              style="margin-right: 5px;"
+            >收费金额 </el-col>
             <el-col :span="17">
               <el-input
                 :placeholder="chargeAmount"
@@ -145,7 +148,7 @@
             >*</el-col>
             <el-col
               :span="4"
-              style="margin-right: -5px;"
+              style="margin-right: -2px;"
             >支付方式</el-col>
             <el-col :span="17">
               <el-form-item
@@ -462,7 +465,7 @@ h3 {
     font-size: 16px !important;
 }
 .el-col {
-    margin-top: 10px !important;
+    margin-top: 5px !important;
     line-height: 30px;
 }
 // .el-select {
@@ -479,4 +482,12 @@ h3 {
 /deep/.el-form-item__content {
     margin-left: 0px !important;
 }
+
+.formContent-item_title {
+    margin-bottom: 0 !important;
+}
+.el-date-editor.el-input,
+.el-date-editor.el-input__inner {
+    width: 332px !important;
+}
 </style>