修改数据库并修改页面样式
This commit is contained in:
@@ -454,7 +454,7 @@
|
||||
confirmPickup() {
|
||||
// TODO: 调用API确认取货
|
||||
if (this.currentTask) {
|
||||
this.currentTask.status = 4 // 更新状态为“已取货”
|
||||
this.currentTask.status = 5 // 更新状态为“已取货”
|
||||
}
|
||||
uni.showToast({
|
||||
title: '取货完成',
|
||||
@@ -462,16 +462,16 @@
|
||||
})
|
||||
},
|
||||
|
||||
startDelivery() {
|
||||
// TODO: 调用API开始配送
|
||||
if (this.currentTask) {
|
||||
this.currentTask.status = 5 // 更新状态为“配送中”
|
||||
}
|
||||
uni.showToast({
|
||||
title: '开始配送',
|
||||
icon: 'success'
|
||||
})
|
||||
},
|
||||
// startDelivery() {
|
||||
// // TODO: 调用API开始配送
|
||||
// if (this.currentTask) {
|
||||
// this.currentTask.status = 5 // 更新状态为“配送中”
|
||||
// }
|
||||
// uni.showToast({
|
||||
// title: '开始配送',
|
||||
// icon: 'success'
|
||||
// })
|
||||
// },
|
||||
|
||||
// 显示确认送达弹框
|
||||
showConfirmDeliveryDialog() {
|
||||
|
||||
Reference in New Issue
Block a user