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 30187bb7
authored
Aug 23, 2023
by
徐忆琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.15.1_10' into 'v3.15.1'
修复bug See merge request
!15
2 parents
650ae96b
eceafeba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/views/goodsOrder/detail.vue
src/views/goodsOrder/index.vue
src/views/goodsOrder/detail.vue
View file @
30187bb
...
@@ -127,14 +127,14 @@ export default {
...
@@ -127,14 +127,14 @@ export default {
{
{
label
:
'小计 (元)'
,
label
:
'小计 (元)'
,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
return
cell
.
redeemPoints
?
cell
.
redeemPoints
+
'积分'
+
'+'
+
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
:
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
return
cell
.
redeemPoints
?
cell
.
redeemPoints
+
'积分'
+
'+'
+
+
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
:
+
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
}
}
},
},
{
{
label
:
'实收金额 (元)'
,
label
:
'实收金额 (元)'
,
prop
:
'orderAmount'
,
prop
:
'orderAmount'
,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
return
cell
.
redeemPoints
?
cell
.
redeemPoints
+
'积分'
+
'+'
+
+
(
cell
.
salePrice
).
toFixed
(
2
)
+
'元'
:
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
return
cell
.
redeemPoints
?
cell
.
redeemPoints
+
'积分'
+
'+'
+
+
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
:
+
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
}
}
}
}
]
]
...
...
src/views/goodsOrder/index.vue
View file @
30187bb
...
@@ -179,7 +179,7 @@ export default {
...
@@ -179,7 +179,7 @@ export default {
line
:
1
,
line
:
1
,
align
:
'right'
,
align
:
'right'
,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
return
cell
.
businessType
==
1
?
cell
.
redeemPoints
+
'积分'
+
'+'
+
cell
.
salePrice
+
'元'
:
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
return
cell
.
businessType
==
1
?
cell
.
redeemPoints
+
'积分'
+
'+'
+
+
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
:
+
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
+
'元'
}
}
},
},
{
{
...
...
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