diff --git a/yudao-ui-admin/src/router/index.js b/yudao-ui-admin/src/router/index.js index 81f8ff88a..309a7a3b8 100644 --- a/yudao-ui-admin/src/router/index.js +++ b/yudao-ui-admin/src/router/index.js @@ -209,6 +209,13 @@ export const constantRoutes = [ name: '商品订单', meta: { title: '商品订单' }, component: (resolve) => require(['@/views/mall/trade/order'], resolve) + }, + { + path: '/mall/trade/order/detail', + name: '订单详情', + hidden: true, + meta: { title: '订单详情' }, + component: (resolve) => require(['@/views/mall/trade/order/detail'], resolve) } ] } diff --git a/yudao-ui-admin/src/views/mall/trade/order/detail.vue b/yudao-ui-admin/src/views/mall/trade/order/detail.vue new file mode 100644 index 000000000..4e50d8f41 --- /dev/null +++ b/yudao-ui-admin/src/views/mall/trade/order/detail.vue @@ -0,0 +1,273 @@ + + + + + + + + + + + + + + + + + + + + + + {{activity.content}} + + + + + + + + + + + + + + + + + + + {{goodInfo.name}} + {{goodInfo.count}} + + + + + + + + {{activity.content}} + + + + + {{pkgInfo[pkgChild.valueKey]}} + + + + + + + + + + + + + 备注 + 打印发货单 + + + + + {{detailInfo[child.valueKey]}} + + + + + + + + + + + + diff --git a/yudao-ui-admin/src/views/mall/trade/order/index.vue b/yudao-ui-admin/src/views/mall/trade/order/index.vue index 5bfc86649..9b9da0565 100644 --- a/yudao-ui-admin/src/views/mall/trade/order/index.vue +++ b/yudao-ui-admin/src/views/mall/trade/order/index.vue @@ -90,7 +90,7 @@ 打印发货单 - 详情 + 详情 备注 @@ -322,6 +322,11 @@ } ] } + }, + methods: { + goToDetail (row) { + this.$router.push({ path: '/mall/trade/order/detail', query: { orderNo: row.orderNo }}) + } } }