Commit 099befa6 authored by zhoumaotao's avatar zhoumaotao

页面调整

parent db8840b4
...@@ -128,6 +128,7 @@ ...@@ -128,6 +128,7 @@
getTryinfo(data).then(data => { getTryinfo(data).then(data => {
if (data && data.records) { if (data && data.records) {
this.ystpcode = data.records[0].tpcode ||'' this.ystpcode = data.records[0].tpcode ||''
if(data.records[0].id)
this.wlinfor = data.records this.wlinfor = data.records
} else { } else {
this.tpcode = "" this.tpcode = ""
......
...@@ -109,7 +109,8 @@ ...@@ -109,7 +109,8 @@
getTryinfo(data).then(data => { getTryinfo(data).then(data => {
if (data && data.records) { if (data && data.records) {
this.ystpcode = data.records[0].tpcode||'' this.ystpcode = data.records[0].tpcode||''
this.wlinfor = data.records if(data.records[0].id)
this.wlinfor = data.records
} else { } else {
this.tpcode = "" this.tpcode = ""
this.ystpcode = "" this.ystpcode = ""
......
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