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 3433b5b2
authored
May 09, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
f7054f36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
src/views/warehousing/index.vue
src/views/warehousing/index.vue
View file @
3433b5b
...
@@ -22,7 +22,6 @@ export default {
...
@@ -22,7 +22,6 @@ export default {
name
:
'warehousing'
,
name
:
'warehousing'
,
data
()
{
data
()
{
return
{
return
{
purchaseType
:
''
,
membraneTypeList
:
membraneTypeList
,
membraneTypeList
:
membraneTypeList
,
size
:
'small'
,
size
:
'small'
,
url
:
url
,
url
:
url
,
...
@@ -145,7 +144,7 @@ export default {
...
@@ -145,7 +144,7 @@ export default {
label
:
'入库数量'
,
label
:
'入库数量'
,
prop
:
'increaseStockNum'
,
prop
:
'increaseStockNum'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
increaseStockNum
||
cellValue
.
increaseStockNum
==
0
?
parseFloat
(
cellValue
.
increaseStockNum
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
&&
cellValue
.
goodsType
!=
purchaseType
?
'米'
:
'件'
)
:
'-'
return
cellValue
.
increaseStockNum
||
cellValue
.
increaseStockNum
==
0
?
parseFloat
(
cellValue
.
increaseStockNum
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
&&
cellValue
.
goodsType
!=
this
.
$
purchaseType
?
'米'
:
'件'
)
:
'-'
},
},
width
:
120
width
:
120
},
},
...
@@ -201,7 +200,6 @@ export default {
...
@@ -201,7 +200,6 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
purchaseType
=
this
.
$purchaseType
this
.
$apis
.
product
.
getProductTypeBySceneId
({
sceneType
:
''
}).
then
(
res
=>
{
this
.
$apis
.
product
.
getProductTypeBySceneId
({
sceneType
:
''
}).
then
(
res
=>
{
this
.
baseData
.
productTypeList
=
res
this
.
baseData
.
productTypeList
=
res
this
.
getOptionsList
(
'showFormData'
)
this
.
getOptionsList
(
'showFormData'
)
...
...
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