Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 f35fff60
authored
May 15, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单退款
1 parent
982b07d7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
src/views/orderManage/components/newSignRefundDialog.vue
src/views/orderManage/orderDetail.vue
src/views/orderManage/components/newSignRefundDialog.vue
View file @
f35fff6
...
@@ -22,10 +22,13 @@
...
@@ -22,10 +22,13 @@
{{
item
.
price
}}
元
{{
item
.
price
}}
元
</el-form-item>
</el-form-item>
<el-form-item
label=
"退款子项:"
:key=
"item.refundSubOrderCode"
>
<el-form-item
label=
"退款子项:"
:key=
"item.refundSubOrderCode"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.refundSubOrderCode"
placement=
"top-start"
>
<div
class=
"refund-sub"
>
{{
item
.
refundSubOrderCode
}}
</div>
<div
class=
"refund-sub"
>
{{
item
.
refundSubOrderCode
}}
</div>
</el-tooltip>
</el-form-item>
</el-form-item>
<el-form-item
label=
"可退总价:"
:key=
"item.total"
>
<el-form-item
label=
"可退总价:"
:key=
"item.total"
>
{{
item
.
total
}}
{{
item
.
total
}}
元
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-form>
</el-form>
...
@@ -687,7 +690,7 @@ export default {
...
@@ -687,7 +690,7 @@ export default {
orderCode
:
this
.
detail
.
orderCode
,
orderCode
:
this
.
detail
.
orderCode
,
price
:
this
.
detail
.
totalPrice
,
price
:
this
.
detail
.
totalPrice
,
total
:
this
.
detail
.
total
,
total
:
this
.
detail
.
total
,
refundSubOrderCode
:
this
.
detail
.
refundSubOrderCode
+
this
.
detail
.
refundSubOrderCode
refundSubOrderCode
:
this
.
detail
.
refundSubOrderCode
})
})
this
.
infoForm
.
bizOrderCodeList
.
push
(
this
.
detail
.
orderCode
)
this
.
infoForm
.
bizOrderCodeList
.
push
(
this
.
detail
.
orderCode
)
// 判断是否部分退款
// 判断是否部分退款
...
@@ -1109,7 +1112,9 @@ export default {
...
@@ -1109,7 +1112,9 @@ export default {
)?.
merchantName
||
""
)?.
merchantName
||
""
this
.
dealMerchant
()
this
.
dealMerchant
()
// console.log('this.okParams------------', this.okParams)
// console.log('this.okParams------------', this.okParams)
// 新增退款子项
this
.
okParams
.
refundSubOrderCode
=
this
.
detail
.
refundSubOrderCode
this
.
okParams
.
refundableTotalPrice
=
this
.
detail
.
total
addRefundApplyRecord
(
this
.
okParams
).
then
((
res
)
=>
{
addRefundApplyRecord
(
this
.
okParams
).
then
((
res
)
=>
{
this
.
notice
.
okTips
(
"操作成功"
)
this
.
notice
.
okTips
(
"操作成功"
)
this
.
visible
=
true
this
.
visible
=
true
...
@@ -1333,6 +1338,9 @@ export default {
...
@@ -1333,6 +1338,9 @@ export default {
}
}
}
}
.refund-sub
{
.refund-sub
{
width
:
300px
;
white-space
:
nowrap
;
/* 禁止文本换行 */
overflow
:
hidden
;
/* 超出内容隐藏 */
text-overflow
:
ellipsis
;
/* 超出部分显示省略号 */
max-width
:
200px
;
}
}
</
style
>
</
style
>
src/views/orderManage/orderDetail.vue
View file @
f35fff6
...
@@ -382,7 +382,7 @@
...
@@ -382,7 +382,7 @@
v-if=
"remarkVisible"
v-if=
"remarkVisible"
@
dialogClose=
"remarkDialogClose"
@
dialogClose=
"remarkDialogClose"
/>
/>
<refundDetail
:dataInfo=
"dataInfo"
:refundVisible=
"refundVisible"
@
handleClose=
"handleClose"
@
handleConfirm=
"handleConfirm"
></refundDetail>
<refundDetail
:dataInfo=
"dataInfo"
:refundVisible=
"refundVisible"
@
handleClose=
"handle
Refund
Close"
@
handleConfirm=
"handleConfirm"
></refundDetail>
<!-- <sign-refund-dialog :sign-refund-visible="signRefundVisible"
<!-- <sign-refund-dialog :sign-refund-visible="signRefundVisible"
:is-partial-refund="isPartialRefund"
:is-partial-refund="isPartialRefund"
:detail="detail"
:detail="detail"
...
@@ -581,7 +581,7 @@ export default {
...
@@ -581,7 +581,7 @@ export default {
orderCode
:
routerParams
?.
orderCode
orderCode
:
routerParams
?.
orderCode
}
}
},
},
handleClose
()
{
handle
Refund
Close
()
{
this
.
refundVisible
=
false
this
.
refundVisible
=
false
},
},
handleConfirm
(
val
)
{
handleConfirm
(
val
)
{
...
...
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