Commit 3639a939 authored by 于广洋's avatar 于广洋

请求数据成功

parent 2569a7e4
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
hideLoading(); hideLoading();
var companyInfo = data; var companyInfo = data;
$("#djxh").attr("value", companyInfo.djxh); $("#djxh").attr("value", companyInfo.djxh);
if (companyInfo.returnCode == "00") { if (companyInfo.success) {
/*companyInfo.content.gzTaxInfos.push( /*companyInfo.content.gzTaxInfos.push(
{ {
"sbxxId":"20200612181124bda9492c2fe34faeb3f4f686260363eb", "sbxxId":"20200612181124bda9492c2fe34faeb3f4f686260363eb",
...@@ -182,8 +182,8 @@ ...@@ -182,8 +182,8 @@
"nssbqz2":null "nssbqz2":null
} }
);*/ );*/
companyInfo.content.config = config companyInfo.bean.config = config
initpage = initPage(companyInfo.content); initpage = initPage(companyInfo.bean);
} else { } else {
hideLoading(); hideLoading();
alertWarning(companyInfo.returnMessage); alertWarning(companyInfo.returnMessage);
......
...@@ -142,9 +142,9 @@ ...@@ -142,9 +142,9 @@
var companyInfo = data; var companyInfo = data;
companyInfo.config = config companyInfo.config = config
$("#djxh").attr("value", companyInfo.djxh); $("#djxh").attr("value", companyInfo.djxh);
if (companyInfo.returnCode == "00") { if (companyInfo.success) {
companyInfo.content.config = config companyInfo.bean.config = config
initpage = initPage(companyInfo.content); initpage = initPage(companyInfo.bean);
$("#getInputValue").on("focus", function() { $("#getInputValue").on("focus", function() {
WdatePicker({ WdatePicker({
isShowClear:false, isShowClear:false,
......
...@@ -137,9 +137,9 @@ ...@@ -137,9 +137,9 @@
// $("#token").attr("value",""); // $("#token").attr("value","");
var companyInfo = data; var companyInfo = data;
$("#djxh").attr("value", companyInfo.djxh); $("#djxh").attr("value", companyInfo.djxh);
if (companyInfo.returnCode == "00") { if (companyInfo.success) {
companyInfo.content.config = config companyInfo.bean.config = config
initpage = initPage(companyInfo.content); initpage = initPage(companyInfo.bean);
$("#getInputValue").on("focus", function() { $("#getInputValue").on("focus", function() {
WdatePicker({ WdatePicker({
isShowClear:false, isShowClear: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