Commit cb7da726 authored by 18083's avatar 18083

销项税发票校验调整

parent 75444bca
......@@ -253,6 +253,7 @@
var invoice_hd_ids = '';
var invoice_kind = records[0].get('invoice_kind');
var invoice_type = records[0].get('invoice_type');
var invoice_kind_type = records[0].get('invoice_kind_type');
var full_elec_invoice_flag = records[0].get('full_elec_invoice_flag');
for (var i = 0; i < records.length; i++) {
var invoice_status = records[i].get('invoice_status');
......@@ -264,7 +265,7 @@
$L.showErrorMessage("提示", '普票和专票不能同时勾选!');
return;
}
if(invoice_type != records[i].get('invoice_type')){
if(invoice_kind_type != records[i].get('invoice_kind_type')){
$L.showErrorMessage("提示", '纸质发票与电子发票不能同时勾选!');
return;
}
......
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