|
|
@@ -1,70 +1,31 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<view class="order-detail-view">
|
|
3
|
3
|
<!-- 页面切换 -->
|
|
4
|
|
- <view
|
|
5
|
|
- class="page-item"
|
|
6
|
|
- v-show="activeIndex === 0"
|
|
7
|
|
- >
|
|
8
|
|
- <PageOne
|
|
9
|
|
- :order-detail="orderDetail"
|
|
10
|
|
- :order-id="orderId"
|
|
11
|
|
- :current-receipt="currentReceipt"
|
|
12
|
|
- @next="handleNext"
|
|
13
|
|
- />
|
|
|
4
|
+ <view class="page-item" v-show="activeIndex === 0">
|
|
|
5
|
+ <PageOne :order-detail="orderDetail" :order-id="orderId" :current-receipt="currentReceipt" @next="handleNext" />
|
|
14
|
6
|
</view>
|
|
15
|
|
-
|
|
16
|
|
- <view
|
|
17
|
|
- class="page-item"
|
|
18
|
|
- v-show="activeIndex === 1"
|
|
19
|
|
- >
|
|
20
|
|
- <PageTwo
|
|
21
|
|
- :order-detail="orderDetail"
|
|
22
|
|
- :order-id="orderId"
|
|
23
|
|
- :current-receipt="currentReceipt"
|
|
24
|
|
- :follow-up-list="followUpList"
|
|
25
|
|
- @next="handleNext"
|
|
26
|
|
- @update-file-ids="handleUpdateFileIds"
|
|
27
|
|
- @price-updated="$emit('price-updated')"
|
|
28
|
|
- />
|
|
|
7
|
+
|
|
|
8
|
+ <view class="page-item" v-show="activeIndex === 1">
|
|
|
9
|
+ <PageTwo :order-detail="orderDetail" :order-id="orderId" :current-receipt="currentReceipt"
|
|
|
10
|
+ :follow-up-list="followUpList" @next="handleNext" @update-file-ids="handleUpdateFileIds"
|
|
|
11
|
+ @price-updated="$emit('price-updated')" />
|
|
29
|
12
|
</view>
|
|
30
|
|
-
|
|
31
|
|
- <view
|
|
32
|
|
- class="page-item"
|
|
33
|
|
- v-show="activeIndex === 2"
|
|
34
|
|
- >
|
|
35
|
|
- <PageThree
|
|
36
|
|
- :order-detail="orderDetail"
|
|
37
|
|
- :order-id="orderId"
|
|
38
|
|
- :current-receipt="currentReceipt"
|
|
39
|
|
- @next="handleNext"
|
|
40
|
|
- @save="handleNeedSave"
|
|
41
|
|
- @confirm-pay="handleConfirmPay"
|
|
42
|
|
- @update-file-ids="handleUpdateFileIds"
|
|
43
|
|
- @price-updated="$emit('price-updated')"
|
|
44
|
|
- ref="pageThreeRef"
|
|
45
|
|
- />
|
|
|
13
|
+
|
|
|
14
|
+ <view class="page-item" v-show="activeIndex === 2">
|
|
|
15
|
+ <PageThree :order-detail="orderDetail" :order-id="orderId" :current-receipt="currentReceipt" @next="handleNext"
|
|
|
16
|
+ @save="handleNeedSave" @confirm-pay="handleConfirmPay" @update-file-ids="handleUpdateFileIds"
|
|
|
17
|
+ @price-updated="$emit('price-updated')" ref="pageThreeRef" />
|
|
46
|
18
|
</view>
|
|
47
|
|
-
|
|
48
|
|
- <view
|
|
49
|
|
- class="page-item"
|
|
50
|
|
- v-show="activeIndex === 3"
|
|
51
|
|
- >
|
|
52
|
|
- <PageFour
|
|
53
|
|
- :order-detail="orderDetail"
|
|
54
|
|
- :current-receipt="currentReceipt"
|
|
55
|
|
- @next="handleNext"
|
|
56
|
|
- @confirm-warehouse="handleConfirmWarehouse"
|
|
57
|
|
- />
|
|
|
19
|
+
|
|
|
20
|
+ <view class="page-item" v-show="activeIndex === 3">
|
|
|
21
|
+ <PageFour :order-detail="orderDetail" :current-receipt="currentReceipt" @next="handleNext"
|
|
|
22
|
+ @confirm-warehouse="handleConfirmWarehouse" />
|
|
58
|
23
|
</view>
|
|
59
|
24
|
|
|
60
|
25
|
<!-- 页面导航 -->
|
|
61
|
26
|
<ul class="page-navigation">
|
|
62
|
|
- <li
|
|
63
|
|
- v-for="(tab, index) in tabs"
|
|
64
|
|
- :key="index"
|
|
65
|
|
- :class="{ 'active': activeIndex === index }"
|
|
66
|
|
- @click="handleTabClick(index)"
|
|
67
|
|
- >
|
|
|
27
|
+ <li v-for="(tab, index) in tabs" :key="index" :class="{ 'active': activeIndex === index }"
|
|
|
28
|
+ @click="handleTabClick(index)">
|
|
68
|
29
|
{{ tab }}
|
|
69
|
30
|
</li>
|
|
70
|
31
|
</ul>
|