去除共享库存验证
This commit is contained in:
parent
45999ef022
commit
b1272852d8
15849
dist-electron/main.js
15849
dist-electron/main.js
File diff suppressed because one or more lines are too long
|
|
@ -600,18 +600,22 @@ const showGoodsEditorStock = ref(false)
|
|||
const goodsEditorStockNumber = ref(0)
|
||||
const goodsEditorStockLoading = ref(false)
|
||||
function goodStockNumberHandle(item) {
|
||||
if (item.isDistribute == 0 && item.typeEnum == 'sku') {
|
||||
ElMessage({
|
||||
type: 'warning',
|
||||
message: '未开启共享库存无法修改',
|
||||
// if (item.isDistribute == 0 && item.typeEnum == 'sku') {
|
||||
// ElMessage({
|
||||
// type: 'warning',
|
||||
// message: '未开启共享库存无法修改',
|
||||
|
||||
showClose: true,
|
||||
})
|
||||
} else {
|
||||
goodsEditorStockItem.value = item
|
||||
goodsEditorStockNumber.value = item.stockNumber
|
||||
showGoodsEditorStock.value = true
|
||||
}
|
||||
// showClose: true,
|
||||
// })
|
||||
// } else {
|
||||
// goodsEditorStockItem.value = item
|
||||
// goodsEditorStockNumber.value = item.stockNumber
|
||||
// showGoodsEditorStock.value = true
|
||||
// }
|
||||
|
||||
goodsEditorStockItem.value = item
|
||||
goodsEditorStockNumber.value = item.stockNumber
|
||||
showGoodsEditorStock.value = true
|
||||
}
|
||||
|
||||
// 确认修改库存
|
||||
|
|
|
|||
Loading…
Reference in New Issue