From ae478a3d5dab28dd598d39f27429e4a544b15ad2 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 25 十二月 2025 22:48:06 +0800
Subject: [PATCH] feat:已完成时,检查附件是否上传
---
app/pagesTask/create-welfare.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/pagesTask/create-welfare.vue b/app/pagesTask/create-welfare.vue
index 096e089..2ca09fb 100644
--- a/app/pagesTask/create-welfare.vue
+++ b/app/pagesTask/create-welfare.vue
@@ -103,7 +103,7 @@
class="form-input"
type="digit"
placeholder="璇疯緭鍏ュ叕閲屾暟"
- v-model="taskForm.distance"
+ v-model="taskForm.transferDistance"
/>
</view>
@@ -171,7 +171,7 @@
},
startAddress: '',
endAddress: '',
- distance: '',
+ transferDistance: '',
price: ''
},
vehicles: [],
@@ -267,7 +267,7 @@
this.addressCoordinates.endAddress.lat,
this.addressCoordinates.endAddress.lng
).then(distance => {
- this.taskForm.distance = distance.toFixed(2)
+ this.taskForm.transferDistance = distance.toFixed(2)
}).catch(error => {
console.error('璺濈璁$畻澶辫触:', error)
})
@@ -344,7 +344,7 @@
passenger: this.taskForm.passenger,
startAddress: this.taskForm.startAddress,
endAddress: this.taskForm.endAddress,
- distance: this.taskForm.distance ? parseFloat(this.taskForm.distance) : null,
+ transferDistance: this.taskForm.transferDistance ? parseFloat(this.taskForm.transferDistance) : null,
price: this.taskForm.price ? parseFloat(this.taskForm.price) : null
}
--
Gitblit v1.9.1