|
@@ -1274,10 +1274,26 @@ Page({
|
|
|
console.log(e.detail.value)
|
|
|
let Info = 'oldInfo[' + this.data.activeIndex + '].chooseAdressArr1'
|
|
|
let Infos = 'oldInfo[' + this.data.activeIndex + '].addressExt'
|
|
|
+
|
|
|
+ const items = this.data.oldInfo[this.data.activeIndex].isSameWithAddress
|
|
|
+ const values = e.detail.value
|
|
|
+ for (let i = 0, lenI = items.length; i < lenI; ++i) {
|
|
|
+ items[i].checked = false
|
|
|
+ for (let j = 0, lenJ = values.length; j < lenJ; ++j) {
|
|
|
+ if (items[i].name === values[j]) {
|
|
|
+ items[i].checked = true
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ let isSameWithAddress = 'oldInfo[' + this.data.activeIndex + '].isSameWithAddress'
|
|
|
+ this.setData({
|
|
|
+ [isSameWithAddress]: items
|
|
|
+ })
|
|
|
+
|
|
|
let address = 'oldInfo[' + this.data.activeIndex + '].address'
|
|
|
console.log(this.data.oldInfo[this.data.activeIndex].nativePlaceExt, "打印下这个");
|
|
|
if (e.detail.value[0] == '现居地址与户籍地址一致') {
|
|
|
-
|
|
|
if (this.data.oldInfo[this.data.activeIndex].chooseAdressArr.length == 5) {
|
|
|
let nativePlaceId = '';
|
|
|
let nativePlace = '';
|