功能修改

This commit is contained in:
hayu 2025-07-14 18:44:20 +08:00
parent 7d46f8ded7
commit 4a8c7a3071
1 changed files with 5 additions and 5 deletions

View File

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