diff --git a/src/views/modules/ecss/codelnotifyConfirm.vue b/src/views/modules/ecss/codelnotifyConfirm.vue index 83b3222..418ae84 100644 --- a/src/views/modules/ecss/codelnotifyConfirm.vue +++ b/src/views/modules/ecss/codelnotifyConfirm.vue @@ -2212,7 +2212,7 @@ }, changeData(row){ this.currentRow = JSON.parse(JSON.stringify(row)); - if (this.currentRow.notifyDate==='发货日期不确定') { + if (this.currentRow&&this.currentRow.notifyDate==='发货日期不确定') { this.currentRow.notifyDate='' } this.headerData=row; diff --git a/src/views/modules/ecss/createDeclaration.vue b/src/views/modules/ecss/createDeclaration.vue index 979d061..4d165f9 100644 --- a/src/views/modules/ecss/createDeclaration.vue +++ b/src/views/modules/ecss/createDeclaration.vue @@ -1373,7 +1373,7 @@ }, changeData(row){ this.currentRow = JSON.parse(JSON.stringify(row)); - if (this.currentRow.notifyDate==='发货日期不确定') { + if (this.currentRow&&this.currentRow.notifyDate==='发货日期不确定') { this.currentRow.notifyDate='' } this.headerData=row;