去除共享库存验证
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 goodsEditorStockNumber = ref(0)
|
||||||
const goodsEditorStockLoading = ref(false)
|
const goodsEditorStockLoading = ref(false)
|
||||||
function goodStockNumberHandle(item) {
|
function goodStockNumberHandle(item) {
|
||||||
if (item.isDistribute == 0 && item.typeEnum == 'sku') {
|
// if (item.isDistribute == 0 && item.typeEnum == 'sku') {
|
||||||
ElMessage({
|
// ElMessage({
|
||||||
type: 'warning',
|
// type: 'warning',
|
||||||
message: '未开启共享库存无法修改',
|
// message: '未开启共享库存无法修改',
|
||||||
|
|
||||||
showClose: true,
|
// showClose: true,
|
||||||
})
|
// })
|
||||||
} else {
|
// } else {
|
||||||
goodsEditorStockItem.value = item
|
// goodsEditorStockItem.value = item
|
||||||
goodsEditorStockNumber.value = item.stockNumber
|
// goodsEditorStockNumber.value = item.stockNumber
|
||||||
showGoodsEditorStock.value = true
|
// showGoodsEditorStock.value = true
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
goodsEditorStockItem.value = item
|
||||||
|
goodsEditorStockNumber.value = item.stockNumber
|
||||||
|
showGoodsEditorStock.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// 确认修改库存
|
// 确认修改库存
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue