|
|
|
@ -107,9 +107,7 @@ export default { |
|
|
|
|
components: { OrderProgress }, |
|
|
|
|
props: { |
|
|
|
|
// 是否显示dialog |
|
|
|
|
open: Boolean, |
|
|
|
|
//TODO: 1 自营商城订单详情,2 骑手配送订单详情,应该通过订单类型来判断,先开发UI所以这么写。 |
|
|
|
|
type: Number |
|
|
|
|
open: Boolean |
|
|
|
|
}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
@ -142,6 +140,12 @@ export default { |
|
|
|
|
this.$modal.msgSuccess('保存成功') |
|
|
|
|
this.$emit('close') |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
|
//自营商城-订单管理-详情:1,订单管理-外卖订单-订单详情:2 |
|
|
|
|
type() { |
|
|
|
|
return this.$route.fullPath.includes('self-operated-mall') ? 1 : 2 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|