Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 92f17f98
authored
Mar 10, 2026
by
cen
Committed by
chenwq1
Mar 18, 2026
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 工单确认修改
1 parent
3a5d8f20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
pages/boutique/tool/components/ConfirmOrder.vue
pages/boutique/tool/components/ConfirmOrder.vue
View file @
92f17f9
...
@@ -286,7 +286,7 @@ export default {
...
@@ -286,7 +286,7 @@ export default {
let
warrantyCardList
=
[]
let
warrantyCardList
=
[]
for
(
var
i
=
0
;
i
<
data
?.
subOrderList
?.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
data
?.
subOrderList
?.
length
;
i
++
)
{
let
e
=
data
?.
subOrderList
[
i
]
let
e
=
data
?.
subOrderList
[
i
]
total_price
+=
e
.
finalPrice
total_price
+=
Number
(
e
.
finalPrice
)
||
0
// 根据订单类型决定使用哪个价格:
// 根据订单类型决定使用哪个价格:
// - 正常订单(1)和冲量活动(4):使用 totalPrice(原价)
// - 正常订单(1)和冲量活动(4):使用 totalPrice(原价)
// - 打折策略(2)、买赠策略(3)、组合付款(5):使用 finalPrice(优惠后价格)
// - 打折策略(2)、买赠策略(3)、组合付款(5):使用 finalPrice(优惠后价格)
...
@@ -373,7 +373,7 @@ export default {
...
@@ -373,7 +373,7 @@ export default {
item
.
packageGoodsOrderList
.
forEach
(
g
=>
{
item
.
packageGoodsOrderList
.
forEach
(
g
=>
{
g
.
positionStr
=
this
.
positionTypeList
.
filter
(
v
=>
v
.
positionValue
==
g
.
upgradeGoodsPosition
)[
0
]?.
positionName
||
''
g
.
positionStr
=
this
.
positionTypeList
.
filter
(
v
=>
v
.
positionValue
==
g
.
upgradeGoodsPosition
)[
0
]?.
positionName
||
''
})
})
total_price
+=
item
.
finalPrice
total_price
+=
Number
(
item
.
finalPrice
)
||
0
})
})
data
=
{
data
=
{
...
...
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