diff --git a/src/api/ManufacturingCenter/ProcessingStatusEdit.js b/src/api/ManufacturingCenter/ProcessingStatusEdit.js new file mode 100644 index 00000000..ab5fd66c --- /dev/null +++ b/src/api/ManufacturingCenter/ProcessingStatusEdit.js @@ -0,0 +1,147 @@ +import request from '@/utils/request' + +export function getNames() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_传递后_项目名称_查询数据_加工进度修改' + } + }) +} + +export function getMachines(gongyi) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_传递后_机床名称_查询数据_查询所有机床', + param: '项目流水号=' + gongyi + '=int' + } + }) +} + +export function getGroups(stepNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组', + param: '机床流水号=' + stepNumber + '=int' + } + }) +} + +export function getTable(stepNumber, a, b, c, d, e, f, g, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_加工进度修改专用', + param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=0', + Pagination: pageCurrent + '&' + pageSize + } + }) +} + +export function getTable2(stepNumber, a, b, c, d, e, g) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_加工进度修改', + param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=1=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=0' + } + }) +} + +export function handlechange(Number, code) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间生产管理工艺_零件工序_修改数据_修改实际完成时间', + param: '工序流水号=' + Number + '&实际完成时间=' + code + } + }) +} + +export function handlechange2(Number, code) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间生产管理工艺_零件工序_修改数据_工作者', + param: '工序流水号=' + Number + '&工作者考勤编号=' + code + } + }) +} + +export function handlechange3(Number, code) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间生产管理工艺_零件工序_修改数据_工作者_MESWORK', + param: '工序流水号=' + Number + '&工作者考勤编号=' + code + } + }) +} +export function dialogtablevisible() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '人事档案管理_部门关系_查询节点', + param: '子节点=0' + } + }) +} +// 初始化人员信息 弹出框 +export function getTree() { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '人事档案管理_部门关系_查询节点', + param: '子节点=0=int' + } + }) +} +export function fn(data, pid) { + const result = [] + let temp + for (let i = 0; i < data.length; i++) { + if (data[i].父节点 === pid) { + const obj = { label: data[i].节点名称, id: data[i].子节点 } + temp = fn(data, data[i].子节点) + if (temp.length > 0) { + obj.children = temp + } + result.push(obj) + } + } + return result +} + +export function getTable8(code) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', + param: '考核部门编号=' + code + '=int' + } + }) +} diff --git a/src/icons/svg/ProcessingStatusEdit.svg b/src/icons/svg/ProcessingStatusEdit.svg new file mode 100644 index 00000000..4a78ad01 --- /dev/null +++ b/src/icons/svg/ProcessingStatusEdit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/ManufacturingCenter/ProcessingStatusEdit/index.vue b/src/views/ManufacturingCenter/ProcessingStatusEdit/index.vue new file mode 100644 index 00000000..5133f0e9 --- /dev/null +++ b/src/views/ManufacturingCenter/ProcessingStatusEdit/index.vue @@ -0,0 +1,733 @@ + + + + + + 项目名称: + + + + 机床号: + + + + 组号: + + + + 零件号: + + 查询 + + + + + + + + {{ 零件图号[scope.$index] }} + + + {{ 零件名称[scope.$index] }} + + + {{ 投产数量[scope.$index] }} + + + + + + {{ process[scope.$index][0] }}{{ planDate[scope.$index][0] }} {{ realDate[scope.$index][0] }} {{ worker[scope.$index][0] }} + + + + + + + {{ process[scope.$index][1] }}{{ planDate[scope.$index][1] }} {{ realDate[scope.$index][1] }} {{ worker[scope.$index][1] }} + + + + + + + {{ process[scope.$index][2] }}{{ planDate[scope.$index][2] }} {{ realDate[scope.$index][2] }} {{ worker[scope.$index][2] }} + + + + + + + {{ process[scope.$index][3] }}{{ planDate[scope.$index][3] }} {{ realDate[scope.$index][3] }} {{ worker[scope.$index][3] }} + + + + + + + {{ process[scope.$index][4] }}{{ planDate[scope.$index][4] }} {{ realDate[scope.$index][4] }} {{ worker[scope.$index][4] }} + + + + + + + {{ process[scope.$index][5] }}{{ planDate[scope.$index][5] }} {{ realDate[scope.$index][5] }} {{ worker[scope.$index][5] }} + + + + + + + {{ process[scope.$index][6] }}{{ planDate[scope.$index][6] }} {{ realDate[scope.$index][6] }} {{ worker[scope.$index][6] }} + + + + + + + {{ process[scope.$index][7] }}{{ planDate[scope.$index][7] }} {{ realDate[scope.$index][7] }} {{ worker[scope.$index][7] }} + + + + + + + {{ process[scope.$index][8] }}{{ planDate[scope.$index][8] }} {{ realDate[scope.$index][8] }} {{ worker[scope.$index][8] }} + + + + + + + {{ process[scope.$index][9] }}{{ planDate[scope.$index][9] }} {{ realDate[scope.$index][9] }} {{ worker[scope.$index][9] }} + + + + + + + {{ process[scope.$index][10] }}{{ planDate[scope.$index][10] }} {{ realDate[scope.$index][10] }} {{ worker[scope.$index][10] }} + + + + + + + {{ process[scope.$index][11] }}{{ planDate[scope.$index][11] }} {{ realDate[scope.$index][11] }} {{ worker[scope.$index][11] }} + + + + + + + {{ process[scope.$index][12] }}{{ planDate[scope.$index][12] }} {{ realDate[scope.$index][12] }} {{ worker[scope.$index][12] }} + + + + + + + {{ process[scope.$index][13] }}{{ planDate[scope.$index][13] }} {{ realDate[scope.$index][13] }} {{ worker[scope.$index][13] }} + + + + + + + {{ process[scope.$index][14] }}{{ planDate[scope.$index][14] }} {{ realDate[scope.$index][14] }} {{ worker[scope.$index][14] }} + + + + + + + {{ process[scope.$index][15] }}{{ planDate[scope.$index][15] }} {{ realDate[scope.$index][15] }} {{ worker[scope.$index][15] }} + + + + + + + {{ process[scope.$index][16] }}{{ planDate[scope.$index][16] }} {{ realDate[scope.$index][16] }} {{ worker[scope.$index][16] }} + + + + + + + {{ process[scope.$index][17] }}{{ planDate[scope.$index][17] }} {{ realDate[scope.$index][17] }} {{ worker[scope.$index][17] }} + + + + + + + {{ process[scope.$index][18] }}{{ planDate[scope.$index][18] }} {{ realDate[scope.$index][18] }} {{ worker[scope.$index][18] }} + + + + + + + {{ process[scope.$index][19] }}{{ planDate[scope.$index][19] }} {{ realDate[scope.$index][19] }} {{ worker[scope.$index][19] }} + + + + + + + {{ process[scope.$index][20] }}{{ planDate[scope.$index][20] }} {{ realDate[scope.$index][20] }} {{ worker[scope.$index][20] }} + + + + + + + {{ process[scope.$index][21] }}{{ planDate[scope.$index][21] }} {{ realDate[scope.$index][21] }} {{ worker[scope.$index][21] }} + + + + + + + {{ process[scope.$index][22] }}{{ planDate[scope.$index][22] }} {{ realDate[scope.$index][22] }} {{ worker[scope.$index][22] }} + + + + + + + {{ process[scope.$index][23] }}{{ planDate[scope.$index][23] }} {{ realDate[scope.$index][23] }} {{ worker[scope.$index][23] }} + + + + + + + {{ process[scope.$index][24] }}{{ planDate[scope.$index][24] }} {{ realDate[scope.$index][24] }} {{ worker[scope.$index][24] }} + + + + + + + {{ process[scope.$index][25] }}{{ planDate[scope.$index][25] }} {{ realDate[scope.$index][25] }} {{ worker[scope.$index][25] }} + + + + + + + {{ process[scope.$index][26] }}{{ planDate[scope.$index][26] }} {{ realDate[scope.$index][26] }} {{ worker[scope.$index][26] }} + + + + + + + {{ process[scope.$index][27] }}{{ planDate[scope.$index][27] }} {{ realDate[scope.$index][27] }} {{ worker[scope.$index][27] }} + + + + + + + {{ process[scope.$index][28] }}{{ planDate[scope.$index][28] }} {{ realDate[scope.$index][28] }} {{ worker[scope.$index][28] }} + + + + + + + {{ process[scope.$index][29] }}{{ planDate[scope.$index][29] }} {{ realDate[scope.$index][29] }} {{ worker[scope.$index][29] }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.考勤编号 }} + + + + + {{ scope.row.姓名 }} + + + + + {{ scope.row.性别 }} + + + + + {{ scope.row.岗位名称 }} + + + + + 取消 + 确认 + + + + + + + +