mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-13 18:48:04 +08:00
update
This commit is contained in:
@@ -332,6 +332,7 @@ export default {
|
||||
props: ["merchantId"],
|
||||
data() {
|
||||
return {
|
||||
areaList:[],
|
||||
bankValue:'',
|
||||
cityList:[], // 银行代码JSON数据
|
||||
showAdapayCorp:null,
|
||||
@@ -662,7 +663,8 @@ export default {
|
||||
console.log(this.dialogImageUrl);
|
||||
},
|
||||
areaCode(area){
|
||||
let arr = this.options.find(item => item.cities[0].value == area)
|
||||
let arr = this.areaList.find(item => item.value === area);
|
||||
console.log("areaCode code:{}, value:{}", area, arr);
|
||||
if (arr ==null){
|
||||
return '一'
|
||||
} else{
|
||||
@@ -671,7 +673,9 @@ export default {
|
||||
|
||||
},
|
||||
provCode(code){
|
||||
let arr = this.options.find(item => item.value == code)
|
||||
let arr = this.options.find(item => item.value === code);
|
||||
this.areaList=arr.cities
|
||||
console.log("provCode code:{}, value:{}", code, arr);
|
||||
if (arr ==null){
|
||||
return '一'
|
||||
} else{
|
||||
@@ -749,7 +753,10 @@ export default {
|
||||
created() {
|
||||
this.selectAdapayMember();
|
||||
this.jsonHttp();
|
||||
this.cityList = text.cityList
|
||||
this.cityList = text.cityList;
|
||||
|
||||
this.provCode("6202");
|
||||
this.areaCode("0062");
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user