From 82730e6baa1f3088905890d24c24891d3920f399 Mon Sep 17 00:00:00 2001 From: caoxinyu Date: Mon, 18 Mar 2019 08:29:23 +0800 Subject: [PATCH 01/13] bugfix --- .../MarketingCenter/ContractInformationManagement/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/MarketingCenter/ContractInformationManagement/index.vue b/src/views/MarketingCenter/ContractInformationManagement/index.vue index cc878508..fbb4666a 100644 --- a/src/views/MarketingCenter/ContractInformationManagement/index.vue +++ b/src/views/MarketingCenter/ContractInformationManagement/index.vue @@ -467,7 +467,7 @@ - + 查询 From e0c4dd2d79a6012d26c1198279e972ba02d7c4dc Mon Sep 17 00:00:00 2001 From: liushuai Date: Tue, 26 Mar 2019 14:10:47 +0800 Subject: [PATCH 02/13] =?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 From f85ecfdbaeb127fefe756767bc3e1b15b36ba9ac Mon Sep 17 00:00:00 2001 From: caoxinyu Date: Tue, 26 Mar 2019 16:59:06 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Inventory/StockInquiry.js | 37 ++++ src/icons/svg/StockInquiry.svg | 1 + src/views/Inventory/StockInquiry/index.vue | 165 ++++++++++++++++++ .../ContractInformationManagement/index.vue | 88 +++++----- 4 files changed, 248 insertions(+), 43 deletions(-) create mode 100644 src/api/Inventory/StockInquiry.js create mode 100644 src/icons/svg/StockInquiry.svg create mode 100644 src/views/Inventory/StockInquiry/index.vue diff --git a/src/api/Inventory/StockInquiry.js b/src/api/Inventory/StockInquiry.js new file mode 100644 index 00000000..2104299f --- /dev/null +++ b/src/api/Inventory/StockInquiry.js @@ -0,0 +1,37 @@ +import request from '@/utils/request' + +// 初始化项目 +export function initProject() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_项目名称_查询数据_按时间排序' + } + }) +} +// 机床查询 +export function searchmachine(check, num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_机床名称_查询数据', + param: '项目流水号_check=' + check + '=int&项目流水号=' + num + } + }) +} +// 分组查询 +export function searchTeam(machineNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_组件名称_查询数据', + param: '机床流水号=' + machineNumber + } + }) +} diff --git a/src/icons/svg/StockInquiry.svg b/src/icons/svg/StockInquiry.svg new file mode 100644 index 00000000..343a5d73 --- /dev/null +++ b/src/icons/svg/StockInquiry.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/Inventory/StockInquiry/index.vue b/src/views/Inventory/StockInquiry/index.vue new file mode 100644 index 00000000..56693e1c --- /dev/null +++ b/src/views/Inventory/StockInquiry/index.vue @@ -0,0 +1,165 @@ + + + + + diff --git a/src/views/MarketingCenter/ContractInformationManagement/index.vue b/src/views/MarketingCenter/ContractInformationManagement/index.vue index fbb4666a..cc01a875 100644 --- a/src/views/MarketingCenter/ContractInformationManagement/index.vue +++ b/src/views/MarketingCenter/ContractInformationManagement/index.vue @@ -1,36 +1,40 @@