From 890d5b5b8a3f3fcdf14204910dc67671fcdc6243 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期二, 07 一月 2025 17:02:17 +0800
Subject: [PATCH] feat: 修改月租车页面
---
src/components/page/MonthFeePay.vue | 34 ++++++++++++++++++++++++----------
1 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/src/components/page/MonthFeePay.vue b/src/components/page/MonthFeePay.vue
index 9f59340..964c063 100644
--- a/src/components/page/MonthFeePay.vue
+++ b/src/components/page/MonthFeePay.vue
@@ -1,14 +1,14 @@
<template>
- <div class="weizhang-box">
- <div class="weizhang-main-top">
- <h1 class="title">鏈堢杞﹀姙鐞�</h1>
- </div>
+ <div class="weizhang-box yuezucard-wrap">
+<!-- <div class="weizhang-main-top">-->
+<!-- <h1 class="title">鏈堢杞﹀姙鐞�</h1>-->
+<!-- </div>-->
<div class="weizhang-main-box">
<div class="weizhang-main-bootom">
<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:'',
@@ -149,6 +152,7 @@
}
},
created(){
+ document.title = "鏈堢杞﹀姙鐞�";
var url = window.location.href;
var cs = url.split('?')[1];
var cs_arr = cs.split('&');
@@ -300,8 +304,9 @@
const dayDifference = Math.round(timeDifference / millisecondsPerDay); // 灏嗘绉掓暟宸�艰浆鎹负澶╂暟
return dayDifference;
},
- changePark(){
-
+ changePark(val){
+ console.log(val,'鏀瑰彉鍋滆溅鍦�---')
+ this.statisticData.parkId = val
},
changeAll(){
@@ -314,6 +319,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 +424,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 */;
--
Gitblit v1.9.1