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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
| <script setup>
|
| import {Folder, Search} from "@element-plus/icons-vue";
|
| let titleList = [
| '序号',
| '订单类型',
| '客户名称',
| '项目名称',
| '销售单号',
| '批次',
| '产品编号',
| '产品编码',
| '产品名称',
| '订单序号',
| '楼号',
| '宽',
| '高',
| '数量',
| '半径',
| '实际面积',
| '结算总面积',
| '形状',
| '磨边类型',
| '主加工要求',
| '加工要求',
| '备注',
| '商标选项',
| '包装方式',
| '工艺流程',
| '周长',
| '单价',
| '金额',
| '铝条方式',
| '订单类型',
| '业务员',
| '送货地址',
| '制单员',
| '建立时间',
| '总厚度',
| '产品大类',
| '产品小类',
| '客户批次'
|
|
| ]
| </script>
|
| <template>
| <div class="main-div">
| <el-date-picker
| v-model="value1"
| type="daterange"
| start-placeholder="开始时间"
| end-placeholder="结束时间"
| />
| <el-button style="margin-top: -5px" id="searchButton" type="primary" :icon="Search">查询</el-button>
| <el-button style="margin-top: -5px" id="searchButton" type="primary" :icon="Folder">导出</el-button>
| <div class="order-detail">
| <el-table
| :data="dataList"
| :header-cell-style="{ 'text-align': 'center' }"
| :cell-style="{ 'text-align': 'center' }"
| border
| >
|
| <el-table-column type="expand" fixed>
| <template #default="props" >
| <div m="4">
| <p m="t-0 b-2">: {{ props.row['2'] }}</p>
| </div>
| </template>
| </el-table-column>
|
|
| <el-table-column
| :prop="index.toString()"
| :show-overflow-tooltip='true'
| width="100" v-for="(item,index) in titleList"
| :label="item" />
| </el-table>
| </div>
| </div>
| </template>
|
| <style scoped>
| .main-div {
| width: 100%;
| height: 100%;
| }
| .el-col{
| border: #181818 1px solid;
| }
| :deep(.el-table .el-input__wrapper) {
| box-shadow: 0 0 0 0 var(--el-input-border-color, var(--el-border-color)) inset;
| cursor: default;
| border: none !important;
| background-color: transparent;
| }
| .order-primary{
| width: 100%;
| }
| .order-detail{
| width: 100%;
| height: 80%;
| }
| </style>
|
|