diff --git a/pages-order/addOrder/addOrder.vue b/pages-order/addOrder/addOrder.vue index 01ab311..68616ba 100644 --- a/pages-order/addOrder/addOrder.vue +++ b/pages-order/addOrder/addOrder.vue @@ -192,6 +192,24 @@ + + + 最近保养日期 + + + {{ formData.maintenanceDate}} + + + + + 最近保养公里数 + + + 保险名称 @@ -355,6 +373,7 @@ export default { this.pageData = data this.formData.inTime = formatDate(Date.now()) this.formData.outTime = formatDate(Date.now()) + this.formData.maintenanceDate = formatDate(Date.now()) this.ticketNo = this.createUniqueCodeByHead('GD') if (data.phone) { this.phone = data.phone @@ -371,6 +390,10 @@ export default { bindDateChange1(e) { this.formData.inTime = e.target.value; // 更新选择的日期到data中的date变量 }, + // 日期选择 事件 + bindDateChange3(e) { + this.formData.maintenanceDate = e.target.value; // 更新选择的日期到data中的date变量 + }, // 日期选择 事件 bindDateChange2(e) {