diff --git a/src/views/ebiz/cardList/Pay.vue b/src/views/ebiz/cardList/Pay.vue
index 7b8e20b4c..a0cc2a81e 100644
--- a/src/views/ebiz/cardList/Pay.vue
+++ b/src/views/ebiz/cardList/Pay.vue
@@ -5,7 +5,9 @@
-
+
+
+
@@ -217,6 +219,7 @@ export default {
data() {
let isWeixin = this.$utils.device().isWeixin //判断环境
return {
+ insuredDTOs:[],//被保人信息
// 银行卡支付图片地址
src: this.$assetsUrl + 'images/cardImg.png',
// 微信支付图片地址
@@ -303,18 +306,6 @@ export default {
cardBookCode: orderDetail.orderAccountDTO.cardBookCode,
bankName: orderDetail.orderAccountDTO.bankCode
}
- // 团险产品团险产品显示多个被保人姓名
- if(orderDetail.insuredDTOs.length == 1){
- this.underWriteData.insuredName = orderDetail.insuredDTOs[0].name
- }else if(orderDetail.insuredDTOs.length > 1){
- orderDetail.insuredDTOs.forEach((item, index) => {
- if(index == orderDetail.insuredDTOs.length -1){
- this.underWriteData.insuredName += item.name
- }else{
- this.underWriteData.insuredName += item.name+'/'
- }
- })
- }
this.bankListName = orderDetail.orderAccountDTO.bankName
this.orderStatus = orderDetail.orderInfoDTO.orderStatus
localStorage.orderNo = orderDetail.orderInfoDTO.orderNo
@@ -520,6 +511,7 @@ export default {
getOrderDetail() {
getOrderDetail({ orderNo: window.localStorage.getItem('orderNo') }).then(res => {
if (res.result == '0') {
+ this.insuredDTOs = res.orderDTO.insuredDTOs
this.orderStatus = res.orderDTO.orderInfoDTO.orderStatus
try {
if (this.noEdit) {
@@ -548,19 +540,6 @@ export default {
resultMessage: '交易处理成功',
uwResult: '02'
}
- let orderDetail = res.orderDTO
- // 团险产品团险产品显示多个被保人姓名
- if(orderDetail.insuredDTOs.length == 1){
- this.underWriteData.insuredName = orderDetail.insuredDTOs[0].name
- }else if(orderDetail.insuredDTOs.length > 1){
- orderDetail.insuredDTOs.forEach((item, index) => {
- if(index == orderDetail.insuredDTOs.length -1){
- this.underWriteData.insuredName += item.name
- }else{
- this.underWriteData.insuredName += item.name+'/'
- }
- })
- }
// this.bankListName = res.orderDTO.orderAccountDTO.bankName
this.underWriteData.bankCode =
res.orderDTO.orderAccountDTO.cardBookCode !== null ? res.orderDTO.orderAccountDTO.cardBookCode : this.$route.query.bankCode
diff --git a/src/views/ebiz/cardList/cardDetail.vue b/src/views/ebiz/cardList/cardDetail.vue
index 91a70865c..e340b3d58 100644
--- a/src/views/ebiz/cardList/cardDetail.vue
+++ b/src/views/ebiz/cardList/cardDetail.vue
@@ -43,7 +43,7 @@
总保费:{{
- riskDTO.prem }}元
+ orderAmount }}元
@@ -127,6 +127,7 @@ export default {
insuYearD = productDate.getDate() < 10 ? '0' + productDate.getDate() : productDate.getDate()
productDateTime = productDate.getFullYear() + '年' + insuYearM + '月' + insuYearD + '日'
this.productDate = currentData + '0时至' + productDateTime + '24时止'
+ this.orderAmount = this.orderDTO.orderInfoDTO.orderAmount
},
methods: {
nextStep() {