Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-mall
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 100a66f0
authored
Aug 29, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修复售后订单状态和商品选择表单默认值问题
修复售后订单状态判断逻辑错误,确保正确显示退款状态 为商品选择组件添加默认的业务类型和商品位置值
1 parent
807064c3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
src/components/select-muti-pro/index.vue
src/views/saleOrder/detail.vue
src/views/saleOrder/index.vue
src/components/select-muti-pro/index.vue
View file @
100a66f
...
@@ -26,6 +26,8 @@ export default {
...
@@ -26,6 +26,8 @@ export default {
getListApi
:
this
.
$apis
.
platformGoods
.
getListApi
,
getListApi
:
this
.
$apis
.
platformGoods
.
getListApi
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
goodsFormObj
:
{
goodsFormObj
:
{
goodsPosition
:
2
,
businessType
:
1
,
goodsSkuName
:
''
,
goodsSkuName
:
''
,
goodsSource
:
''
goodsSource
:
''
},
},
...
@@ -159,6 +161,8 @@ export default {
...
@@ -159,6 +161,8 @@ export default {
},
},
handleReset
()
{
handleReset
()
{
this
.
goodsFormObj
=
{
this
.
goodsFormObj
=
{
goodsPosition
:
2
,
businessType
:
1
,
goodsSkuName
:
''
,
goodsSkuName
:
''
,
goodsSource
:
''
goodsSource
:
''
}
}
...
...
src/views/saleOrder/detail.vue
View file @
100a66f
...
@@ -231,7 +231,7 @@ export default {
...
@@ -231,7 +231,7 @@ export default {
this
.
showEmailInfo
=
returnType
==
1001
this
.
showEmailInfo
=
returnType
==
1001
res
.
returnType
=
{
1001
:
'退货退款'
,
1002
:
'仅退款'
,
1003
:
'退货换货'
}[
returnType
]
||
'--'
res
.
returnType
=
{
1001
:
'退货退款'
,
1002
:
'仅退款'
,
1003
:
'退货换货'
}[
returnType
]
||
'--'
res
.
returnReasonType
=
reasonObj
[
returnReasonType
]
res
.
returnReasonType
=
reasonObj
[
returnReasonType
]
refundStatus
=
returnOrderStatus
!=
1003
?
refundStatusObj
[
returnOrderStatus
]
:
outRefundTypeObj
[
outRefundType
]
refundStatus
=
outRefundType
!=
null
?
(
returnOrderStatus
!=
1003
?
refundStatusObj
[
returnOrderStatus
]
:
outRefundTypeObj
[
outRefundType
])
:
refundStatusObj
[
returnOrderStatus
]
res
.
goodsInfoTableDate
=
[{
res
.
goodsInfoTableDate
=
[{
brandName
,
brandName
,
goodsSkuName
,
goodsSkuName
,
...
...
src/views/saleOrder/index.vue
View file @
100a66f
...
@@ -462,7 +462,7 @@ export default {
...
@@ -462,7 +462,7 @@ export default {
...
obj
,
...
obj
,
// 售后审核类型:1-申请售后审核,2-退回商品已收货审核
// 售后审核类型:1-申请售后审核,2-退回商品已收货审核
type
:
this
.
dialogConfig
.
btnOpt
==
'check'
?
1
:
2
,
type
:
this
.
dialogConfig
.
btnOpt
==
'check'
?
1
:
2
,
returnOrderStatus
:
this
.
dialogConfig
.
btnOpt
==
'receipt'
?
'1002'
:
optType
==
'refuse'
?
'1005'
:
this
.
batchForm
.
returnOrderStatus
returnOrderStatus
:
this
.
dialogConfig
.
btnOpt
==
'receipt'
?
'1002'
:
optType
==
'refuse'
?
'1005'
:
'1001'
}
}
if
(
this
.
dialogConfig
.
btnOpt
==
'check'
)
{
if
(
this
.
dialogConfig
.
btnOpt
==
'check'
)
{
...
...
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