Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 c67a08f1
authored
Dec 01, 2022
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商品中心调试
1 parent
4a512986
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
26 deletions
linkwe-pc/src/api/commodityCenter/commodityManage.js
linkwe-pc/src/views/commodityCenter/orderManage/list.vue
linkwe-pc/src/api/commodityCenter/commodityManage.js
View file @
c67a08f
...
@@ -194,11 +194,11 @@ export function getTableTotal(data) {
...
@@ -194,11 +194,11 @@ export function getTableTotal(data) {
}
}
// 商品分析 数据报表 导出
// 商品分析 数据报表 导出
export
function
getTableExport
(
params
)
{
export
function
getTableExport
(
data
)
{
return
request
({
return
request
({
url
:
service
+
'/analyze/data/report/export'
,
url
:
service
+
'/analyze/data/report/export'
,
method
:
'post'
,
method
:
'post'
,
responseType
:
'blob'
,
responseType
:
'blob'
,
params
,
data
,
})
})
}
}
\ No newline at end of file
\ No newline at end of file
linkwe-pc/src/views/commodityCenter/orderManage/list.vue
View file @
c67a08f
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<
/div
>
<
/div
>
<
div
v
-
if
=
"row.address && row.phone"
class
=
"ml10"
style
=
"align-self: baseline;"
>
<
div
v
-
if
=
"row.address && row.phone"
class
=
"ml10"
style
=
"align-self: baseline;"
>
<
el
-
popover
trigger
=
"hover"
width
=
"400"
>
<
el
-
popover
trigger
=
"hover"
width
=
"400"
>
<
el
-
form
ref
=
"form"
label
-
width
=
"100px"
>
<
el
-
form
ref
=
"form"
>
<
el
-
form
-
item
label
=
"联系人:"
>
<
el
-
form
-
item
label
=
"联系人:"
>
{{
row
.
contact
}}
{{
row
.
contact
}}
<
/el-form-item
>
<
/el-form-item
>
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
<a
<a
v-if="
row
.
refundStateStr
"
v-if="
row
.
refundStateStr
"
style="
color
:
#
0079
de
;
border
-
bottom
:
1
px
solid
#
0079
de
;
"
style="
color
:
#
0079
de
;
border
-
bottom
:
1
px
solid
#
0079
de
;
"
@click="
refundStateFn
(
row
.
refund
No
)
"
@click="
refundStateFn
(
row
.
order
No
)
"
>
{{
row
.
refundStateStr
}}
<
/
a
>
{{
row
.
refundStateStr
}}
<
/
a
>
>
<
span
v
-
else
>
-
<
/span
>
<
span
v
-
else
>
-
<
/span
>
...
@@ -132,18 +132,32 @@
...
@@ -132,18 +132,32 @@
<!--
弹窗
-->
<!--
弹窗
-->
<
el
-
dialog
title
=
"交易状态"
:
visible
.
sync
=
"dialogVisible"
width
=
"800px"
:
close
-
on
-
click
-
modal
=
"false"
>
<
el
-
dialog
title
=
"交易状态"
:
visible
.
sync
=
"dialogVisible"
width
=
"800px"
:
close
-
on
-
click
-
modal
=
"false"
>
<
el
-
row
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
el
-
col
>
<
el
-
form
ref
=
"form"
label
-
width
=
"100px"
>
<
el
-
form
ref
=
"form"
label
-
width
=
"100px"
>
<
el
-
form
-
item
label
=
"交易时间:"
>
<
el
-
form
-
item
label
=
"交易时间:"
>
{{
orderState
.
payTime
}}
{{
orderState
.
payTime
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"交易单号:"
>
<
el
-
form
-
item
label
=
"交易单号:"
>
{{
orderState
.
orderNo
}}
{{
orderState
.
orderNo
}}
<
el
-
button
type
=
"text"
plain
size
=
"mini"
@
click
=
"handleCopy(orderState.orderNo)"
>
复制
<
/el-button
>
<
el
-
button
type
=
"primary"
style
=
"margin-left: 20px;"
plain
size
=
"mini"
@
click
=
"handleCopy(orderState.orderNo)"
>
复制
<
/el-butto
n
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"商户单号:"
>
<
el
-
form
-
item
label
=
"商户单号:"
>
{{
orderState
.
mchNo
}}
{{
orderState
.
mchNo
}}
<
el
-
button
type
=
"text"
plain
size
=
"mini"
@
click
=
"handleCopy(orderState.mchNo)"
>
复制
<
/el-button
>
<
el
-
button
style
=
"margin-left: 20px;"
type
=
"primary"
plain
size
=
"mini"
@
click
=
"handleCopy(orderState.mchNo)"
>
复制
<
/el-butto
n
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
<
/el-col
>
<
/el-col
>
...
@@ -153,28 +167,31 @@
...
@@ -153,28 +167,31 @@
<
/div
>
<
/div
>
<
/el-dialog
>
<
/el-dialog
>
<
el
-
dialog
title
=
"退款状态"
:
visible
.
sync
=
"dialogStateVisible"
width
=
"800px"
:
close
-
on
-
click
-
modal
=
"false"
>
<
el
-
dialog
title
=
"退款状态"
:
visible
.
sync
=
"dialogStateVisible"
width
=
"800px"
:
close
-
on
-
click
-
modal
=
"false"
>
<
el
-
row
>
<
div
style
=
"background-color: #f5f5f5; padding: 20px;"
>
<
el
-
col
:
span
=
"12
"
>
<
div
class
=
"g-card g-pad20"
v
-
for
=
"(unit, key) in refundStateList"
:
key
=
"key
"
>
<
el
-
form
ref
=
"form"
label
-
width
=
"100px"
>
<
el
-
form
ref
=
"form"
>
<
el
-
form
-
item
label
=
"退款发起时间:"
>
<
el
-
form
-
item
label
=
"退款发起时间:"
>
{{
refundState
.
refundTime
}}
{{
unit
.
refundTime
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"退款发起人:"
>
<
el
-
form
-
item
label
=
"退款发起人:"
>
{{
refundState
.
refundUserName
}}
{{
unit
.
refundUserName
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"退款备注:"
>
<
el
-
form
-
item
label
=
"退款备注:"
>
{{
refundState
.
remark
}}
{{
unit
.
remark
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"退款金额(元)"
>
<
el
-
form
-
item
label
=
"退款金额(元)"
>
{{
refundState
.
refundFee
}}
{{
unit
.
refundFee
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"退款单号:"
>
<
el
-
form
-
item
label
=
"退款单号:"
>
{{
refundState
.
refundNo
}}
{{
unit
.
refundNo
}}
<
el
-
button
type
=
"text"
plain
size
=
"mini"
@
click
=
"handleCopy(orderState.refundNo)"
>
复制
<
/el-button
>
<
el
-
button
style
=
"margin-left: 20px;"
type
=
"primary"
plain
size
=
"mini"
@
click
=
"handleCopy(unit.refundNo)"
>
复制
<
/el-butto
n
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
<
/el-col
>
<
/div
>
<
/el-row
>
<
/div
>
<
div
slot
=
"footer"
class
=
"dialog-footer ar"
>
<
div
slot
=
"footer"
class
=
"dialog-footer ar"
>
<
el
-
button
@
click
=
"dialogStateVisible = false"
>
关
闭
<
/el-button
>
<
el
-
button
@
click
=
"dialogStateVisible = false"
>
关
闭
<
/el-button
>
<
/div
>
<
/div
>
...
@@ -225,13 +242,7 @@
...
@@ -225,13 +242,7 @@
orderNo
:
''
,
orderNo
:
''
,
mchNo
:
''
mchNo
:
''
}
,
}
,
refundState
:
{
refundStateList
:
[]
refundTime
:
''
,
refundNo
:
''
,
refundUserName
:
''
,
refundFee
:
''
,
remark
:
''
}
}
}
}
,
}
,
computed
:
{
}
,
computed
:
{
}
,
...
@@ -263,7 +274,8 @@
...
@@ -263,7 +274,8 @@
}
,
}
,
refundStateFn
(
id
)
{
refundStateFn
(
id
)
{
api
.
getRefundOrderState
(
id
).
then
((
res
)
=>
{
api
.
getRefundOrderState
(
id
).
then
((
res
)
=>
{
this
.
refundState
=
res
.
data
this
.
refundStateList
=
res
.
data
this
.
refundStateList
=
[...
this
.
refundStateList
,
...
this
.
refundStateList
]
this
.
dialogStateVisible
=
true
this
.
dialogStateVisible
=
true
}
)
}
)
}
,
}
,
...
...
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