fix:待入库商品>0时禁止切换仓库
This commit is contained in:
parent
5c0baa6d18
commit
585d0edcda
@ -1520,6 +1520,10 @@ export default {
|
||||
|
||||
// 仓库弹窗
|
||||
openWarehousePicker(tab) {
|
||||
if (this.pendingCount > 0) {
|
||||
uni.showToast({ title: '已有待入库商品,请先提交入库再切换仓库', icon: 'none' })
|
||||
return
|
||||
}
|
||||
this.pickerTargetTab = tab
|
||||
this.showWarehousePicker = true
|
||||
const savedData = tab === 'isbn' ? this.isbnWarehouseData : this.noIsbnWarehouseData
|
||||
|
||||
Loading…
Reference in New Issue
Block a user