Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-dj-oss-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5bcdbb84
authored
Dec 14, 2021
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
e539d99c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
59 deletions
src/views/tao/order/index/index.vue
src/views/tao/order/index/index.vue
View file @
5bcdbb8
...
...
@@ -92,14 +92,8 @@
</div>
<div
class=
"bottom"
>
<el-button-group>
<el-button
type=
"primary"
@
click=
"search"
>
查询
</el-button>
<el-button
type=
"default"
@
click=
"reset"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"search"
>
查询
</el-button>
<el-button
type=
"default"
@
click=
"reset"
>
重置
</el-button>
</el-button-group>
</div>
</div>
...
...
@@ -109,22 +103,10 @@
@
tab-click=
"handleClick"
data-target=
"orderStatus"
>
<el-tab-pane
label=
"全部"
name=
""
></el-tab-pane>
<el-tab-pane
label=
"待收货"
name=
"1,2"
></el-tab-pane>
<el-tab-pane
label=
"已完成"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"退款丨售后"
name=
"4,6"
></el-tab-pane>
<el-tab-pane
label=
"全部"
name=
""
></el-tab-pane>
<el-tab-pane
label=
"待收货"
name=
"1,2"
></el-tab-pane>
<el-tab-pane
label=
"已完成"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"退款丨售后"
name=
"4,6"
></el-tab-pane>
</el-tabs>
<d2-table
v-if=
"flag"
...
...
@@ -134,15 +116,10 @@
:getListApi=
"tableParams.getListApi"
:hasNum=
"false"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"jump(scope.scope,'order')"
>
查看详情
</el-button>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"jump(scope.scope, 'order')"
>
查看详情
</el-button
>
</span>
</d2-table>
</div>
...
...
@@ -155,7 +132,7 @@ import { orderMixin, searchMixin } from '@/mixins'
export
default
{
name
:
''
,
mixins
:
[
orderMixin
,
searchMixin
],
data
()
{
data
()
{
return
{
tabIndex
:
''
,
flag
:
false
,
...
...
@@ -168,64 +145,71 @@ export default {
label
:
'商品信息'
,
minWidth
:
'300'
,
align
:
'left'
,
formatter
(
cell
)
{
let
str
=
cell
.
appearance
==
2
?
`<div>
${
cell
.
productName
}${
cell
.
denomination
}
</div>`
:
`<div>
${
cell
.
productName
}
</div>`
formatter
(
cell
)
{
let
str
=
cell
.
appearance
==
2
?
`<div>
${
cell
.
productName
}${
cell
.
denomination
}
</div>`
:
`<div>
${
cell
.
productName
}
</div>`
return
`<div>订单编号:
${
cell
.
orderCode
}
</div><div>
${
cell
.
brandName
}
</div>
${
str
}
`
}
}
,
},
{
label
:
'订单门店'
,
minWidth
:
'200'
,
formatter
(
cell
)
{
formatter
(
cell
)
{
return
cell
.
merchantName
||
''
}
}
,
},
{
label
:
'价格/数量'
,
minWidth
:
'200'
,
formatter
(
cell
)
{
formatter
(
cell
)
{
return
`
${
cell
.
salePrices
}
元\n
${
cell
.
goodsQuality
}
张`
}
}
,
},
{
label
:
'实收金额'
,
prop
:
'orderPrices'
,
minWidth
:
'200'
minWidth
:
'200'
,
},
{
label
:
'订单状态'
,
minWidth
:
'200'
,
formatter
(
cell
)
{
return
cell
.
appearance
==
1
?
window
.
vm
.
$children
[
0
].
statusEnum
[
cell
.
orderStatus
]
:
window
.
vm
.
$children
[
0
].
qb_statusEnum
[
cell
.
orderStatus
]
}
formatter
(
cell
)
{
return
cell
.
appearance
==
1
?
window
.
vm
.
$children
[
0
].
statusEnum
[
cell
.
orderStatus
]
:
window
.
vm
.
$children
[
0
].
qb_statusEnum
[
cell
.
orderStatus
]
},
},
{
label
:
'下单时间'
,
prop
:
'validitDate'
,
minWidth
:
'200'
,
sortable
:
true
,
formatter
(
cell
)
{
return
cell
.
orderDate
?
new
Date
(
cell
.
orderDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
:
'- -'
}
formatter
(
cell
)
{
return
cell
.
orderDate
?
new
Date
(
cell
.
orderDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
:
'- -'
},
},
{
label
:
'用户信息'
,
minWidth
:
'200'
,
formatter
(
cell
)
{
formatter
(
cell
)
{
return
`
${
cell
.
accountName
||
''
}
\n
${
cell
.
mobile
||
''
}
`
}
}
,
},
]
}
{
label
:
'海威订单号'
,
minWidth
:
'100'
,
addHtml
:
'thirdOrderCode'
,
},
],
},
}
},
mounted
()
{
},
methods
:
{
}
mounted
()
{},
methods
:
{},
}
</
script
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment