详情空白

This commit is contained in:
zhaokaiyao@91isoft.com
2021-12-15 10:30:37 +08:00
parent 8f30e36ec5
commit 4703d2d425
@@ -3235,41 +3235,41 @@ export default {
}, { }, {
_this: this _this: this
}, res => { }, res => {
displayLocation.map(item => { // displayLocation.map(item => {
if (item.value === '2URVBGR2Y4UG77KZ5YPL') { // if (item.value === '2URVBGR2Y4UG77KZ5YPL') {
item.child.forEach(items =>{ // item.child.forEach(items =>{
let accessCountry = JSON.parse(sessionStorage.getItem("accessCountry")); // let accessCountry = JSON.parse(sessionStorage.getItem("accessCountry"));
if (accessCountry.country === undefined) { // if (accessCountry.country === undefined) {
accessCountry.country = '文本' // accessCountry.country = '文本'
} // }
if(items.attrField === 'SSRQ') { // if(items.attrField === 'SSRQ') {
items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':' // items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':'
if (accessCountry.ssrq !== undefined) { // if (accessCountry.ssrq !== undefined) {
item.value = accessCountry.ssrq // item.value = accessCountry.ssrq
} // }
} else if (items.attrField === 'ZCCSSRQ') { // } else if (items.attrField === 'ZCCSSRQ') {
items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':' // items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':'
if (accessCountry.zccssrqgj !== undefined) { // if (accessCountry.zccssrqgj !== undefined) {
item.value = accessCountry.zccssrqgj // item.value = accessCountry.zccssrqgj
} // }
} else if(items.attrField === 'XCXSSRQ') { // } else if(items.attrField === 'XCXSSRQ') {
items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':' // items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':'
if (accessCountry.xcxssrqgj !== undefined) { // if (accessCountry.xcxssrqgj !== undefined) {
item.value = accessCountry.xcxssrqgj // item.value = accessCountry.xcxssrqgj
} // }
//
} // }
}) // })
for (let key in res.data) { // for (let key in res.data) {
item.one.push({ // item.one.push({
attrName: key, // attrName: key,
value: res.data[key].join(','), // value: res.data[key].join(','),
isShowImp: '0', // isShowImp: '0',
id: key // id: key
}) // })
} // }
} // }
}) // })
this.dynamicFormField = displayLocation this.dynamicFormField = displayLocation
}) })
sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation)) sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))