一个过滤的小bug
This commit is contained in:
parent
5459750832
commit
594ccdba39
@ -504,7 +504,7 @@ export default {
|
||||
const res = await getMapBySoIdAndQuery(this.soId, this.inItemsQuery)
|
||||
this.inItems = Object.entries(res.data)
|
||||
this.inItems = this.inItems.map(([key, value]) => {
|
||||
return [key, value.filter(item => (!item.inCount && item.inCount !== item.goodsCount))]
|
||||
return [key, value.filter(item => item.inCount < item.goodsCount)]
|
||||
})
|
||||
this.inItems = this.inItems.filter(([key, value]) => value.length > 0)
|
||||
this.inItems.forEach(([key, value]) => {
|
||||
|
Loading…
Reference in New Issue
Block a user