From 3578cc0eb31fe543db23799cde1b857bf1e5182f Mon Sep 17 00:00:00 2001 From: "li.yuetong" Date: Thu, 1 Sep 2022 11:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=B3=E4=BA=8E=E9=99=84=E5=8A=A0?= =?UTF-8?q?=E7=BB=BC=E5=90=88=E6=84=8F=E5=A4=96=E4=BC=A4=E5=AE=B3=E4=BF=9D?= =?UTF-8?q?=E9=99=A9=EF=BC=88=E4=B9=90=E4=BA=AB=E7=89=88=EF=BC=89=E6=8A=95?= =?UTF-8?q?=E4=BF=9D=E6=B5=81=E7=A8=8B=E5=A2=9E=E5=8A=A0=E3=80=8A=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E4=BD=BF=E7=94=A8=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E3=80=8B=E9=98=85=E7=9F=A5=E5=8B=BE=E9=80=89=E7=9A=84=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E3=80=91=E7=9C=8B=E8=BF=94=E5=9B=9E=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E7=BB=84=E4=B8=AD=E6=98=AF=E5=90=A6=E6=9C=89documentCode?= =?UTF-8?q?=E4=B8=BA12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/SignatureOfElectronic.vue | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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) {