From 4a8c7a30718bc2cdca78695416c75be09da63a8d Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Mon, 14 Jul 2025 18:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/accessory/child/inventory_count_form.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(); //遍历最终文件集合