diff --git a/js/accessory/child/inventory_count_form.js b/js/accessory/child/inventory_count_form.js index 66e28c9..b8c4915 100644 --- a/js/accessory/child/inventory_count_form.js +++ b/js/accessory/child/inventory_count_form.js @@ -130,11 +130,11 @@ function submitApply(data) { if (list.length === 0) { return layer.msg('未添加盘点明细数据', { icon: 7 }); } - for (let i = 0; i < list.length; i++) { - if (list[i].checkNum === 0 || list[i].checkNum === '0') { - return layer.msg('盘点明细,第' + (i + 1) + '行,未填写本次盘点量', { icon: 7 }); - } - } + // for (let i = 0; i < list.length; i++) { + // if (list[i].checkNum === 0 || list[i].checkNum === '0') { + // return layer.msg('盘点明细,第' + (i + 1) + '行,未填写本次盘点量', { icon: 7 }); + // } + // } data.field.detailList = list; let formData = new FormData(); //遍历最终文件集合