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