|
|
@@ -1,18 +1,35 @@
|
|
|
<template>
|
|
|
<!-- 现货仓单 -->
|
|
|
<section class="spot_warran">
|
|
|
- 现货仓单
|
|
|
+ <component :is="componentId"
|
|
|
+ v-if="componentId">
|
|
|
+ </component>
|
|
|
+ <thirdMenu :list="tabList"
|
|
|
+ @selectMenu="changeTab"
|
|
|
+ :value="'title'"></thirdMenu>
|
|
|
</section>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
-import { defineComponent } from 'vue';
|
|
|
+import { defineAsyncComponent, defineComponent, ref } from 'vue';
|
|
|
import { enumOrderComponents } from '@/common/constants/enumOrderComponents';
|
|
|
+import thirdMenu from '@/common/components/thirdMenu/index.vue';
|
|
|
+import { handleOrderDetailList } from '@/common/setup/order/orderData';
|
|
|
+
|
|
|
export default defineComponent({
|
|
|
name: enumOrderComponents.spot_warrant,
|
|
|
- components: {},
|
|
|
+ components: {
|
|
|
+ thirdMenu,
|
|
|
+ [enumOrderComponents.spot_warrant_deal]: defineAsyncComponent(() => import('./components/spot_warrant_deal/index.vue')),
|
|
|
+ [enumOrderComponents.spot_warrant_designated_deal]: defineAsyncComponent(() => import('./components/spot_warrant_designated_deal/index.vue')),
|
|
|
+ [enumOrderComponents.spot_warrant_in_and_out_warehouse]: defineAsyncComponent(() => import('./components/spot_warrant_in_and_out_warehouse/index.vue')),
|
|
|
+ [enumOrderComponents.spot_warrant_inventory_summary]: defineAsyncComponent(() => import('./components/spot_warrant_inventory_summary/index.vue')),
|
|
|
+ [enumOrderComponents.spot_warrant_pending_order]: defineAsyncComponent(() => import('./components/spot_warrant_pending_order/index.vue')),
|
|
|
+ [enumOrderComponents.spot_warrant_spot_summary]: defineAsyncComponent(() => import('./components/spot_warrant_spot_summary/index.vue')),
|
|
|
+ [enumOrderComponents.spot_warrant_spot_details]: defineAsyncComponent(() => import('./components/spot_warrant_spot_details/index.vue')),
|
|
|
+ },
|
|
|
setup() {
|
|
|
- return {};
|
|
|
+ return { ...handleOrderDetailList(enumOrderComponents.spot_warrant) };
|
|
|
},
|
|
|
});
|
|
|
</script>
|