Commit 75a40be1 authored by 38823's avatar 38823

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

parent 62666b28
......@@ -260,6 +260,7 @@
}
//手动传输凭证
function hls301_journal_send() {
debugger;
var je_detail_count = 0;
var count = 0;
var batch_flag;
......@@ -280,6 +281,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