详情空白
This commit is contained in:
@@ -3235,41 +3235,41 @@ export default {
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
displayLocation.map(item => {
|
||||
if (item.value === '2URVBGR2Y4UG77KZ5YPL') {
|
||||
item.child.forEach(items =>{
|
||||
let accessCountry = JSON.parse(sessionStorage.getItem("accessCountry"));
|
||||
if (accessCountry.country === undefined) {
|
||||
accessCountry.country = '文本'
|
||||
}
|
||||
if(items.attrField === 'SSRQ') {
|
||||
items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
if (accessCountry.ssrq !== undefined) {
|
||||
item.value = accessCountry.ssrq
|
||||
}
|
||||
} else if (items.attrField === 'ZCCSSRQ') {
|
||||
items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
if (accessCountry.zccssrqgj !== undefined) {
|
||||
item.value = accessCountry.zccssrqgj
|
||||
}
|
||||
} else if(items.attrField === 'XCXSSRQ') {
|
||||
items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
if (accessCountry.xcxssrqgj !== undefined) {
|
||||
item.value = accessCountry.xcxssrqgj
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
for (let key in res.data) {
|
||||
item.one.push({
|
||||
attrName: key,
|
||||
value: res.data[key].join(','),
|
||||
isShowImp: '0',
|
||||
id: key
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
// displayLocation.map(item => {
|
||||
// if (item.value === '2URVBGR2Y4UG77KZ5YPL') {
|
||||
// item.child.forEach(items =>{
|
||||
// let accessCountry = JSON.parse(sessionStorage.getItem("accessCountry"));
|
||||
// if (accessCountry.country === undefined) {
|
||||
// accessCountry.country = '文本'
|
||||
// }
|
||||
// if(items.attrField === 'SSRQ') {
|
||||
// items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
// if (accessCountry.ssrq !== undefined) {
|
||||
// item.value = accessCountry.ssrq
|
||||
// }
|
||||
// } else if (items.attrField === 'ZCCSSRQ') {
|
||||
// items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
// if (accessCountry.zccssrqgj !== undefined) {
|
||||
// item.value = accessCountry.zccssrqgj
|
||||
// }
|
||||
// } else if(items.attrField === 'XCXSSRQ') {
|
||||
// items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
// if (accessCountry.xcxssrqgj !== undefined) {
|
||||
// item.value = accessCountry.xcxssrqgj
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// for (let key in res.data) {
|
||||
// item.one.push({
|
||||
// attrName: key,
|
||||
// value: res.data[key].join(','),
|
||||
// isShowImp: '0',
|
||||
// id: key
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
this.dynamicFormField = displayLocation
|
||||
})
|
||||
sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
|
||||
|
||||
Reference in New Issue
Block a user