diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 7de81c47a..6195f855a 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -1075,15 +1075,27 @@ export default { // trialInfo.duty = [{ dutyCode: trialInfo.duty }] // } //获取投被保生日、性别 - let birthday, sex + let birthday, sex, occupationCode, occupationName if (item.isRemit == '0' && item.remitType == '0') { - ;[birthday, sex] = [this.saleInsuredInfo.birthday, this.saleInsuredInfo.sex] + ;[birthday, sex, occupationCode, occupationName] = [ + this.saleInsuredInfo.birthday, + this.saleInsuredInfo.sex, + this.saleInsuredInfo.occupationCode, + this.saleInsuredInfo.occupationName + ] } else { - ;[birthday, sex] = [this.saleInsuredPersonInfo.birthday, this.saleInsuredPersonInfo.sex] + ;[birthday, sex, occupationCode, occupationName] = [ + this.saleInsuredPersonInfo.birthday, + this.saleInsuredPersonInfo.sex, + this.saleInsuredPersonInfo.occupationCode, + this.saleInsuredPersonInfo.occupationName + ] } trialInfo = Object.assign(trialInfo, { birthday, sex, + occupationCode, + occupationName, platformType: 'app', productCode: item.productCode, medical: JSON.parse(localStorage.getItem('saleInsuredPersonInfo')).medical