Commit 60073f38 authored by stone's avatar stone

[fix]修改金税接口开票状态

parent e7500d20
...@@ -217,6 +217,12 @@ ...@@ -217,6 +217,12 @@
var detail_mask = Ext.getBody(); var detail_mask = Ext.getBody();
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}'); Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
for (var i = 0;i < records.length;i++) { for (var i = 0;i < records.length;i++) {
//判断金税状态,已经回传的不能再进行开票
if('BACK'==records[i].get('vat_interface_status')){
$L.showInfoMessage("提示",'所选择的单据中存在金税已回写状态,请检查后重试!');
Leaf.Masker.unmask(detail_mask, '${l:HLS.EXECUTING}');
return;
}
saveData.push({ saveData.push({
'invoice_hd_id': records[i].get('invoice_hd_id'), 'invoice_hd_id': records[i].get('invoice_hd_id'),
'_status': 'insert' '_status': 'insert'
......
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