diff --git a/src/views/collect/relCode/operateRelCode.vue b/src/views/collect/relCode/operateRelCode.vue index ed628110..6f2517a7 100644 --- a/src/views/collect/relCode/operateRelCode.vue +++ b/src/views/collect/relCode/operateRelCode.vue @@ -563,7 +563,7 @@ }, submit(val) { - if(this.detailList == null || this.detailList.length == 0){ + if(this.relFormData.detailList == null || this.relFormData.detailList.length == 0){ this.$message.warning("请先录入关联码!"); return; } diff --git a/src/views/collect/relCode/operateRelCodeSpell.vue b/src/views/collect/relCode/operateRelCodeSpell.vue index cdce7dd2..76f8a588 100644 --- a/src/views/collect/relCode/operateRelCodeSpell.vue +++ b/src/views/collect/relCode/operateRelCodeSpell.vue @@ -599,7 +599,7 @@ this.inputDisabled = false }, submit(val) { - if(this.detailList == null || this.detailList.length == 0){ + if(this.relFormData.detailList == null || this.relFormData.detailList.length == 0){ this.$message.warning("请先录入关联码!"); return; }