diff --git a/src/views/ebiz/sale/SignatureOfElectronic.vue b/src/views/ebiz/sale/SignatureOfElectronic.vue index cd34bbcfa..141e22bec 100644 --- a/src/views/ebiz/sale/SignatureOfElectronic.vue +++ b/src/views/ebiz/sale/SignatureOfElectronic.vue @@ -171,7 +171,7 @@ export default { // chooseProductCodes: '', // pdf名字 pdfName: '', - isPersonalInformation:'' // 0是 1否 + isPersonalInformation:'' // -1不存在 0存在 } }, components: { @@ -433,7 +433,6 @@ export default { ] } } - alert(this.isPersonalInformation,'this.isPersonalInformation') saveInformation(data).then(res => { if (res.result == '0') { this.$toast.clear() @@ -480,7 +479,6 @@ export default { } } else { if(this.isPersonalInformation == '0'){ - alert('this.isPersonalInformation') this.$jump({ flag: 'h5', extra: { @@ -493,7 +491,6 @@ export default { } }) }else{ - alert('this.signatureConfirmation') this.$jump({ flag: 'h5', extra: { @@ -925,13 +922,11 @@ export default { } getOrderDetail(data).then(res => { if (res.result == '0') { + let array = [] res.orderDTO.ebizSignDTOS.map(item => { - if (item.documentCode == '12') { - this.isPersonalInformation = 0 // 0代表有code12 - } else{ - this.isPersonalInformation = 1 // 1代表无code12 - } + array.push(item.documentCode) }) + this.isPersonalInformation = array.findIndex(item => item=== '12') //-1不存在 0存在 } }) if (!this.isWeixin) {