Commit e82d4f98 authored by 18083's avatar 18083

手工凭证导入增加校验

parent 7388bf7c
...@@ -105,6 +105,10 @@ ...@@ -105,6 +105,10 @@
Leaf.showMessage('提示', '审批中、审批通过的凭证不可提交审批!'); Leaf.showMessage('提示', '审批中、审批通过的凭证不可提交审批!');
return; return;
} }
if (!Ext.isEmpty(record.get('error_message'))){
Leaf.showMessage('提示', '凭证导入存在报错信息,不允许提交审批!');
return;
}
} }
var journal_header_imp_list = []; var journal_header_imp_list = [];
......
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