diff --git a/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue b/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue index 6b1b27c..b1146f8 100644 --- a/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue +++ b/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue @@ -1339,7 +1339,7 @@ export default { } this.model.certificate = [] // 这个判断是防止没有勾选而提交证书的 - if (this.selectedRowKeys.length > 0) { + if (this.selectedRowKeys.length > 0 && values.certificateArr) { for (let i = 0; i < this.selectedRowKeys.length; i++) { let opeIndex = Number(this.selectedRowKeys[i]) let ele = values.certificateArr[opeIndex] @@ -1403,7 +1403,7 @@ export default { this.model.companyName = this.companyName this.model.certificate = [] // 这个判断是防止没有勾选而提交证书的 - if (this.selectedRowKeys.length > 0) { + if (this.selectedRowKeys.length > 0 && values.certificateArr) { for (let i = 0; i < this.selectedRowKeys.length; i++) { let opeIndex = Number(this.selectedRowKeys[i]) let ele = values.certificateArr[opeIndex]