|
@@ -242,7 +242,7 @@ export default {
|
|
|
// 校验库存
|
|
|
stockByProductSn({ productSn: record.productSn }).then(res => {
|
|
|
if (res.status == 200 && res.data) {
|
|
|
- if (res.data.currentStockQty && val > res.data.currentStockQty) {
|
|
|
+ if (res.data.currentStockQty != undefined && val > res.data.currentStockQty) {
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
content: '库存不足,确认添加为急件吗?',
|