# Conflicts:
#	src/views/ebiz/sale/NotifyingMessage.vue
This commit is contained in:
zhouna
2019-11-04 15:10:31 +08:00

View File

@@ -138,9 +138,9 @@ export default {
that.impartDTOS.map(item => {
if (item.impartType == 0 || item.impartType == 1) {
item.impartItemDTOS.map((items, index, array) => {
if (items.impartCode == '14a') {
items.show = true
}
// if (items.impartCode == '14a') {
// item.impartItemDTOS[index].show = true
// }
//标识为14a/14b并且年纪大于2岁不显示该列表
if ((items.impartCode == '14a' && that.saleInsuredAge > 2) || (items.impartCode == '14a' && this.saleInsuredPersonAge > 2)) {
//debugger
@@ -172,6 +172,9 @@ export default {
}
}
})
// that.impartDTOS.map(item => {
// if ()
// })
},
// 单选改变时候
change(item, val) {
@@ -213,6 +216,15 @@ export default {
if (res.result == '0') {
res.productImpartLstDTO.impartDTOS.map(item => {
// that.impartItemDTOS = item.impartItemDTOS
// console.log(item)
if (item.impartType == '0' || item.impartType == '1') {
item.impartItemDTOS.map(items => {
if (items.impartCode == '14a') {
// console.log('111111111111')
items.show = true
}
})
}
item.impartItemDTOS.map(im => {
// debugger
im.impartAnswer = ''