update 订单 DialogWithMenu 逻辑
This commit is contained in:
父節點
3956a0c159
當前提交
456c9d8950
@ -20,7 +20,7 @@
|
||||
<SubOrderDetail v-if="activeTab === 1 && order !== null" :order="order" />
|
||||
<CarDetail v-if="activeTab === 2 && order !== null" :order-id="order.id" :table-layout="carLayoutKey" />
|
||||
<TrayDetail v-if="activeTab === 3" />
|
||||
<OrderDetailWrapper v-if="activeTab === 4" :order="order" :order-detail-configs="configs" />
|
||||
<OrderDetailWrapper v-if="activeTab === 4" :order="order" />
|
||||
</transition>
|
||||
|
||||
<!-- footer -->
|
||||
@ -40,10 +40,6 @@ export default {
|
||||
name: "DialogWithMenu--OrderVersion",
|
||||
components: { CarDetail, OrderDetailWrapper, SubOrderDetail, TrayDetail },
|
||||
props: {
|
||||
configs: {
|
||||
type: Object,
|
||||
default: () => null,
|
||||
},
|
||||
fullscreen: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div style="height: 100%;">
|
||||
<el-skeleton v-show="orderNotReady" />
|
||||
<OrderDetail v-show="!orderNotReady" ref="order-detail-tag" :configs="orderDetailConfigs" @detail-loaded="orderNotReady = false" />
|
||||
<OrderDetail v-show="!orderNotReady" ref="order-detail-tag" @detail-loaded="orderNotReady = false" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -12,10 +12,6 @@ export default {
|
||||
name: "OrderDetailWrapper",
|
||||
components: { OrderDetail },
|
||||
props: {
|
||||
orderDetailConfigs: {
|
||||
type: Object,
|
||||
default: () => null,
|
||||
},
|
||||
order: {
|
||||
type: Object,
|
||||
default: () => null
|
||||
|
Loading…
Reference in New Issue
Block a user