mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
支持 采购数量为0
This commit is contained in:
parent
db2d71d846
commit
eb040ae0ca
@ -94,7 +94,7 @@
|
||||
let msg = '';
|
||||
$that.resourceEnterManageInfo.purchaseApplyDetailVo.forEach(function(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 = '采购数量未填写';
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user