From e0f1652dba762d1bc1083f7ca30442d986e98d6b Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Mon, 27 Dec 2021 19:18:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E5=8F=8D=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../details/otherStandardDetails/index.vue | 47 +++++-------------- 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 6d73b5859..f9bb2931d 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -3722,41 +3722,18 @@ 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') { + 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))