ViewOutbound.vue
3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<template>
<vehicle-base-info title="车辆信息" :vehicle="outbound?.vehicle" :column="2" :bordered="false"></vehicle-base-info>
<a-descriptions :column="2" size="small" :bordered="false" v-if="outbound?.auctionOrder">
<template #title>
<a-typography-text type="secondary">关联订单信息</a-typography-text>
</template>
<a-descriptions-item label="订单号">
{{ outbound.auctionOrder?.orderCode }}
</a-descriptions-item>
<a-descriptions-item label="中拍时间">
{{ outbound.auctionOrder?.createTime }}
</a-descriptions-item>
<a-descriptions-item label="订单金额">
¥{{ outbound.auctionOrder?.orderPrice }}
</a-descriptions-item>
<a-descriptions-item label="车款状态">
<auction-order-state-tag :order-state="outbound.auctionOrder?.orderState"></auction-order-state-tag>
</a-descriptions-item>
</a-descriptions>
<a-descriptions :bordered="false" :column="2" size="small">
<template #title>
<title-tip-icon></title-tip-icon>
出库详情
</template>
<a-descriptions-item label="出库类型" name="createBy">
{{ $t('enum.outbound.outboundType.' + outbound.outboundType) }}
</a-descriptions-item>
<a-descriptions-item label="出库方式" name="createBy">
{{ $t('enum.outbound.outboundMethod.' + outbound.outboundMethod) }}
</a-descriptions-item>
<a-descriptions-item label="出库场地" name="sellerMerchantName">
{{ outbound.area.venue?.venueName }} {{ outbound.area.areaName }} {{ outbound.parkingSpace }}
</a-descriptions-item>
<a-descriptions-item label="入库场地地址" name="sellerMerchantName">
{{ outbound.area.venue.address }}
</a-descriptions-item>
<a-descriptions-item label="创建人" name="createBy">
{{ outbound.createBy }}
</a-descriptions-item>
<a-descriptions-item label="创建时间" name="createTime">
{{ outbound.createTime }}
</a-descriptions-item>
<a-descriptions-item label="备注" name="remark" :span="3">
{{ outbound.remark }}
</a-descriptions-item>
</a-descriptions>
</template>
<script lang="ts">
import {Component, Prop, Vue} from "vue-facing-decorator";
import TitleTipIcon from "@/components/icons/TitleTipIcon.vue";
import {Outbound} from "lib/src/entity/venue/entity/Outbound";
import VehicleBaseInfo from "@/views/vehicle/inventory/VehicleBaseInfo.vue";
import AuctionOrderStateTag from "@/views/auction/order/AuctionOrderStateTag.vue";
@Component({
components: {AuctionOrderStateTag, VehicleBaseInfo, TitleTipIcon}
})
export default class ViewOutbound extends Vue {
@Prop({required: true})
outbound: Outbound;
created(): void {
// this.axios.get('outbound/getOutboundById', {params: {outboundId: this.outboundId}}).then(response => {
// this.outbound = response.data;
// });
}
}
</script>
<style scoped lang="ts">
</style>