3
3
<!-- 搜索工作栏 -->
4
4
<el-row :gutter =" 20" >
5
5
<el-form :model =" queryParams" label-width =" 68px" size =" small" >
6
- <el-col :span =" 6" :xs =" 24" >
7
- <el-form-item label =" 商品名称" >
8
- <el-input v-model =" queryParams.name" style =" width : 240px " ></el-input >
9
- </el-form-item >
10
- </el-col >
11
- <el-col :span =" 6" :xs =" 24" >
12
- <el-form-item label =" 订单编号" >
13
- <el-input v-model =" queryParams.No" style =" width : 240px " ></el-input >
14
- </el-form-item >
15
- </el-col >
16
- <el-col :span =" 6" :xs =" 24" >
17
- <el-form-item label =" 退款编号" >
18
- <el-input v-model =" queryParams.refundNo" style =" width : 240px " ></el-input >
19
- </el-form-item >
20
- </el-col >
21
- <el-col :span =" 6" :xs =" 24" >
22
- <el-form-item label =" 退款状态" >
23
- <el-select v-model =" queryParams.refundStatus" clearable style =" width : 240px " >
24
- <el-option v-for =" dict in dicData.refundStatus" v-bind =" dict" :key =" dict.value" />
25
- </el-select >
26
- </el-form-item >
27
- </el-col >
28
- <el-col :span =" 6" :xs =" 24" >
29
- <el-form-item label =" 退款方式" >
30
- <el-select v-model =" queryParams.refundWay" clearable style =" width : 240px " >
31
- <el-option v-for =" dict in dicData.refundWay" v-bind =" dict" :key =" dict.value" />
32
- </el-select >
33
- </el-form-item >
34
- </el-col >
35
- <el-col :span =" 6" :xs =" 24" >
36
- <el-form-item label =" 维权类型" >
37
- <el-select v-model =" queryParams.refundType" clearable style =" width : 240px " >
38
- <el-option v-for =" dict in dicData.refundType" v-bind =" dict" :key =" dict.value" />
39
- </el-select >
40
- </el-form-item >
41
- </el-col >
42
6
<el-col :span =" 6" :xs =" 24" >
43
7
<el-form-item label =" 下单时间" >
44
8
<el-date-picker v-model =" queryParams.date" type =" daterange" range-separator =" 至"
60
24
<el-table :data =" tableData" :show-header =" false" class =" table-wrapper" >
61
25
<el-table-column >
62
26
<template slot-scope="{ row }">
63
- <div class =" table-header" >
64
- 退款编号:{{row.tkbh}}
65
- <el-button type =" text" style =" margin-left : 10px " >
66
- 订单编号:{{row.ddbh}}
67
- </el-button >
68
- </div >
69
27
<!-- 订单下的商品 -->
70
28
<el-table :data =" row.goods" border >
71
29
<el-table-column label =" 商品信息" prop =" spxx" header-align =" center" width =" auto" min-width =" 300" >
@@ -114,33 +72,7 @@ const dicData = {
114
72
{ label: ' 售后退款' , value: ' shtk' }
115
73
]
116
74
}
117
- const rangePickerOptions = {
118
- shortcuts: [{
119
- text: ' 最近一周' ,
120
- onClick (picker ) {
121
- const end = new Date ();
122
- const start = new Date ();
123
- start .setTime (start .getTime () - 3600 * 1000 * 24 * 7 );
124
- picker .$emit (' pick' , [start, end]);
125
- }
126
- }, {
127
- text: ' 最近一个月' ,
128
- onClick (picker ) {
129
- const end = new Date ();
130
- const start = new Date ();
131
- start .setTime (start .getTime () - 3600 * 1000 * 24 * 30 );
132
- picker .$emit (' pick' , [start, end]);
133
- }
134
- }, {
135
- text: ' 最近三个月' ,
136
- onClick (picker ) {
137
- const end = new Date ();
138
- const start = new Date ();
139
- start .setTime (start .getTime () - 3600 * 1000 * 24 * 90 );
140
- picker .$emit (' pick' , [start, end]);
141
- }
142
- }]
143
- }
75
+
144
76
export default {
145
77
name: " index" ,
146
78
data () {
@@ -164,15 +96,6 @@ export default {
164
96
tkbh: ' 20221026220424001' ,
165
97
ddbh: ' 20221026220424001' ,
166
98
goods: [
167
- {
168
- name: ' 颜衫短袖男polo衫夏季翻领衣服潮牌休闲上衣夏天翻领半袖男士t恤' ,
169
- img: ' https://b2c-v5-yanshi.oss-cn-hangzhou.aliyuncs.com/upload/1/common/images/20220723/20220723115621165854858145027_SMALL.webp' ,
170
- ddje: ' 199' ,
171
- mj: ' 张三' ,
172
- tkje: 460 ,
173
- sqsj: ' 2022-11-19' ,
174
- tkzt: ' 申请维权(仅退款)'
175
- },
176
99
{
177
100
name: ' 颜衫短袖男polo衫夏季翻领衣服潮牌休闲上衣夏天翻领半袖男士t恤' ,
178
101
img: ' https://b2c-v5-yanshi.oss-cn-hangzhou.aliyuncs.com/upload/1/common/images/20220723/20220723115621165854858145027_SMALL.webp' ,
@@ -188,15 +111,6 @@ export default {
188
111
tkbh: ' 20221026220424001' ,
189
112
ddbh: ' 20221026220424001' ,
190
113
goods: [
191
- {
192
- name: ' 颜衫短袖男polo衫夏季翻领衣服潮牌休闲上衣夏天翻领半袖男士t恤' ,
193
- img: ' https://b2c-v5-yanshi.oss-cn-hangzhou.aliyuncs.com/upload/1/common/images/20220723/20220723115621165854858145027_SMALL.webp' ,
194
- ddje: ' 199' ,
195
- mj: ' 张三' ,
196
- tkje: 460 ,
197
- sqsj: ' 2022-11-19' ,
198
- tkzt: ' 申请维权(仅退款)'
199
- },
200
114
{
201
115
name: ' 颜衫短袖男polo衫夏季翻领衣服潮牌休闲上衣夏天翻领半袖男士t恤' ,
202
116
img: ' https://b2c-v5-yanshi.oss-cn-hangzhou.aliyuncs.com/upload/1/common/images/20220723/20220723115621165854858145027_SMALL.webp' ,
@@ -212,15 +126,6 @@ export default {
212
126
tkbh: ' 20221026220424001' ,
213
127
ddbh: ' 20221026220424001' ,
214
128
goods: [
215
- {
216
- name: ' 颜衫短袖男polo衫夏季翻领衣服潮牌休闲上衣夏天翻领半袖男士t恤' ,
217
- img: ' https://b2c-v5-yanshi.oss-cn-hangzhou.aliyuncs.com/upload/1/common/images/20220723/20220723115621165854858145027_SMALL.webp' ,
218
- ddje: ' 199' ,
219
- mj: ' 张三' ,
220
- tkje: 460 ,
221
- sqsj: ' 2022-11-19' ,
222
- tkzt: ' 申请维权(仅退款)'
223
- },
224
129
{
225
130
name: ' 颜衫短袖男polo衫夏季翻领衣服潮牌休闲上衣夏天翻领半袖男士t恤' ,
226
131
img: ' https://b2c-v5-yanshi.oss-cn-hangzhou.aliyuncs.com/upload/1/common/images/20220723/20220723115621165854858145027_SMALL.webp' ,
@@ -242,48 +147,3 @@ export default {
242
147
}
243
148
}
244
149
</script >
245
-
246
- <style lang="scss" scoped>
247
- ::v-deep .table-wrapper {
248
- border-bottom : none ;
249
- & ::before {
250
- height : 0 ;
251
- }
252
- .table-header {
253
- line-height : 36px ;
254
- }
255
- .el-table__row {
256
- .el-table__cell {
257
- border-bottom : none ;
258
- .cell {
259
- .el-table {
260
- .el-table__row {
261
- >.el-table__cell {
262
- .goods-info {
263
- display : flex ;
264
- img {
265
- margin-right : 10px ;
266
- width : 60px ;
267
- height : 60px ;
268
- border : 1px solid #e2e2e2 ;
269
- }
270
- }
271
- .ellipsis-2 {
272
- display : -webkit-box ;
273
- overflow : hidden ;
274
- text-overflow : ellipsis ;
275
- white-space : normal ;
276
- -webkit-line-clamp : 2 ; /* 要显示的行数 */
277
- -webkit-box-orient : vertical ;
278
- word-break : break-all ;
279
- line-height : 22px !important ;
280
- max-height : 44px !important ;
281
- }
282
- }
283
- }
284
- }
285
- }
286
- }
287
- }
288
- }
289
- </style >
0 commit comments