Commit f9b2695f authored by honghy's avatar honghy Committed by wux

控货权转移多语言

parent 26822133
...@@ -120,8 +120,10 @@ ...@@ -120,8 +120,10 @@
if(data) { if(data) {
if(this.$lang.locale=='zh'){ if(this.$lang.locale=='zh'){
return data.label return data.label
}else{ }else if(this.$lang.locale=='en'){
return data.labelEn return data.labelEn
} else {
return data.labelFr
} }
} }
}, },
......
...@@ -961,8 +961,10 @@ ...@@ -961,8 +961,10 @@
for(let i in d){ for(let i in d){
if(that.$lang.locale=='zh'){ if(that.$lang.locale=='zh'){
that.config['countrySn'].label.push('+'+res.data[i].tel + ' ' + res.data[i].nameZh) that.config['countrySn'].label.push('+'+res.data[i].tel + ' ' + res.data[i].nameZh)
}else{ }else if(that.$lang.locale=='en'){
that.config['countrySn'].label.push('+'+res.data[i].tel + ' ' + res.data[i].nameEn) that.config['countrySn'].label.push('+'+res.data[i].tel + ' ' + res.data[i].nameEn)
} else {
that.config['countrySn'].label.push('+'+res.data[i].tel + ' ' + res.data[i].nameFr)
} }
// this.config['countrySn'].label.push(d[i].tel) // this.config['countrySn'].label.push(d[i].tel)
that.config['countrySn'].value.push(d[i].tel) that.config['countrySn'].value.push(d[i].tel)
......
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