From e0c4dd2d79a6012d26c1198279e972ba02d7c4dc Mon Sep 17 00:00:00 2001 From: liushuai Date: Tue, 26 Mar 2019 14:10:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ImportChangeParts/specificationData1.vue | 14 +++++++++++++- src/views/TechnologyCenter/QueryParts/index.vue | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/views/TechnologyCenter/ImportChangeParts/specificationData1.vue b/src/views/TechnologyCenter/ImportChangeParts/specificationData1.vue index ead697a4..35c0177a 100644 --- a/src/views/TechnologyCenter/ImportChangeParts/specificationData1.vue +++ b/src/views/TechnologyCenter/ImportChangeParts/specificationData1.vue @@ -276,7 +276,7 @@ - + 零件图号: @@ -288,6 +288,7 @@ @@ -465,6 +466,17 @@ export default { } }) }, + submitCancel() { + this.dialogParts = false + update(this.projectName, this.machineValue, this.Number, 0).then(response => { + if (response.data[0].result === '1') { + this.fetchData() + this.$message.success('取消成功') + } else { + this.$message.error('取消失败') + } + }) + }, getGroups() { this.$emit('machineChange', this.machineValue) }, diff --git a/src/views/TechnologyCenter/QueryParts/index.vue b/src/views/TechnologyCenter/QueryParts/index.vue index 5c56c35e..3214c68c 100644 --- a/src/views/TechnologyCenter/QueryParts/index.vue +++ b/src/views/TechnologyCenter/QueryParts/index.vue @@ -309,6 +309,7 @@ export default { return item }) }) + console.log(this.tableData) } else { const type = this.groupName.indexOf('WG') > -1 ? 2 : 1 this.loadingWB = true