无验证码.js
1.51 KB
Mobile_NS.scanQRCode(function(result){
Mobile_NS.showLoader();
Mobile_NS.ajax("/mobile/plugin/1/fna/invoiceInfoAjax.jsp", {"result" : result,"type" : "0"}, function(responseText){
Mobile_NS.hideLoader();
if(responseText.status == 1){
var title = responseText.title;
var _taxIncludedPrice = responseText._taxIncludedPrice;
var _priceWithoutTax = responseText._priceWithoutTax;
var _tax = responseText._tax;
var _invoiceNumber = responseText._invoiceNumber;
var _invoicecode = responseText._invoicecode;
var _purchaser = responseText._purchaser;
var _seller = responseText._seller;
var _billingDate = responseText._billingDate;
var _checkCode = responseText._checkCode;
var fplx = responseText.fplx;
var _taxRate = responseText._taxRate;
var _invoiceServiceYype = responseText._invoiceServiceYype;
var detaildata = responseText.detaildata;
var url = "/mobilemode/appHomepageView.jsp?appHomepageId=2&title="+title+"&_taxIncludedPrice="+_taxIncludedPrice+"&_priceWithoutTax="+_priceWithoutTax+
"&_tax="+_tax+"&_invoiceNumber="+_invoiceNumber+"&_invoicecode="+_invoicecode+"&_purchaser="+_purchaser+"&_seller="+_seller+
"&_billingDate="+_billingDate+"&_checkCode="+_checkCode+"&fplx="+fplx+"&_taxRate="+_taxRate+"&_invoiceServiceYype="+_invoiceServiceYype+
"&detaildata="+encodeURIComponent(JSON.stringify(detaildata));
$u(url);
}else{
Mobile_NS.Alert(responseText.errMsg, false);
return;
}
},"json");
});