|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<!-- 仓单贸易 -->
|
|
<!-- 仓单贸易 -->
|
|
|
<section class="forward-section warehouse-trade">
|
|
<section class="forward-section warehouse-trade">
|
|
|
|
|
+ <div class="conditionIcon icon iconfont icon-saixuantiaojiantubiao"></div>
|
|
|
<!-- 这里需要加上二级菜单 二级菜单封装在公告组件里面 secondeMenu -->
|
|
<!-- 这里需要加上二级菜单 二级菜单封装在公告组件里面 secondeMenu -->
|
|
|
<firstMenu :list="list"
|
|
<firstMenu :list="list"
|
|
|
:value="'value'"
|
|
:value="'value'"
|
|
@@ -9,9 +10,7 @@
|
|
|
<quoteTable :columns="columns"
|
|
<quoteTable :columns="columns"
|
|
|
:dataSource="data"
|
|
:dataSource="data"
|
|
|
:contextMenuList="contextMenuList" />
|
|
:contextMenuList="contextMenuList" />
|
|
|
- <!-- <div class="warehouse-trade-order">
|
|
|
|
|
- 单据
|
|
|
|
|
- </div> -->
|
|
|
|
|
|
|
+ <thirdMenu></thirdMenu>
|
|
|
</section>
|
|
</section>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -19,34 +18,29 @@
|
|
|
import { defineComponent, computed, reactive, ref, toRefs, unref, onMounted, onUpdated, onUnmounted, provide, inject } from 'vue';
|
|
import { defineComponent, computed, reactive, ref, toRefs, unref, onMounted, onUpdated, onUnmounted, provide, inject } from 'vue';
|
|
|
import { initData } from '@/setup/methods/index';
|
|
import { initData } from '@/setup/methods/index';
|
|
|
import firstMenu from '@/components/firstMenu/index.vue';
|
|
import firstMenu from '@/components/firstMenu/index.vue';
|
|
|
|
|
+import thirdMenu from '@/components/thirdMenu/index.vue';
|
|
|
import quoteTable from '@/components/quoteTable/index.vue';
|
|
import quoteTable from '@/components/quoteTable/index.vue';
|
|
|
import { MenuItem } from '@/components/contextMenu/interface';
|
|
import { MenuItem } from '@/components/contextMenu/interface';
|
|
|
import orderTable from '@/components/orderTable/index.vue';
|
|
import orderTable from '@/components/orderTable/index.vue';
|
|
|
|
|
|
|
|
const columns = [
|
|
const columns = [
|
|
|
- { title: 'Full Name', width: 100, dataIndex: 'name', key: 'name', fixed: 'left', align: 'center' },
|
|
|
|
|
- { title: 'Age', width: 100, dataIndex: 'age', key: 'age', fixed: 'left', align: 'center' },
|
|
|
|
|
- { title: 'Column 1', dataIndex: 'address', key: '1', width: 156, align: 'center' },
|
|
|
|
|
- { title: 'Column 2', dataIndex: 'address', key: '2', width: 156, align: 'center' },
|
|
|
|
|
- { title: 'Column 3', dataIndex: 'address', key: '3', width: 156, align: 'center' },
|
|
|
|
|
- { title: 'Column 4', dataIndex: 'address', key: '4', width: 200, align: 'center' },
|
|
|
|
|
- { title: 'Column 5', dataIndex: 'address', key: '5', width: 200, align: 'center' },
|
|
|
|
|
- { title: 'Column 6', dataIndex: 'address', key: '6', width: 200, align: 'center' },
|
|
|
|
|
- { title: 'Column 7', dataIndex: 'address', key: '7', width: 200, align: 'center' },
|
|
|
|
|
- { title: 'Column 8', dataIndex: 'address', key: '8', width: 200, align: 'center' },
|
|
|
|
|
- { title: 'Column 8', dataIndex: 'address', key: '9', width: 200, align: 'center' },
|
|
|
|
|
- { title: 'Column 8', dataIndex: 'address', key: '10', width: 200, align: 'center' },
|
|
|
|
|
- // { title: 'Column 8', dataIndex: 'address', key: '11', width: 200 , align: 'center' },
|
|
|
|
|
- // { title: 'Column 8', dataIndex: 'address', key: '12', width: 200 , align: 'center' },
|
|
|
|
|
- // { title: 'Column 8', dataIndex: 'address', key: '13', width: 200 , align: 'center' },
|
|
|
|
|
- {
|
|
|
|
|
- title: 'Action',
|
|
|
|
|
- key: 'operation',
|
|
|
|
|
- fixed: 'right',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- slots: { customRender: 'action' },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ { title: '序号', width: 100, dataIndex: 'name', key: 'name', fixed: 'left', align: 'center' },
|
|
|
|
|
+ { title: '品种', width: 100, dataIndex: 'age', key: 'age', fixed: 'left', align: 'center' },
|
|
|
|
|
+ { title: '种类', dataIndex: 'address', key: '1', width: 200, align: 'center' },
|
|
|
|
|
+ { title: '品牌', dataIndex: 'address', key: '2', width: 200, align: 'center' },
|
|
|
|
|
+ { title: '数量', dataIndex: 'address', key: '3', width: 200, align: 'center' },
|
|
|
|
|
+ { title: '价格', dataIndex: 'address', key: '4', width: 200, align: 'center' },
|
|
|
|
|
+ { title: '仓库', dataIndex: 'address', key: '5', width: 200, align: 'center' },
|
|
|
|
|
+ { title: '所在地', dataIndex: 'address', key: '6', width: 200, align: 'center' },
|
|
|
|
|
+ { title: '挂牌方', dataIndex: 'address', key: '7', width: 'auto', align: 'center' },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // title: 'Action',
|
|
|
|
|
+ // key: 'operation',
|
|
|
|
|
+ // fixed: 'right',
|
|
|
|
|
+ // align: 'center',
|
|
|
|
|
+ // width: 100,
|
|
|
|
|
+ // slots: { customRender: 'action' },
|
|
|
|
|
+ // },
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
interface DataItem {
|
|
interface DataItem {
|
|
@@ -102,6 +96,7 @@ export default defineComponent({
|
|
|
firstMenu,
|
|
firstMenu,
|
|
|
quoteTable,
|
|
quoteTable,
|
|
|
orderTable,
|
|
orderTable,
|
|
|
|
|
+ thirdMenu,
|
|
|
},
|
|
},
|
|
|
setup() {
|
|
setup() {
|
|
|
initData(() => {
|
|
initData(() => {
|
|
@@ -131,7 +126,22 @@ export default defineComponent({
|
|
|
<style lang="less">
|
|
<style lang="less">
|
|
|
.warehouse-trade {
|
|
.warehouse-trade {
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ .flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ .conditionIcon {
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ color: @m-blue0;
|
|
|
|
|
+ width: 18px;
|
|
|
|
|
+ height: 18px;
|
|
|
|
|
+ line-height: 18px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ .position(absolute, 8px, 14px, auto, auto);
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ color: rgba(@m-blue0, .8);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
.topBar {
|
|
.topBar {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
}
|
|
}
|