【关于开发惠桂保续保新方案系统的申请】删除配偶,恢复配偶可点击功能

This commit is contained in:
lyt
2023-02-14 15:50:37 +08:00
committed by jiawei
parent 83a9fd826a
commit b8257c0ec2
3 changed files with 15 additions and 17 deletions

View File

@@ -39,12 +39,16 @@
</van-collapse> </van-collapse>
</van-cell-group> </van-cell-group>
<van-goods-action style='z-index: 99'> <van-goods-action style='z-index: 99'>
<van-button type='default' style='width: 50%; font-size: 14px; height: 40px; background: white'>总保费:<span <van-button type='default' style='width: 50%; font-size: 14px; height: 50px; background: white;line-height: 20px;'>
<div v-if="orderInfoDTO.orderAmount != orderInfoDTO.orderStandAmount">
折后总保费:<span
style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{ style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{
orderInfoDTO.orderAmount }}</span>元 orderInfoDTO.orderAmount }}</span>元</div>
总保费:<span style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{
orderInfoDTO.orderStandAmount }}</span>元
</van-button> </van-button>
<van-goods-action-button type='danger' text='确认' @click='nextStep' v-no-more-click='1000' <van-goods-action-button type='danger' text='确认' @click='nextStep' v-no-more-click='1000'
style='border-radius: 0em; width: 50%; height: 40px' /> style='border-radius: 0em; width: 50%; height: 50px;margin:0px' />
</van-goods-action> </van-goods-action>
</div> </div>
</template> </template>

View File

@@ -383,6 +383,10 @@ export default {
if(choose.relationToAppnt == '1'){ if(choose.relationToAppnt == '1'){
this.persons[0].check = false this.persons[0].check = false
} }
//删除配偶,恢复配偶可点击功能
if(choose.relationToAppnt == '2'){
this.persons[index].check = false
}
this.cardOrderDetailFunc() this.cardOrderDetailFunc()
// this.formatChoose(choose, index) // this.formatChoose(choose, index)
} }

View File

@@ -41,17 +41,13 @@
</van-cell-group> </van-cell-group>
<div class='tips'>注:{{ productDate }}</div> <div class='tips'>注:{{ productDate }}</div>
<van-goods-action style='z-index: 99'> <van-goods-action style='z-index: 99'>
<van-button type='default' style='width: 50%; font-size: 14px; height: 50px; background: white;line-height: 20px;'> <van-button type='default' style='width: 50%; font-size: 14px; height: 40px; background: white'>
<div v-if="orderAmount != orderStandAmount">
折后总保费:<span
style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{
orderAmount }}</span>元</div>
总保费:<span 总保费:<span
style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{ style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{
orderStandAmount }}</span>元 orderAmount }}</span>元
</van-button> </van-button>
<van-goods-action-button type='danger' text='确认' @click='nextStep' v-no-more-click='1000' <van-goods-action-button type='danger' text='确认' @click='nextStep' v-no-more-click='1000'
style='border-radius: 0em; width: 50%; height: 50px;margin:0px' /> style='border-radius: 0em; width: 50%; height: 40px' />
</van-goods-action> </van-goods-action>
</div> </div>
</template> </template>
@@ -87,8 +83,7 @@ export default {
bnfTypeVal: '法定受益人', //受益人类型文字展示 bnfTypeVal: '法定受益人', //受益人类型文字展示
riskDTO: {}, riskDTO: {},
productDate: '', productDate: '',
orderStandAmount:0, //原价 orderAmount:0,
orderAmount:0, //打折后价格
isLessEighteen: true // 被保人手机号和邮箱默认展示 isLessEighteen: true // 被保人手机号和邮箱默认展示
} }
}, },
@@ -135,7 +130,6 @@ export default {
productDateTime = productDate.getFullYear() + '' + insuYearM + '' + insuYearD + '' productDateTime = productDate.getFullYear() + '' + insuYearM + '' + insuYearD + ''
this.productDate = currentData + '0时至' + productDateTime + '24时止' this.productDate = currentData + '0时至' + productDateTime + '24时止'
this.orderAmount = this.orderDTO.orderInfoDTO.orderAmount this.orderAmount = this.orderDTO.orderInfoDTO.orderAmount
this.orderStandAmount = this.orderDTO.orderInfoDTO.orderStandAmount
}, },
methods: { methods: {
nextStep() { nextStep() {
@@ -173,8 +167,4 @@ export default {
text-align: center; text-align: center;
} }
} }
.van-button{
line-height: 20px;
}
</style> </style>