优化单据中仓库的校验逻辑

This commit is contained in:
季圣华
2020-12-22 00:02:05 +08:00
parent 8cc8dea077
commit 6f733eb0a0
3 changed files with 20 additions and 7 deletions

View File

@@ -1262,7 +1262,7 @@
}
var totalRowNum = "";
for (var i = 0; i < row.length; i++) {
if (row[i].DepotId == "" || row[i].barCode == "" || row[i].OperNumber == "" || row[i].UnitPrice === "" || row[i].AllPrice === "") {
if (row[i].barCode == "" || row[i].OperNumber == "" || row[i].UnitPrice === "" || row[i].AllPrice === "") {
totalRowNum += (i + 1) + "";
}
}