|
@@ -249,9 +249,8 @@ export default {
|
|
|
EtaBusinessId:Number(this.$route.query.id)
|
|
|
}).then(res=>{
|
|
|
if(res.Ret !== 200)return
|
|
|
- this.firstFormData = res.Data
|
|
|
- const splitIndex = this.firstFormData.Address.indexOf('省')+1
|
|
|
- this.firstFormData.address = [this.firstFormData.Address.slice(0,splitIndex),this.firstFormData.Address.slice(splitIndex)]
|
|
|
+ this.firstFormData = res.Data||{}
|
|
|
+ this.firstFormData.address = [res.Data.Province||'',res.Data.City||'']
|
|
|
})
|
|
|
//获取签约详情
|
|
|
this.getTableData(Number(this.$route.query.id))
|