sanmu
authored
|
1
|
<template>
|
sanmu
authored
|
2
|
<div className="approve-page px-4 bg-white">
|
sanmu
authored
|
3
4
5
6
7
8
9
10
11
12
|
<a-tabs default-active-key="1" v-model:activeKey="currentKey">
<a-tab-pane key="1" tab="字段待审核">
<FieldPanel />
</a-tab-pane>
<a-tab-pane key="3" tab="利润分析待审核">
<ProfitPanel />
</a-tab-pane>
<a-tab-pane key="5" tab="项目报告书待审核">
<ReportPanel />
</a-tab-pane>
|
柏杨
authored
|
13
14
15
|
<a-tab-pane key="7" tab="应收款待审核">
<ReceivePanel />
</a-tab-pane>
|
柏杨
authored
|
16
17
18
|
<a-tab-pane key="9" tab="应付款待审核">
<PayPanel />
</a-tab-pane>
|
sanmu
authored
|
19
20
21
22
23
24
|
<a-tab-pane key="2" tab="字段已审核">
<FieldPanel isApproved />
</a-tab-pane>
<a-tab-pane key="4" tab="利润分析已审核">
<ProfitPanel isApproved />
</a-tab-pane>
|
sanmu
authored
|
25
26
27
|
<a-tab-pane key="6" tab="项目报告书已审核">
<ReportPanel isApproved />
</a-tab-pane>
|
柏杨
authored
|
28
29
30
|
<a-tab-pane key="8" tab="应收款已审核">
<ReceivePanel isApproved />
</a-tab-pane>
|
柏杨
authored
|
31
32
33
|
<a-tab-pane key="10" tab="应付款已审核">
<PayPanel isApproved />
</a-tab-pane>
|
sanmu
authored
|
34
|
</a-tabs>
|
sanmu
authored
|
35
|
</div>
|
sanmu
authored
|
36
37
|
</template>
<script lang="ts">
|
sanmu
authored
|
38
|
import { defineComponent, onMounted, ref } from 'vue';
|
sanmu
authored
|
39
|
import { Tabs } from 'ant-design-vue';
|
sanmu
authored
|
40
41
|
import ReportPanel from './ReportPanel.vue';
import ProfitPanel from './ProfitPanel.vue';
|
sanmu
authored
|
42
|
import FieldPanel from './FieldPanel.vue';
|
柏杨
authored
|
43
|
import ReceivePanel from './ReceivePanel.vue';
|
柏杨
authored
|
44
|
import PayPanel from './PayPanel.vue';
|
sanmu
authored
|
45
46
47
|
import { useOrderStoreWithOut } from '/@/store/modules/order';
const orderStore = useOrderStoreWithOut();
|
sanmu
authored
|
48
49
50
51
52
|
export default defineComponent({
components: {
[Tabs.name]: Tabs,
[Tabs.TabPane.name]: Tabs.TabPane,
|
sanmu
authored
|
53
|
ReportPanel,
|
sanmu
authored
|
54
|
FieldPanel,
|
sanmu
authored
|
55
|
ProfitPanel,
|
柏杨
authored
|
56
|
ReceivePanel,
|
柏杨
authored
|
57
|
PayPanel,
|
sanmu
authored
|
58
59
60
61
62
|
},
setup() {
const checkedKeys = ref<Array<string | number>>([]);
const currentKey = ref('1');
|
sanmu
authored
|
63
64
|
onMounted(async () => {
await orderStore.getDict();
|
sanmu
authored
|
65
66
67
68
69
70
71
72
73
|
});
return {
checkedKeys,
currentKey,
};
},
});
</script>
|
sanmu
authored
|
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
<style>
.approve-page .vben-basic-table .ant-table-wrapper {
margin-bottom: 0;
}
.approve-page .vben-basic-table-form-container {
padding-right: 0;
padding-left: 0;
}
.approve-page .vben-basic-table-form-container .ant-form {
margin-bottom: 0;
padding-top: 0;
}
</style>
|