diff --git a/src/api/ManufacturingCenter/CompletionOfWorkshopComponents.js b/src/api/ManufacturingCenter/CompletionOfWorkshopComponents.js index f6d31018..723e8a17 100644 --- a/src/api/ManufacturingCenter/CompletionOfWorkshopComponents.js +++ b/src/api/ManufacturingCenter/CompletionOfWorkshopComponents.js @@ -7,7 +7,7 @@ export function getMachines() { method: 'post', data: { type: '1', - name: 'PDM_机床名称_全部_查询数据' + name: 'PDM_机床名称_查询数据_查询全部' } }) } @@ -18,9 +18,32 @@ export function getGroups(stepNumber) { method: 'post', data: { type: '1', - name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组_新', + name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组', param: '机床流水号=' + stepNumber + '=int' } }) } - +// 查询零件 +export function selectParts(check1, stepNumber, check2, num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_车间组件完成情况_查询数据', + param: '组件流水号_check=' + check1 + '&组件流水号=' + stepNumber + '&工艺计划流水号_check=' + check2 + '&工艺计划流水号=' + num + } + }) +} +// 查询工序 +export function selectProcedure(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_零件工序_查询数据_车间组件完成情况', + param: '工艺计划流水号=' + num + } + }) +} diff --git a/src/views/ManufacturingCenter/CompletionOfWorkshopComponents/index.vue b/src/views/ManufacturingCenter/CompletionOfWorkshopComponents/index.vue index f7da2ffe..7fc75019 100644 --- a/src/views/ManufacturingCenter/CompletionOfWorkshopComponents/index.vue +++ b/src/views/ManufacturingCenter/CompletionOfWorkshopComponents/index.vue @@ -1,9 +1,9 @@ - diff --git a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue index d520e241..dd7449c7 100644 --- a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue +++ b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue @@ -413,7 +413,7 @@ export default { }) }, getTable9() { - this.khbmbh = 12 + this.khbmbh = 12 // 考核部门编号 getTable8(this.khbmbh).then(response => { this.List1 = response.data })