mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-14 05:26:45 +08:00
[fix] 修复进入也面时, 赔付比例和免赔额 value 与 呈现 text 不一致的错误
This commit is contained in:
@@ -472,7 +472,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
isMedical = detailPromise.orderDTO.insuredDTOs[0].medical == '0'
|
isMedical = detailPromise.orderDTO.insuredDTOs[0].medical == '0'
|
||||||
}
|
}
|
||||||
//根据社保写死两个字段 赔付比例和免赔额
|
// 赔付比例和免赔额
|
||||||
item.calFactorLst.map(i => {
|
item.calFactorLst.map(i => {
|
||||||
if (i.code === 'getLimit') {
|
if (i.code === 'getLimit') {
|
||||||
let tempColumns = i.columns.filter(itemC => {
|
let tempColumns = i.columns.filter(itemC => {
|
||||||
@@ -481,6 +481,8 @@ export default {
|
|||||||
if (tempColumns.length !== 0) {
|
if (tempColumns.length !== 0) {
|
||||||
i.columns = tempColumns
|
i.columns = tempColumns
|
||||||
}
|
}
|
||||||
|
i.getLimit = i.columns[0].value
|
||||||
|
i.showContent = i.columns[0].text
|
||||||
}
|
}
|
||||||
//赔付比例
|
//赔付比例
|
||||||
if (i.code === 'getRate') {
|
if (i.code === 'getRate') {
|
||||||
@@ -490,6 +492,8 @@ export default {
|
|||||||
if (tempColumns.length !== 0) {
|
if (tempColumns.length !== 0) {
|
||||||
i.columns = tempColumns
|
i.columns = tempColumns
|
||||||
}
|
}
|
||||||
|
i.getRate = i.columns[0].value
|
||||||
|
i.showContent = i.columns[0].text
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
|||||||
Reference in New Issue
Block a user