Merge branch 'dev_1220' into dev

This commit is contained in:
zhouna
2019-12-26 10:41:56 +08:00
2 changed files with 12 additions and 2 deletions

View File

@@ -96,7 +96,16 @@
round
>重新支付</van-button
>
<template v-if="active == 'commit' && order.orderInfoDTO.orderStatus == '55'">
<van-button
@click="changeCard(order)"
v-if="active == 'commit' && order.orderInfoDTO.orderStatus == '48'"
size="small"
class="mr5"
type="danger"
round
>修改卡号</van-button
>
<template v-if="(active == 'commit' && order.orderInfoDTO.orderStatus == '49') || (active == 'commit' && order.orderInfoDTO.orderStatus == '55')">
<van-button @click="changeCard(order)" size="small" class="mr5" type="danger" round>修改卡号</van-button>
<van-button @click="againPay(order)" size="small" class="mr5" type="danger" round>重新支付</van-button>
</template>

View File

@@ -190,6 +190,7 @@ export default {
},
isShowList() {
let that = this
console.log(that.saleInsuredAge)
that.impartDTOS.map(item => {
if (item.impartType == 0 || item.impartType == 4) {
item.impartItemDTOS.map((items, index, array) => {
@@ -218,7 +219,7 @@ export default {
}
}
if (obj.age && obj.sex) {
if (that.saleInsuredPersonSex != obj.sex || (that.saleInsuredPersonAge == obj.sex && that.saleInsuredPersonAge < obj.age)) {
if (that.saleInsuredPersonSex != obj.sex || (that.saleInsuredPersonSex == obj.sex && that.saleInsuredPersonAge < obj.age)) {
array.splice(index, 1, '')
}
}