1
This commit is contained in:
parent
0804ab8485
commit
f3161b34df
@ -192,6 +192,24 @@
|
|||||||
<input type="text" style="text-align: left" v-model="formData.threePackUnits" placeholder="请填写三包单位"/>
|
<input type="text" style="text-align: left" v-model="formData.threePackUnits" placeholder="请填写三包单位"/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view style="display: flex;align-items: center">
|
||||||
|
<view class="infoItem" style="flex: 1">
|
||||||
|
<text class="label">最近保养日期</text>
|
||||||
|
<picker
|
||||||
|
mode="date"
|
||||||
|
:value="formData.maintenanceDate"
|
||||||
|
start="2020-01-01"
|
||||||
|
@change="bindDateChange3">
|
||||||
|
<view style="margin-left: 10rpx">
|
||||||
|
{{ formData.maintenanceDate}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<view class="infoItem" style="flex: 1">
|
||||||
|
<text class="label">最近保养公里数</text>
|
||||||
|
<input type="text" style="text-align: left" v-model="formData.maintenanceMileage" placeholder="请填写最近保养公里数"/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view style="display: flex;align-items: center">
|
<view style="display: flex;align-items: center">
|
||||||
<view class="infoItem" style="flex: 1">
|
<view class="infoItem" style="flex: 1">
|
||||||
<text class="label">保险名称</text>
|
<text class="label">保险名称</text>
|
||||||
@ -355,6 +373,7 @@ export default {
|
|||||||
this.pageData = data
|
this.pageData = data
|
||||||
this.formData.inTime = formatDate(Date.now())
|
this.formData.inTime = formatDate(Date.now())
|
||||||
this.formData.outTime = formatDate(Date.now())
|
this.formData.outTime = formatDate(Date.now())
|
||||||
|
this.formData.maintenanceDate = formatDate(Date.now())
|
||||||
this.ticketNo = this.createUniqueCodeByHead('GD')
|
this.ticketNo = this.createUniqueCodeByHead('GD')
|
||||||
if (data.phone) {
|
if (data.phone) {
|
||||||
this.phone = data.phone
|
this.phone = data.phone
|
||||||
@ -371,6 +390,10 @@ export default {
|
|||||||
bindDateChange1(e) {
|
bindDateChange1(e) {
|
||||||
this.formData.inTime = e.target.value; // 更新选择的日期到data中的date变量
|
this.formData.inTime = e.target.value; // 更新选择的日期到data中的date变量
|
||||||
},
|
},
|
||||||
|
// 日期选择 事件
|
||||||
|
bindDateChange3(e) {
|
||||||
|
this.formData.maintenanceDate = e.target.value; // 更新选择的日期到data中的date变量
|
||||||
|
},
|
||||||
|
|
||||||
// 日期选择 事件
|
// 日期选择 事件
|
||||||
bindDateChange2(e) {
|
bindDateChange2(e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user