lion 8 months ago
parent 4046af51b6
commit 0c75b5fc2e

@ -249,11 +249,28 @@
},
//
closeOrder(item){
// uni.navigateTo({
// url: '/package_sub/order/orderDetail?&id=' + itemid
// })
let that = this
uni.showModal({
title: '是否确认订单已完成?',
success(res) {
if (res.confirm) {
that.$u.api.saveOrder({
id: item.id,
status:4
}).then(res => {
that.base.toast("服务完成", 1500, function() {
setTimeout(function() {
that.select.status = 4
that.select.page = 1
that.currentTab = 3
that.list = []
that.getOrderList()
}, 1500)
})
})
}
}
})

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save