Commit f5dbb7e2 by anxiaohe

货品模块删除验证

parent 75f8d9b9
......@@ -103,7 +103,7 @@
if(!isValidate){
return false;
}else{
var hasDetails = getTableData().length == 0;
var hasDetails = getTableData().filter(function (e) { return e.delFlag != 1 }).length == 0;
if(hasDetails){
jp.warning('请填写明细!');
return;
......
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