发票识别信息取值错误问题修复

This commit is contained in:
ap007 2022-12-02 15:16:42 +08:00
parent 34c20df5f7
commit 3710d60c5d

View File

@ -55,11 +55,11 @@
let sResult = RunJavaMethodTrans("com.ample.icms.service.ImageOcrService","invoiceOrcOfInvoice","contractId=<%=ContractId%>,flowNo=FundPaymentCarFlow");
if(sResult!=null&&sResult.error_code==0&&sResult.result.发票号码!=''){
const resultList = sResult.result;
let Invoice_code = resultList.发票码;
let Invoice_number = resultList.发票码;
let Invoice_code = resultList.发票码;
let Invoice_number = resultList.发票码;
let Invoice_date = resultList.开票日期;
Invoice_date = Invoice_date.substr(0,4)+'/'+Invoice_date.substr(4,2)+'/'+Invoice_date.substr(6,2);
let Invoice_money = resultList.不含税价小写;
let Invoice_money = resultList.价税合计小写;
let tax_due = resultList.增值税税额;
let tax_rate = resultList.增值税税率或征收税率;
setItemValue(0,0,"Invoice_code", Invoice_code);