diff --git a/src/views/purchase/supCompanyEditDialog.vue b/src/views/purchase/supCompanyEditDialog.vue index 2767259..2315de1 100644 --- a/src/views/purchase/supCompanyEditDialog.vue +++ b/src/views/purchase/supCompanyEditDialog.vue @@ -141,7 +141,7 @@ - 添加资质证书 { @@ -579,6 +580,7 @@ export default { , addCert(row) { + this.addCertVisible = true; if (this.$isNotBlank(row) && this.$isNotBlank(row.id)) { this.formName = 2 this.inputQuery.formData = row; @@ -588,7 +590,7 @@ export default { this.inputQuery.formData.addType=1; this.editTye = 1; } - this.addCertVisible = true; + } , diff --git a/src/views/thrsys/thrOrderNew.vue b/src/views/thrsys/thrOrderNew.vue index 611ea54..fcac915 100644 --- a/src/views/thrsys/thrOrderNew.vue +++ b/src/views/thrsys/thrOrderNew.vue @@ -572,7 +572,6 @@ export default { }, selectProductFunction(event) { - if (event == null) { // this.$refs.inputRef.focus(); } else { @@ -580,7 +579,7 @@ export default { } if (this.$isBlank(event)) { - if (this.$isBlank(this.formData.corpName) || this.$isBlank(this.formData.billType)) { + if (this.$isBlank(this.formData.fromSubInvCode) || this.$isBlank(this.formData.billType)) { this.$message.error("往来信息和单据类型不能为空!") return; }