diff --git a/src/api/Assembly/QualityInspectionInformationInquiry.js b/src/api/Assembly/QualityInspectionInformationInquiry.js index 33c13d88..cf9639fd 100644 --- a/src/api/Assembly/QualityInspectionInformationInquiry.js +++ b/src/api/Assembly/QualityInspectionInformationInquiry.js @@ -59,6 +59,19 @@ export function selecttable(check1, value1, check2, value2, check3, value3, chec } }) } +// 质检管理_质量情况_查询数据 +export function selecttable22(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, check6, value6, check7, value7, check8, value8) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '质检管理_质量情况_查询数据', + param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + + '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4 + '&开始时间_check=' + check5 + '&开始时间=' + value5 + '&结束时间_check=' + check6 + '&结束时间=' + value6 + '&质检情况_check=' + check7 + '&质检情况=' + value7 + '&人员编号_check=' + check8 + '&人员编号=' + value8 + } + }) +} export function searchPic(num) { return request({ url: '', @@ -115,3 +128,14 @@ export function processingStatus(num) { } }) } +export function Prohibit(num, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '质检管理_质检情况_禁用', + param: '质检流水号=' + num + '&质检类型代码=' + num1 + } + }) +} diff --git a/src/api/BasicData/maintenanceEquipmentPerson.js b/src/api/BasicData/maintenanceEquipmentPerson.js index 2b0af7d9..e33a68c5 100644 --- a/src/api/BasicData/maintenanceEquipmentPerson.js +++ b/src/api/BasicData/maintenanceEquipmentPerson.js @@ -72,26 +72,26 @@ export function getStaff() { }) } -export function addTable(equipmentNumber, equipment, shift, operator, operatorNumber) { +export function addTable(equipmentNumber, shift, operator, operatorNumber) { return request({ url: '', method: 'post', data: { type: '2', name: '设备管理_设备名称_人员关系_增加数据', - param: '设备流水号=' + equipmentNumber + '=int&设备名称=' + equipment + '=string&班次代码=' + shift + '=int&操作者=' + operator + '=string&操作者编号=' + operatorNumber + '=int' + param: '设备流水号=' + equipmentNumber + '=int&班次代码=' + shift + '=int&操作者=' + operator + '=string&操作者编号=' + operatorNumber + '=int' } }) } -export function editTable(equipment, equipmentNumber, shift, operator, operatorNumber, Number) { +export function editTable(equipmentNumber, shift, operator, operatorNumber, Number) { return request({ url: '', method: 'post', data: { type: '2', name: '设备管理_设备名称_人员关系_修改数据', - param: '设备流水号=' + equipmentNumber + '=int&设备名称=' + equipment + '=string&班次代码=' + shift + '=int&操作者=' + operator + '=string&操作者编号=' + operatorNumber + '=int&设备人员关系流水号=' + Number + '=int' + param: '设备流水号=' + equipmentNumber + '=int&班次代码=' + shift + '=int&操作者=' + operator + '=string&操作者编号=' + operatorNumber + '=int&设备人员关系流水号=' + Number + '=int' } }) } diff --git a/src/api/ManufacturingCenter/ActualTimeSupplement.js b/src/api/ManufacturingCenter/ActualTimeSupplement.js new file mode 100644 index 00000000..1e282db5 --- /dev/null +++ b/src/api/ManufacturingCenter/ActualTimeSupplement.js @@ -0,0 +1,97 @@ +import request from '@/utils/request' +// 查询加工工时统计表 +export function searchTable() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_工时统计_综合_查询数据', + param: '工艺名称=' + arguments[0] + '&工艺名称_check=' + arguments[1] + '&工作者姓名=' + arguments[2] + '&工作者姓名_check=' + arguments[3] + '&开始加工时间_check=' + arguments[4] + '&开始加工时间结束=' + arguments[5] + '&开始加工时间开始=' + arguments[6] + '&零件图号=' + arguments[7] + '&零件图号_check=' + arguments[8] + '&完成加工时间_check=' + arguments[9] + '&完成加工时间结束=' + arguments[10] + '&完成加工时间开始=' + arguments[11], + Pagination: arguments[12] + '&' + arguments[13] + } + }) +} +// 查询加工工时统计表 +export function editTime() { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间生产管理工艺_工时统计_修补工时_修改数据', + param: '人员编号=' + arguments[0] + '&完成过程流水号=' + arguments[1] + '&修补工时=' + arguments[2] + '&数量=' + arguments[3] + } + }) +} +// 初始化项目 +export function initProject() { + 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 getParts(stepNumber, a, b, c, d, e, f, 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=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=0' + } + }) +} +// 提交新增 +export function submitAdd(num1, time, num2, person) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间生产管理_修补工时_增加数据', + param: `工序流水号=${num1}&修补工时=${time}&数量=${num2}&修补人员编号=${person}` + } + }) +} +// 根据部门查人员 +export function getTable8(code) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', + param: '考核部门编号=' + code + '=int' + } + }) +} diff --git a/src/api/ManufacturingCenter/InitialProduction.js b/src/api/ManufacturingCenter/InitialProduction.js index bc39c86d..e4f26004 100644 --- a/src/api/ManufacturingCenter/InitialProduction.js +++ b/src/api/ManufacturingCenter/InitialProduction.js @@ -62,14 +62,14 @@ export function production(num, a, b, d, e, f, g, h, i, j, k, l, m, n, o, p, q, }) } // 合并投产 -export function production2(num1, num, b, d, e, f, g, h, i, j, k, l, m, n, o, p, q, x, s, t, u, v, w) { +export function production2(num1, num2, num, b, d, e, f, g, h, i, j, k, l, m, n, o, p, q, x, s, t, u, v, w) { return request({ url: '', method: 'post', data: { type: '2', name: '设备管理_可安排生产计划零件排序_制定组时间_同时传递_合并投产', - param: '零件图号=' + num1 + '&机床流水号=' + num + '&投产类型流水号=' + 1 + '=int&数据类型=' + b + '=int&投产批次=1=int&批次数量=' + d + '=string&计划开始时间=' + e + '=string&计划结束时间=' + f + '=string&工艺计划开始时间=' + g + '=string&工艺计划结束时间=' + h + '=string&定额计划开始时间=' + i + '=string&定额计划结束时间=' + j + '=string&计划编制计划开始时间=' + k + '=string&计划编制计划结束时间=' + l + '=string&机加工开始时间=' + m + '=string&机加工结束时间=' + n + '=string&单件外协时间=' + o + '=string&单件是否外协=' + p + '=int&单件是否外协分类=' + q + '=string&计划制定人员编号=' + x + '&材料流水号=' + s + '=int&是否临时件=' + t + '=int&是否难度件=' + u + '=string&是否着急=' + v + '=int&是否白图=' + w + '=int' + param: '零件图号=' + num1 + '&规格=' + num2 + '&机床流水号=' + num + '&投产类型流水号=' + 1 + '=int&数据类型=' + b + '=int&投产批次=1=int&批次数量=' + d + '=string&计划开始时间=' + e + '=string&计划结束时间=' + f + '=string&工艺计划开始时间=' + g + '=string&工艺计划结束时间=' + h + '=string&定额计划开始时间=' + i + '=string&定额计划结束时间=' + j + '=string&计划编制计划开始时间=' + k + '=string&计划编制计划结束时间=' + l + '=string&机加工开始时间=' + m + '=string&机加工结束时间=' + n + '=string&单件外协时间=' + o + '=string&单件是否外协=' + p + '=int&单件是否外协分类=' + q + '=string&计划制定人员编号=' + x + '&材料流水号=' + s + '=int&是否临时件=' + t + '=int&是否难度件=' + u + '=string&是否着急=' + v + '=int&是否白图=' + w + '=int' } }) } diff --git a/src/api/MarketingCenter/DeliveryApplication.js b/src/api/MarketingCenter/DeliveryApplication.js index a13a6315..b513f798 100644 --- a/src/api/MarketingCenter/DeliveryApplication.js +++ b/src/api/MarketingCenter/DeliveryApplication.js @@ -106,7 +106,7 @@ export function InvoiceSave() { data: { type: '2', name: '发货管理_发货申请_发货单_保存', - param: '发货单流水号=' + arguments[0] + '\\&收货单位=' + arguments[1] + '\\&收货地址=' + arguments[2] + '\\&收货人员=' + arguments[3] + '\\&联系电话=' + arguments[4] + '\\&注意事项=' + arguments[5] + '\\&发货单名称=' + arguments[6] + param: '发货单流水号=' + arguments[0] + '\\&收货单位=' + arguments[1] + '\\&收货地址=' + arguments[2] + '\\&收货人员=' + arguments[3] + '\\&联系电话=' + arguments[4] + '\\&注意事项=' + arguments[5] + '\\&发货单名称=' + arguments[6] + '\\&机床流水号=' + arguments[7] } }) } diff --git a/src/api/Outsourcing/OutsourcingTaskExecution.js b/src/api/Outsourcing/OutsourcingTaskExecution.js index 8bfec972..a445f1f5 100644 --- a/src/api/Outsourcing/OutsourcingTaskExecution.js +++ b/src/api/Outsourcing/OutsourcingTaskExecution.js @@ -1,14 +1,14 @@ import request from '@/utils/request' // 初始化获取已生成的外协加工任务单 -export function getTable(checked, contractNumber, checked1, manufacturers, checked2, time1, time2, num, pageCurrent, pageSize) { +export function getTable(checked, contractNumber, checked1, manufacturers, checked2, time1, time2, num, pageCurrent, pageSize, documentStatus, num3) { return request({ url: '', method: 'post', data: { type: '1', name: '车间生产管理_外协加工任务单_查询数据', - param: '外协加工任务单_check=0&外协加工任务单流水号=null&表单号_check=' + checked + '&表单号=' + contractNumber + '&外协厂家_check=' + checked1 + '&外协厂家=' + manufacturers + '&任务下达日期_时间段=' + checked2 + '&开始时间=' + time1 + '&结束时间=' + time2 + '&单据状态_check=0&单据状态=1&外协员编号_check=0&外协员编号=' + num, + param: '外协加工任务单_check=0&外协加工任务单流水号=null&表单号_check=' + checked + '&表单号=' + contractNumber + '&外协厂家_check=' + checked1 + '&外协厂家=' + manufacturers + '&任务下达日期_时间段=' + checked2 + '&开始时间=' + time1 + '&结束时间=' + time2 + '&单据状态_check=' + num3 + '&单据状态=' + documentStatus + '&外协员编号_check=0&外协员编号=' + num, Pagination: pageCurrent + '&' + pageSize } }) @@ -104,7 +104,7 @@ export function editData(Number, manufacturers, freight, Explain) { data: { type: '2', name: '车间生产管理_外协加工任务单_修改数据', - param: '外协加工任务单流水号=' + Number + '=int&外协厂家=' + manufacturers + '=int&运费=' + freight + '=int&单据状态=2&入库标志=1&扣款说明=' + Explain + param: '外协加工任务单流水号=' + Number + '=int&外协厂家=' + manufacturers + '=int&运费=' + freight + '=int&扣款说明=' + Explain } }) } diff --git a/src/views/Assembly/QualityBasicData/index.vue b/src/views/Assembly/QualityBasicData/index.vue index 189cb991..e0226b11 100644 --- a/src/views/Assembly/QualityBasicData/index.vue +++ b/src/views/Assembly/QualityBasicData/index.vue @@ -318,6 +318,7 @@ export default { } }, handleDelete(row) { + console.log(row) if (row.不合格原因) { this.deleteRow(deleteReasons, row.不合格原因, function() { this.searchReasons() }) } else if (row.不合格处理) { diff --git a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue index c835edd2..86b8d676 100644 --- a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue +++ b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue @@ -66,10 +66,17 @@ :value="item.value"/> 查询 + 导出 + + + + + diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue index f46e9daa..d7d19599 100644 --- a/src/views/ManufacturingCenter/InitialProduction/index.vue +++ b/src/views/ManufacturingCenter/InitialProduction/index.vue @@ -112,6 +112,11 @@ {{ scope.row.零件名称 }} + + + + + + - - - + + + - - - - - -