819527061@qq.com
2025-01-07 2742b796c3181607b19f0c2b63c4465fd76193ee
src/components/page/MonthFeePay.vue
@@ -1,5 +1,5 @@
<template>
    <div class="weizhang-box">
    <div class="weizhang-box yuezucard-wrap">
      <div class="weizhang-main-top">
        <h1 class="title">月租车办理</h1>
      </div>
@@ -8,7 +8,7 @@
                <div class="weizhang-main-form">
                    <el-form label-width="100px" :model="statisticData" ref="statisticData" :rules="rules" label-position="left">
                        <el-form-item label="车牌号:" style="margin-left: 25px;" prop="carNo">
                            <el-input @focus="isShow=true" v-model="statisticData.carNo" ></el-input>
                            <el-input readonly @focus="isShow=true" v-model="statisticData.carNo" ></el-input>
                        </el-form-item>
                        <el-form-item label="手机号:" style="margin-left: 25px;" prop="phone">
                            <el-input v-model="statisticData.phone" ></el-input>
@@ -23,7 +23,7 @@
                          </el-select>
                        </el-form-item>
                      <el-form-item v-if="statisticData.allFlag == 0" label="停车场:" style="margin-left: 25px;" prop="parkId">
                        <el-select v-model="statisticData.parkId" @onchange="changePark">
                        <el-select v-model="statisticData.parkId" @change="changePark">
                          <el-option v-for="item in table1" :key="item.id" :label="item.name" :value="item.id + ''" ></el-option>
                        </el-select>
                      </el-form-item>
@@ -108,6 +108,9 @@
                statisticData:{
                  allFlag:0,
                  carNo:'',
                  parkId:'',
                  phone:'',
                  name:'',
                },
                showFlag:true,
                activeIndex:'',
@@ -300,8 +303,9 @@
              const dayDifference = Math.round(timeDifference / millisecondsPerDay); // 将毫秒数差值转换为天数
              return dayDifference;
          },
          changePark(){
          changePark(val){
            console.log(val,'改变停车场---')
            this.statisticData.parkId = val
          },
          changeAll(){
@@ -314,6 +318,15 @@
<style lang="scss">
.yuezucard-wrap{
  .el-form-item{
    margin-bottom: 2.5vw!important;
  }
  .el-input__inner{
    height: 5.33vw  /* 40/7.5 */;
    line-height: 5.33vw;
  }
}
    .weizhang-main-bootom{
        .el-input__inner{
            border:none;
@@ -410,8 +423,8 @@
    .title{
      font-size: 4.27vw  /* 32/7.5 */;
      font-weight: bolder;
      height: 10.67vw  /* 80/7.5 */;
      line-height: 10.67vw  /* 80/7.5 */;
      height: 11.73vw  /* 88/7.5 */;
      line-height: 11.73vw  /* 88/7.5 */;
    }
    .money{
        font-size: 6.93vw  /* 52/7.5 */;