From 5711aeb8521d6256212eb8c0868438a91d29bf65 Mon Sep 17 00:00:00 2001 From: jiangfuzhuang Date: Sun, 2 Jun 2019 15:00:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E6=A3=80=E4=BF=AE=E6=94=B9=E2=80=94?= =?UTF-8?q?=E2=80=9420190602?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../QualityInspectionInformationInquiry.js | 4 +- src/api/Assembly/ShipmentApproval.js | 38 ++++++ src/icons/svg/ShipmentApproval.svg | 1 + .../Assembly/AssemblyExecution/index.vue | 8 +- .../Assembly/DeliveryApplication/index.vue | 4 +- .../index.vue | 18 ++- src/views/Assembly/ShipmentApproval/index.vue | 125 ++++++++++++++++++ .../machiningHoursStatistics/index.vue | 4 + 8 files changed, 190 insertions(+), 12 deletions(-) create mode 100644 src/api/Assembly/ShipmentApproval.js create mode 100644 src/icons/svg/ShipmentApproval.svg create mode 100644 src/views/Assembly/ShipmentApproval/index.vue diff --git a/src/api/Assembly/QualityInspectionInformationInquiry.js b/src/api/Assembly/QualityInspectionInformationInquiry.js index 70849d00..6b20a96d 100644 --- a/src/api/Assembly/QualityInspectionInformationInquiry.js +++ b/src/api/Assembly/QualityInspectionInformationInquiry.js @@ -18,7 +18,7 @@ export function QualityType() { method: 'post', data: { type: '1', - name: '质量管理_质检类型_查询数据' + name: '质检管理_质检类型_查询数据' } }) } @@ -41,7 +41,7 @@ export function selecttable(check1, value1, check2, value2, check3, value3, chec method: 'post', data: { type: '1', - name: '质量管理_质量情况_查询数据', + name: '质检管理_质量情况_查询数据', param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4, Pagination: pageCurrent + '&' + pageSize } diff --git a/src/api/Assembly/ShipmentApproval.js b/src/api/Assembly/ShipmentApproval.js new file mode 100644 index 00000000..efa590b6 --- /dev/null +++ b/src/api/Assembly/ShipmentApproval.js @@ -0,0 +1,38 @@ +import request from '@/utils/request' + +// 初始化机床项目 +export function initProject() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_项目名称_查询数据' + } + }) +} +// PDM_机床名称_发货状态_查询数据 +export function selecttable(check2, machineNumberValue) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_机床名称_发货状态_查询数据', + param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue + } + }) +} +// PDM_机床名称_发货状态_编辑数据 +export function updatestate(machineNumberValue, state, attention) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_机床名称_发货审批_编辑数据', + param: '机床流水号=' + machineNumberValue + '&发货状态=' + state + '&注意事项=' + attention + } + }) +} + diff --git a/src/icons/svg/ShipmentApproval.svg b/src/icons/svg/ShipmentApproval.svg new file mode 100644 index 00000000..1c0ddb41 --- /dev/null +++ b/src/icons/svg/ShipmentApproval.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/Assembly/AssemblyExecution/index.vue b/src/views/Assembly/AssemblyExecution/index.vue index a661d266..951c39cb 100644 --- a/src/views/Assembly/AssemblyExecution/index.vue +++ b/src/views/Assembly/AssemblyExecution/index.vue @@ -26,7 +26,7 @@

总装调试

- + - + @@ -66,6 +66,11 @@ {{ scope.row.零件名称 }} + + +