一些bug的修改
This commit is contained in:
parent
ac6c36894c
commit
a0a9eaff45
@ -327,7 +327,7 @@ export default {
|
||||
item.waresCount = this.type ? count : item.waresAlreadyCount
|
||||
item.isStock = this.type ? count <= item.wares.stock : true
|
||||
})
|
||||
this.items = this.items.filter(item => this.type ? (item.waresCount > item.waresAlreadyCount) : (item.waresAlreadyCount > 0))
|
||||
this.items = this.items.filter(item => this.type ? item.waresCount > 0 : item.waresAlreadyCount > 0)
|
||||
} finally {
|
||||
this.dialogLoading = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user