From 74bb9baa494f8aa2501c4715d46c334ea36b8f8c Mon Sep 17 00:00:00 2001 From: chenjianan Date: Sun, 2 Jun 2019 10:29:01 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=B7=A5=E8=89=BA=E5=AE=9A=E9=A2=9D?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PartWorkCraftSelect_rdlc/index.vue | 135 +++++++++--------- 1 file changed, 69 insertions(+), 66 deletions(-) diff --git a/src/views/ManufacturingCenter/PartWorkCraftSelect_rdlc/index.vue b/src/views/ManufacturingCenter/PartWorkCraftSelect_rdlc/index.vue index 5655b5fe..8a3308e0 100644 --- a/src/views/ManufacturingCenter/PartWorkCraftSelect_rdlc/index.vue +++ b/src/views/ManufacturingCenter/PartWorkCraftSelect_rdlc/index.vue @@ -93,75 +93,77 @@ @current-change="handleCurrentChange"/> - +
在制零件工艺调整
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
江苏高精零件条码零件图号{{ tableData2[0] ? tableData2[0].零件图号 : '' }}数量
零件名称{{ tableData2[0] ? tableData2[0].零件名称 : '' }}{{ tableData2[0] ? tableData2[0].投产数量 : '' }}
项目名称{{ tableData2[0] ? tableData2[0].项目名称 : '' }}{{ tableData2[0] ? 'P' + tableData2[0].工艺计划流水号 : '' }}机床{{ tableData2[0] ? tableData2[0].机床图号 : '' }}
材质{{ tableData2[0] ? tableData2[0].材料 : '' }}规格{{ tableData2[0] ? tableData2[0].原材料规格 : '' }}组号{{ tableData2[0] ? tableData2[0].组号 : '' }}
序次工艺名称工艺要求难度系数工作者单件准结检查结果计划完成日期工序条码
{{ key + 1 }}{{ value.工艺名称 }}{{ value.工艺要求 }}{{ value.工艺难度等级 }} - {{ value.单件定额工时 }}{{ value.准结定额工时 }} - {{ value.计划日期 }}{{ value.工序流水号 }}
工艺员{{ tableData2[0] ? tableData2[0].工艺员 : '' }}定额员{{ tableData2[0] ? tableData2[0].定额员 : '' }}工艺完成{{ tableData2[0].工艺实际完成时间 ? tableData2[0].工艺实际完成时间.split(' ')[0] : '' }}加工开始{{ tableData2[0] ? tableData2[0].机加工开始时间 : '' }}加工结束{{ tableData2[0] ? tableData2[0].机加工结束时间 : '' }}
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
江苏高精零件条码零件图号{{ tableData2[0] ? tableData2[0].零件图号 : '' }}数量
零件名称{{ tableData2[0] ? tableData2[0].零件名称 : '' }}{{ tableData2[0] ? tableData2[0].投产数量 : '' }}
项目名称{{ tableData2[0] ? tableData2[0].项目名称 : '' }}{{ tableData2[0] ? 'P' + tableData2[0].工艺计划流水号 : '' }}机床{{ tableData2[0] ? tableData2[0].机床图号 : '' }}
材质{{ tableData2[0] ? tableData2[0].材料 : '' }}规格{{ tableData2[0] ? tableData2[0].原材料规格 : '' }}组号{{ tableData2[0] ? tableData2[0].组号 : '' }}
序次工艺名称工艺要求难度系数工作者单件准结检查结果计划完成日期工序条码
{{ key + 1 }}{{ value.工艺名称 }}{{ value.工艺要求 }}{{ value.工艺难度等级 }} + {{ value.单件定额工时 }}{{ value.准结定额工时 }} + {{ value.计划日期 }}{{ value.工序流水号 }}
工艺员{{ tableData2[0] ? tableData2[0].工艺员 : '' }}定额员{{ tableData2[0] ? tableData2[0].定额员 : '' }}工艺完成{{ tableData2[0].工艺实际完成时间 ? tableData2[0].工艺实际完成时间.split(' ')[0] : '' }}加工开始{{ tableData2[0] ? tableData2[0].机加工开始时间 : '' }}加工结束{{ tableData2[0] ? tableData2[0].机加工结束时间 : '' }}
+
@@ -173,6 +175,7 @@ import { initMachineProject, searchgroup, initPerson, search, searchtable1, export default { data() { return { + partNumValue: '', machineNumberValue: '', machineNumber: [], groupNumberValue: '', From a4d06695500e017c15174b110e352d9984bbe184 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Sun, 2 Jun 2019 10:54:44 +0800 Subject: [PATCH 2/5] cancel multiselect --- src/views/Inventory/CreatePickingList/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Inventory/CreatePickingList/index.vue b/src/views/Inventory/CreatePickingList/index.vue index 15561bbd..09584add 100644 --- a/src/views/Inventory/CreatePickingList/index.vue +++ b/src/views/Inventory/CreatePickingList/index.vue @@ -577,7 +577,7 @@ export default { selectIntoList(basePartGroup, null, this.pickingListNum).then(response => { if (response.data[0].result === '1') { this.$message.success('操作成功') - this.multipleSelection = [] + this.searchTable() this.clickList() } else { this.$message.error('操作失败') } }) @@ -585,7 +585,7 @@ export default { selectIntoList(null, purchasePartGroup, this.pickingListNum).then(response => { if (response.data[0].result === '1') { this.$message.success('操作成功') - this.multipleSelection = [] + this.searchTable() this.clickList() } else { this.$message.error('操作失败') } }) From 35d4a98f9df399701e149a953cf15e697a09bc6b Mon Sep 17 00:00:00 2001 From: chenjianan Date: Sun, 2 Jun 2019 13:59:05 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=87=BA=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Inventory/CreatePickingList.js | 2 +- src/api/Inventory/MaterialOut.js | 39 ++++ src/icons/svg/CreatePickingList.svg | 1 + src/icons/svg/MaterialOut.svg | 1 + src/views/Inventory/MaterialOut/index.vue | 235 ++++++++++++++++++++++ 5 files changed, 277 insertions(+), 1 deletion(-) create mode 100644 src/api/Inventory/MaterialOut.js create mode 100644 src/icons/svg/CreatePickingList.svg create mode 100644 src/icons/svg/MaterialOut.svg create mode 100644 src/views/Inventory/MaterialOut/index.vue diff --git a/src/api/Inventory/CreatePickingList.js b/src/api/Inventory/CreatePickingList.js index 643fe665..bbf40ff2 100644 --- a/src/api/Inventory/CreatePickingList.js +++ b/src/api/Inventory/CreatePickingList.js @@ -84,7 +84,7 @@ export function dropList(num) { } }) } -// 选入领料单 +// 查询领料单明细 export function searchListDetail(...params) { return request({ url: '', diff --git a/src/api/Inventory/MaterialOut.js b/src/api/Inventory/MaterialOut.js new file mode 100644 index 00000000..01fb227d --- /dev/null +++ b/src/api/Inventory/MaterialOut.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +// 领料单查询 +export function searchList(pageCurrent, pageSize, listNumber_check, listNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单_查询数据', + param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 查询领料单明细 +export function searchListDetail(...params) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单明细_查询数据', + param: `领料单流水号=${params[0]}` + } + }) +} +// 查看领料单明细相关的物料货位数量 +export function searchStockNumber(...params) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_物料出库_标准件和外购件_查询数据', + param: `物料流水号=${params[0]}` + } + }) +} diff --git a/src/icons/svg/CreatePickingList.svg b/src/icons/svg/CreatePickingList.svg new file mode 100644 index 00000000..343a5d73 --- /dev/null +++ b/src/icons/svg/CreatePickingList.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MaterialOut.svg b/src/icons/svg/MaterialOut.svg new file mode 100644 index 00000000..2cb31100 --- /dev/null +++ b/src/icons/svg/MaterialOut.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/Inventory/MaterialOut/index.vue b/src/views/Inventory/MaterialOut/index.vue new file mode 100644 index 00000000..22fd780a --- /dev/null +++ b/src/views/Inventory/MaterialOut/index.vue @@ -0,0 +1,235 @@ + + + + + From 0f05db9916d14e774b0110c062830cd08679b42d Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Sun, 2 Jun 2019 14:26:31 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E4=B8=8B=E8=BE=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManufacturingCenter/InitialProduction.js | 12 ++ src/utils/request.js | 2 +- .../InitialProduction/index.vue | 148 ++++++++++++------ .../ProcessQuotaEstablishment/index.vue | 7 +- 4 files changed, 116 insertions(+), 53 deletions(-) diff --git a/src/api/ManufacturingCenter/InitialProduction.js b/src/api/ManufacturingCenter/InitialProduction.js index 20649ab8..8f674b1f 100644 --- a/src/api/ManufacturingCenter/InitialProduction.js +++ b/src/api/ManufacturingCenter/InitialProduction.js @@ -61,6 +61,18 @@ export function production(num, a, b, d, e, f, g, h, i, j, k, l, m, n, o, p, q, } }) } +// 合并投产 +export function production2(num, a, 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: '组件零件基本件流水号=' + num + '=int&投产类型流水号=' + a + '=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' + } + }) +} // 获取表2的值 export function getTable1(num, pageList, pageSize) { return request({ diff --git a/src/utils/request.js b/src/utils/request.js index 8d46ce0f..873cd097 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -17,7 +17,7 @@ export const uploadInvoiceScan = `http://192.168.1.231:8411/submit/uploadInvoice export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoiceScan1.ashx` // invoice(workshop) export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement const service = axios.create({ - baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, + baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 }) diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue index 72f38820..c213cdb2 100644 --- a/src/views/ManufacturingCenter/InitialProduction/index.vue +++ b/src/views/ManufacturingCenter/InitialProduction/index.vue @@ -164,6 +164,7 @@