优化供应商和商品的单据填写框

This commit is contained in:
季圣华
2019-05-03 14:48:29 +08:00
parent f69369dc1f
commit b49ce215db
5 changed files with 26 additions and 6 deletions

View File

@@ -275,4 +275,16 @@
}
}
return newArr;
}
/**
* 验证单据
* @param id
*/
function validateForm(id) {
if(!$('#'+ id).form('validate')) {
return true;
} else {
return false;
}
}