This commit is contained in:
aihe 2024-07-19 18:26:09 +08:00
parent 1c9bf50816
commit 1c9021d5b8

View File

@ -156,9 +156,8 @@
Object.assign(this.submitParam, data)
},
handleAddressChoose(data) {
data.regIds.map((regId, index)=> {
let nameCodeMap = addressNameCodeMap[index]
this.submitParam[nameCodeMap.codeKey] = regId
addressNameCodeMap.map((nameCodeMap, index)=> {
this.submitParam[nameCodeMap.codeKey] = data.regIds[index]
this.submitParam[nameCodeMap.nameKey] = data.regNames[index]
})
},