Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
陈婉清
/
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 a3109872
authored
Apr 26, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
批量改价bug修复
1 parent
09448ec3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/views/goodsWarehouse/index.vue
src/views/goodsWarehouse/warehouse.vue
src/views/goodsWarehouse/index.vue
View file @
a310987
...
...
@@ -294,7 +294,7 @@ export default {
let
list
=
this
.
getAllData
()
params
=
{
modifyPriceRequestList
:
list
.
map
(
item
=>
{
let
curPrice
=
item
.
s
ale
Price
||
0
let
curPrice
=
item
.
s
ell
Price
||
0
let
addPrice
=
this
.
batchPrice
||
0
let
priceAmount
=
Number
(((
+
curPrice
)
+
(
+
addPrice
)).
toFixed
(
2
))
return
{
id
:
item
.
id
,
salePrice
:
priceAmount
}
...
...
src/views/goodsWarehouse/warehouse.vue
View file @
a310987
...
...
@@ -239,7 +239,7 @@ export default {
let
list
=
this
.
getAllData
()
params
=
{
modifyPriceRequestList
:
list
.
map
(
item
=>
{
let
curPrice
=
item
.
s
ale
Price
||
0
let
curPrice
=
item
.
s
ell
Price
||
0
let
addPrice
=
this
.
batchPrice
||
0
let
priceAmount
=
Number
(((
+
curPrice
)
+
(
+
addPrice
)).
toFixed
(
2
))
return
{
id
:
item
.
id
,
salePrice
:
priceAmount
}
...
...
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