Commit c3af3058 authored by stone's avatar stone

[fix]金税已经回写,也可以进行反冲

parent c060396a
...@@ -129,12 +129,12 @@ ...@@ -129,12 +129,12 @@
return; return;
} }
} }
for (var i = 0;i < records.length;i++) { // for (var i = 0;i < records.length;i++) {
if (records[i].get('vat_interface_status')=='BACK') { // if (records[i].get('vat_interface_status')=='BACK') {
Leaf.showMessage('${l:HLS.PROMPT}', '单据号:' + records[i].get('document_number') + '金税状态已回写,不可反冲'); // Leaf.showMessage('${l:HLS.PROMPT}', '单据号:' + records[i].get('document_number') + '金税状态已回写,不可反冲');
return; // return;
} // }
} // }
for (var i = 0;i < records.length;i++) { for (var i = 0;i < records.length;i++) {
records[i].getField('vat_red_notice_num').setRequired(false); records[i].getField('vat_red_notice_num').setRequired(false);
......
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