|
|
@ -221,9 +221,9 @@ |
|
|
name:this.formData.consigneeName, |
|
|
name:this.formData.consigneeName, |
|
|
phone:this.formData.consigneeMobile, |
|
|
phone:this.formData.consigneeMobile, |
|
|
address:this.formData.address, |
|
|
address:this.formData.address, |
|
|
province:this.formData.province, |
|
|
province:this.addressObj.province, |
|
|
city:this.formData.city, |
|
|
city:this.addressObj.city, |
|
|
area:this.formData.area, |
|
|
area:this.addressObj.area, |
|
|
userName:this.formData.consigneeMobile |
|
|
userName:this.formData.consigneeMobile |
|
|
}, false,true).then((res) => { |
|
|
}, false,true).then((res) => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
@ -248,6 +248,9 @@ |
|
|
|
|
|
|
|
|
}else{ |
|
|
}else{ |
|
|
if(that.type=='edit'){ |
|
|
if(that.type=='edit'){ |
|
|
|
|
|
this.formData.city = this.addressObj.city |
|
|
|
|
|
this.formData.area = this.addressObj.area |
|
|
|
|
|
this.formData.province = this.addressObj.province |
|
|
that.tui.request("/app/supplier/edit", "post", this.formData, false, |
|
|
that.tui.request("/app/supplier/edit", "post", this.formData, false, |
|
|
true).then((res) => { |
|
|
true).then((res) => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
|