mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-27 08:29:59 +08:00
支持 采购数量为0
This commit is contained in:
parent
db2d71d846
commit
eb040ae0ca
@ -94,7 +94,7 @@
|
|||||||
let msg = '';
|
let msg = '';
|
||||||
$that.resourceEnterManageInfo.purchaseApplyDetailVo.forEach(function(item) {
|
$that.resourceEnterManageInfo.purchaseApplyDetailVo.forEach(function(item) {
|
||||||
console.log(item);
|
console.log(item);
|
||||||
if (!item.hasOwnProperty("purchaseQuantity") || !item.purchaseQuantity || parseInt(item.purchaseQuantity) <= 0) {
|
if (!item.hasOwnProperty("purchaseQuantity") || !item.purchaseQuantity || parseInt(item.purchaseQuantity) < 0) {
|
||||||
msg = '采购数量未填写';
|
msg = '采购数量未填写';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user