Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
wx-notification
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 467a16ef
authored
Apr 14, 2026
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
屏蔽库存
1 parent
f669ea8b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
src/views/cannibalize/detail.vue
src/views/cannibalize/index.vue
src/views/cannibalize/detail.vue
View file @
467a16e
...
@@ -78,13 +78,13 @@ export default {
...
@@ -78,13 +78,13 @@ export default {
return
cellValue
.
inStockQty
||
cellValue
.
inStockQty
===
0
?
cellValue
.
inStockQty
+
([
1
,
4
,
6
,
12
,
14
].
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'--'
return
cellValue
.
inStockQty
||
cellValue
.
inStockQty
===
0
?
cellValue
.
inStockQty
+
([
1
,
4
,
6
,
12
,
14
].
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'--'
}
}
},
},
{
//
{
label
:
'调出门店库存'
,
//
label: '调出门店库存',
value
:
'outStockQty'
,
//
value: 'outStockQty',
formatter
:
cellValue
=>
{
//
formatter: cellValue => {
return
cellValue
.
outStockQty
||
cellValue
.
outStockQty
===
0
?
cellValue
.
outStockQty
+
([
1
,
4
,
6
,
12
,
14
].
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'--'
//
return cellValue.outStockQty || cellValue.outStockQty === 0 ? cellValue.outStockQty + ([1, 4, 6, 12, 14].includes(cellValue.goodsType) ? '米' : '件') : '--'
}
//
}
},
//
},
{
label
:
'膜卷号'
,
value
:
'filmRollNo'
}
{
label
:
'膜卷号'
,
value
:
'filmRollNo'
}
]
]
}
}
...
...
src/views/cannibalize/index.vue
View file @
467a16e
...
@@ -112,11 +112,11 @@ export default {
...
@@ -112,11 +112,11 @@ export default {
return
cellValue
.
inStockQty
||
cellValue
.
inStockQty
===
0
?
cellValue
.
inStockQty
+
([
1
,
4
,
6
,
12
,
14
].
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'--'
return
cellValue
.
inStockQty
||
cellValue
.
inStockQty
===
0
?
cellValue
.
inStockQty
+
([
1
,
4
,
6
,
12
,
14
].
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'--'
}
}
},
},
{
//
{
label
:
'调出门店库存'
,
prop
:
'outStockQty'
,
width
:
'120px'
,
formatter
:
cellValue
=>
{
//
label: '调出门店库存', prop: 'outStockQty', width: '120px', formatter: cellValue => {
return
cellValue
.
outStockQty
||
cellValue
.
outStockQty
===
0
?
cellValue
.
outStockQty
+
([
1
,
4
,
6
,
12
,
14
].
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'--'
//
return cellValue.outStockQty || cellValue.outStockQty === 0 ? cellValue.outStockQty + ([1, 4, 6, 12, 14].includes(cellValue.goodsType) ? '米' : '件') : '--'
}
//
}
},
//
},
{
{
label
:
'膜卷号'
,
prop
:
'filmRollNo'
,
width
:
'90px'
label
:
'膜卷号'
,
prop
:
'filmRollNo'
,
width
:
'90px'
}
}
...
...
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