index.vue
2.3 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
<template>
<PageWrapper contentBackground>
<div className="config-page">
<Tabs
v-model:selectedKey="currentKey"
className="ml-2 mb-0"
:style="{ marginLeft: '30px', marginRight: '5px' }"
>
<Tabs.TabPane key="1" tab="利润率配置">
<TablePanel :searchInfo="{ relationCode: 'profitRate' }" :column="1" />
</Tabs.TabPane>
<Tabs.TabPane key="2" tab="包装费用配置">
<TablePanel :searchInfo="{ relationCode: 'packetPrice' }" :column="2" />
</Tabs.TabPane>
<Tabs.TabPane key="3" tab="汇率配置">
<TablePanel :searchInfo="{ settingCode: 'exchangeRate' }" :column="3"
/></Tabs.TabPane>
<Tabs.TabPane key="4" tab="邮件发送配置"><EmailPanel /></Tabs.TabPane>
<Tabs.TabPane key="5" tab="最后汇款日期">
<TablePanel :searchInfo="{ relationCode: 'orderHodTime' }" :column="5" />
</Tabs.TabPane>
<Tabs.TabPane key="6" tab="提成成本配置">
<TablePanel :searchInfo="{ relationCode: 'costSettingItem' }" :column="6" />
</Tabs.TabPane>
<Tabs.TabPane key="7" tab="销售额配置">
<TablePanel :searchInfo="{ relationCode: 'salesAmount' }" :column="7" />
</Tabs.TabPane>
<Tabs.TabPane key="8" tab="生产科应付日期">
<TablePanel :searchInfo="{ relationCode: 'produHodTime' }" :column="8" />
</Tabs.TabPane>
<Tabs.TabPane key="9" tab="生产科固定成本">
<TablePanel :searchInfo="{ relationCode: 'ProduceSettingItem' }" :column="9" />
</Tabs.TabPane>
</Tabs>
</div>
</PageWrapper>
</template>
<script setup lang="ts">
import { Tabs } from 'ant-design-vue';
import { PageWrapper } from '/@/components/Page';
import TablePanel from './TablePanel.vue';
import { onMounted } from 'vue';
import { useOrderStoreWithOut } from '/@/store/modules/order';
import EmailPanel from './EmailPanel.vue';
import ProductPanel from './ProductPanel.vue';
let currentKey = '1';
const orderStore = useOrderStoreWithOut();
onMounted(async () => {
await orderStore.getDict();
});
</script>
<style>
.config-page .ant-tabs-nav-operations ant-tabs-nav-operations-hidden {
display: none;
}
.config-page .ant-tabs-nav {
margin-bottom: 0;
}
</style>