Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-inventory
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 4651f7eb
authored
Nov 24, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
回显字段错误修复
1 parent
80526295
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/views/outbound/index.vue
src/views/stock/index.vue
src/views/outbound/index.vue
View file @
4651f7e
...
@@ -191,7 +191,7 @@ export default {
...
@@ -191,7 +191,7 @@ export default {
label
:
'出库数量'
,
label
:
'出库数量'
,
prop
:
'reduceStockNum'
,
prop
:
'reduceStockNum'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
reduceStockNum
||
cellValue
.
reduceStockNum
==
0
?
parseFloat
(
cellValue
.
reduceStockNum
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'-'
return
cellValue
.
reduceStockNum
||
cellValue
.
reduceStockNum
==
0
?
parseFloat
(
cellValue
.
reduceStockNum
).
toFixed
(
2
)
+
(
this
.
$
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'-'
},
},
width
:
100
width
:
100
},
},
...
...
src/views/stock/index.vue
View file @
4651f7e
...
@@ -139,7 +139,7 @@ export default {
...
@@ -139,7 +139,7 @@ export default {
label
:
'上月结存库存'
,
label
:
'上月结存库存'
,
prop
:
'lastMonthRemainStock'
,
prop
:
'lastMonthRemainStock'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
lastMonthRemainStock
||
cellValue
.
lastMonthRemainStock
==
0
?
parseFloat
(
cellValue
.
lastMonthRemainStock
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'-'
return
cellValue
.
lastMonthRemainStock
||
cellValue
.
lastMonthRemainStock
==
0
?
parseFloat
(
cellValue
.
lastMonthRemainStock
).
toFixed
(
2
)
+
(
this
.
$
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'-'
}
}
},
},
{
{
...
@@ -153,7 +153,7 @@ export default {
...
@@ -153,7 +153,7 @@ export default {
label
:
'当前库存'
,
label
:
'当前库存'
,
prop
:
'stock'
,
prop
:
'stock'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
stock
||
cellValue
.
stock
==
0
?
parseFloat
(
cellValue
.
stock
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
==
1
?
'米'
:
'件'
)
:
'-'
return
cellValue
.
stock
||
cellValue
.
stock
==
0
?
parseFloat
(
cellValue
.
stock
).
toFixed
(
2
)
+
(
this
.
$
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
==
1
?
'米'
:
'件'
)
:
'-'
}
}
},
},
{
{
...
...
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