Commit 9c91b2c6 authored by lijingjing's avatar lijingjing

Merge branch 'refs/heads/feature/acr_create' into develop

parents 191d4cf6 cae84df1
Pipeline #3799 canceled with stages
...@@ -115,6 +115,16 @@ ...@@ -115,6 +115,16 @@
} }
function acr513_invoice_confirm() { function acr513_invoice_confirm() {
var records = $('acr513_invoice_result_ds').getSelected();
if (records.length != 1) {
Leaf.showMessage('提示', '请选择一条数据');
return;
}
if (records[0].get('created_by') == ' ${/session/@user_id}') {
Leaf.showMessage('提示', '确认人不能和开票人一样,请勿确认!');
return;
}
$('acr513_invoice_result_ds').submitSelected(); $('acr513_invoice_result_ds').submitSelected();
} }
......
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