Commit 35952899 authored by Jennie Shi's avatar Jennie Shi

调整样式

parent eca98b12
......@@ -10,67 +10,65 @@
</div>
<div class="down-content">
<span>请上传照片</span>
<<<<<<< HEAD
<div v-if="!isReadOnly" class="photo" @click="ocrShow()">
=======
<div v-if="!isReadOnly" class="photo" @click="pickMethod()">
>>>>>>> bd6801eb470716e53e6e672ef73511511d752666
<img v-if="vehicleImg" :src="vehicleImg" alt="">
</div>
<div v-if="isReadOnly" class="photo">
<img :src="vehicleImg" @click="showBigPicture(vehicleImg)">
</div>
<list-item :item-height="44">
<item>
<div slot="name" class="required">车架号</div>
<input
slot="content"
v-model="rentInfo.frame_number"
:readonly="isReadOnly"
placeholder="自动识别车架号"
>
</item>
<item>
<div slot="name" class="required">发动机号</div>
<input slot="content" v-model="rentInfo.engine" :readonly="isReadOnly" placeholder="自动识别发动机号" >
</item>
<item>
<div slot="name" class="required">车辆型号</div>
<input
slot="content"
v-model="rentInfo.vehicle_model"
:readonly="isReadOnly"
placeholder="自动识别车辆型号"
>
</item>
<item>
<div slot="name" class="required">合格证编号</div>
<input
slot="content"
v-model="rentInfo.certificate_number"
:readonly="isReadOnly"
placeholder="自动识别合格证编号"
>
</item>
<item v-if="isReadOnly" class="date-check">
<div slot="name" class="required">发车日期</div>
<input slot="content" v-model="rentInfo.departure_date" readonly placeholder="请选择发车日期" >
</item>
<item v-if="!isReadOnly" class="date-check" @click.native="showTime1('YYYY-MM-DD')">
<div slot="name" class="required">发车日期</div>
<input slot="content" v-model="rentInfo.departure_date" :readonly="isReadOnly" placeholder="请选择发车日期" >
</item>
<item v-if="isReadOnly" class="date-check">
<div slot="name" class="required">开票日期</div>
<input slot="content" v-model="rentInfo.invoice_date" readonly placeholder="请选择开票日期" >
</item>
<item v-if="!isReadOnly" class="date-check" @click.native="showTime2('YYYY-MM-DD')">
<div slot="name" class="required">开票日期</div>
<input slot="content" v-model="rentInfo.invoice_date" :readonly="isReadOnly" placeholder="请选择开票日期" >
</item>
<button v-if="!isReadOnly" class="type-save" @click="saveRent()">保存</button>
</list-item>
</div>
<list-item :item-height="44">
<item>
<div slot="name" class="required">车架号</div>
<input
slot="content"
v-model="rentInfo.frame_number"
:readonly="isReadOnly"
placeholder="自动识别车架号"
>
</item>
<item>
<div slot="name" class="required">发动机号</div>
<input slot="content" v-model="rentInfo.engine" :readonly="isReadOnly" placeholder="自动识别发动机号" >
</item>
<item>
<div slot="name" class="required">车辆型号</div>
<input
slot="content"
v-model="rentInfo.vehicle_model"
:readonly="isReadOnly"
placeholder="自动识别车辆型号"
>
</item>
<item>
<div slot="name" class="required">合格证编号</div>
<input
slot="content"
v-model="rentInfo.certificate_number"
:readonly="isReadOnly"
placeholder="自动识别合格证编号"
>
</item>
<item v-if="isReadOnly" class="date-check">
<div slot="name" class="required">发车日期</div>
<input slot="content" v-model="rentInfo.departure_date" readonly placeholder="请选择发车日期" >
</item>
<item v-if="!isReadOnly" class="date-check" @click.native="showTime1('YYYY-MM-DD')">
<div slot="name" class="required">发车日期</div>
<input slot="content" v-model="rentInfo.departure_date" :readonly="isReadOnly" placeholder="请选择发车日期" >
</item>
<item v-if="isReadOnly" class="date-check">
<div slot="name" class="required">开票日期</div>
<input slot="content" v-model="rentInfo.invoice_date" readonly placeholder="请选择开票日期" >
</item>
<item v-if="!isReadOnly" class="date-check" @click.native="showTime2('YYYY-MM-DD')">
<div slot="name" class="required">开票日期</div>
<input slot="content" v-model="rentInfo.invoice_date" :readonly="isReadOnly" placeholder="请选择开票日期" >
</item>
<button v-if="!isReadOnly" class="type-save" @click="saveRent()">保存</button>
</list-item>
</div>
</div>
</div></transition>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment