Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rs-admin
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
翟畅
rs-admin
Commits
e00d9f90
提交
e00d9f90
authored
12月 27, 2022
作者:
翟畅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zc订单地址
上级
1646ebb4
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
9 行删除
+11
-9
order_processing.vue
src/views/order/order/order_processing.vue
+2
-1
order_processing.vue
src/views/order/returnGoods/order_processing.vue
+9
-8
没有找到文件。
src/views/order/order/order_processing.vue
浏览文件 @
e00d9f90
...
...
@@ -568,6 +568,7 @@ export default {
orderDetAPI
(
id
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
this
.
order
=
res
.
data
.
data
this
.
order
.
invoiceContext
=
this
.
order
.
invoiceContext
?
this
.
order
.
invoiceContext
:
'1'
this
.
returnOfGoods
=
res
.
data
.
data
.
returnOfGoods
this
.
orderinfoList
=
[]
res
.
data
.
data
.
commodityList
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -582,7 +583,7 @@ export default {
this
.
orderinfoList
.
push
(
item
)
}
})
console
.
log
(
this
.
orderinfoList
,
'&&&&******'
)
this
.
salesOrderList
=
this
.
orderinfoList
this
.
statusHis
=
res
.
data
.
data
.
orderStatusLogVOList
this
.
addressInfo
=
res
.
data
.
data
.
deliveryAddressVO
...
...
src/views/order/returnGoods/order_processing.vue
浏览文件 @
e00d9f90
...
...
@@ -335,20 +335,14 @@ export default {
returnOrderDetAPI
({
orderId
:
this
.
orderid
,
refundId
:
this
.
refundId
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
this
.
order
=
res
.
data
.
data
this
.
order
.
invoiceContext
=
this
.
order
.
invoiceContext
?
this
.
order
.
invoiceContext
:
'1'
this
.
returnOfGoods
=
res
.
data
.
data
.
returnOfGoods
this
.
orderinfoList
=
res
.
data
.
data
.
commodityList
this
.
statusHis
=
res
.
data
.
data
.
orderStatusLogVOList
this
.
addressInfo
=
res
.
data
.
data
.
deliveryAddressVO
this
.
getAddList
()
let
data
=
this
.
order
.
orderType
==
'5'
?{
'0'
:
1
,
'1'
:
2
,
'2'
:
3
,
'6'
:
4
}:{
'0'
:
1
,
'1'
:
2
,
'6'
:
3
}
console
.
log
(
data
,
6666666
)
this
.
activeProgress
=
data
[
this
.
order
.
status
]
this
.
$nextTick
(()
=>
{
let
selectedList
=
[]
this
.
returnTotalPrice
=
0
this
.
orderinfoList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
refundId
||
this
.
returnOfGoods
.
refundId
){
if
(
item
.
refundId
){
this
.
returnTotalPrice
+=
Number
(
item
.
realPrice
)
*
Number
(
item
.
num
)
selectedList
.
push
(
item
)
}
...
...
@@ -359,6 +353,13 @@ export default {
})
}
})
this
.
statusHis
=
res
.
data
.
data
.
orderStatusLogVOList
this
.
addressInfo
=
res
.
data
.
data
.
deliveryAddressVO
this
.
getAddList
()
let
data
=
this
.
order
.
orderType
==
'5'
?{
'0'
:
1
,
'1'
:
2
,
'2'
:
3
,
'6'
:
4
}:{
'0'
:
1
,
'1'
:
2
,
'6'
:
3
}
this
.
activeProgress
=
data
[
this
.
order
.
status
]
}
else
{
this
.
$message
.
error
(
'获取数据失败'
);
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论