feat: 订单售后

This commit is contained in:
2026-07-30 18:31:54 +08:00
parent dcc32b3d8f
commit 898e239463
36 changed files with 3842 additions and 398 deletions
@@ -81,7 +81,7 @@ export default {
this.chosenAddressId = item.id
saveChosenAddressId(item.id)
if (this.$route.query.from === 'checkout') {
if (['checkout', 'after-sale'].includes(this.$route.query.from)) {
const address = this.addresses.find(addressItem => addressItem.id === item.id)
if (address) {
try {
@@ -101,10 +101,10 @@ export default {
}
},
onAdd() {
this.$router.push('/joyful-selection/address/edit')
this.$router.push({ path: '/joyful-selection/address/edit', query: { from: this.$route.query.from } })
},
onEdit(item) {
this.$router.push({ path: '/joyful-selection/address/edit', query: { id: item.id } })
this.$router.push({ path: '/joyful-selection/address/edit', query: { id: item.id, from: this.$route.query.from } })
}
}
}