Commit 240fda59 authored by 38823's avatar 38823

付款凭证(对子凭证维护页面按钮进行校验控制)

parent 83de613a
......@@ -339,6 +339,10 @@
Leaf.showMessage('${l:HLS.PROMPT}', '该凭证已传输至SBO系统');
return;
}
if(records[i].get('je_transaction_code') == 'HL_PAYMENT_FEE' && records[i].get('immediately_flag') == 'N'){
Leaf.showMessage('${l:HLS.PROMPT}','应付账款(建机)类凭证需要在付款凭证申请工作流CFO节点审批通过后才可以传输!');
return;;
}
je_detail_count = Number(records[i].get('je_detail_count'));
count = je_detail_count + Number(count);
var data = {
......
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