update 订单 DialogWithMenu 逻辑

This commit is contained in:
lb 2023-07-31 15:20:09 +08:00
förälder 3956a0c159
incheckning 456c9d8950
2 ändrade filer med 2 tillägg och 10 borttagningar

Visa fil

@ -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,

Visa fil

@ -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