Commit b62c5776 by 宋祥

1.库存盘点不校验实物数量

parent 6f7a8f05
...@@ -65,11 +65,11 @@ let select = function () { ...@@ -65,11 +65,11 @@ let select = function () {
return; return;
} }
for (let i = 0; i < rows.length; i++) { for (let i = 0; i < rows.length; i++) {
let entityAmount = rows[i]['entityAmount']; // let entityAmount = rows[i]['entityAmount'];
if (!isPositiveInteger(entityAmount)) { // if (!isPositiveInteger(entityAmount)) {
message("勾选的第" + (i + 1) + "行实物数量必须是大于0的整数"); // message("勾选的第" + (i + 1) + "行实物数量必须是大于0的整数");
return; // return;
} // }
} }
JSUtils.confirm("确定对勾选中的[" + rows.length + "]条数据生成盘点单吗? ", { JSUtils.confirm("确定对勾选中的[" + rows.length + "]条数据生成盘点单吗? ", {
ok: function () { ok: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment