diff --git a/src/views/ebiz/sale/SignatureOfElectronic.vue b/src/views/ebiz/sale/SignatureOfElectronic.vue
index 29b340d0e..cd34bbcfa 100644
--- a/src/views/ebiz/sale/SignatureOfElectronic.vue
+++ b/src/views/ebiz/sale/SignatureOfElectronic.vue
@@ -91,6 +91,7 @@
提交
+ {{isPersonalInformation}}isPersonalInformation
下一步
@@ -295,11 +296,11 @@ export default {
getOrderDetail(data).then(res => {
if (res.result == '0') {
res.orderDTO.ebizSignDTOS.map(item => {
- if (item.documentCode == '12') {
- this.isPersonalInformation = 0 // 0代表有code12
- } else{
- this.isPersonalInformation = 1 // 1代表无code12
- }
+ // if (item.documentCode == '12') {
+ // this.isPersonalInformation = 0 // 0代表有code12
+ // } else{
+ // this.isPersonalInformation = 1 // 1代表无code12
+ // }
if (item.documentCode == '2') {
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${item.policyUrl}`)
this.pdfName = item.documentName
@@ -432,7 +433,7 @@ export default {
]
}
}
-
+ alert(this.isPersonalInformation,'this.isPersonalInformation')
saveInformation(data).then(res => {
if (res.result == '0') {
this.$toast.clear()
@@ -479,6 +480,7 @@ export default {
}
} else {
if(this.isPersonalInformation == '0'){
+ alert('this.isPersonalInformation')
this.$jump({
flag: 'h5',
extra: {
@@ -491,6 +493,7 @@ export default {
}
})
}else{
+ alert('this.signatureConfirmation')
this.$jump({
flag: 'h5',
extra: {
@@ -917,6 +920,20 @@ export default {
}
},
async created() {
+ let data = {
+ orderNo: window.localStorage.getItem('orderNo')
+ }
+ getOrderDetail(data).then(res => {
+ if (res.result == '0') {
+ res.orderDTO.ebizSignDTOS.map(item => {
+ if (item.documentCode == '12') {
+ this.isPersonalInformation = 0 // 0代表有code12
+ } else{
+ this.isPersonalInformation = 1 // 1代表无code12
+ }
+ })
+ }
+ })
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef