From 82730e6baa1f3088905890d24c24891d3920f399 Mon Sep 17 00:00:00 2001 From: caoxinyu Date: Mon, 18 Mar 2019 08:29:23 +0800 Subject: [PATCH 1/8] 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 f85ecfdbaeb127fefe756767bc3e1b15b36ba9ac Mon Sep 17 00:00:00 2001 From: caoxinyu Date: Tue, 26 Mar 2019 16:59:06 +0800 Subject: [PATCH 2/8] =?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 @@