From 841812c7e92f1c53e5b68eebc533c02b3b5ad1cc Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Tue, 24 Mar 2020 17:54:11 +0800 Subject: [PATCH 01/14] =?UTF-8?q?=E6=88=90=E7=BB=84=E9=85=8D=E5=A5=97?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ManufacturingCenter/GroupMatching.js | 3 +- .../GroupMatching/index.vue | 49 ++++++++++--------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/api/ManufacturingCenter/GroupMatching.js b/src/api/ManufacturingCenter/GroupMatching.js index fe2c9d02..ec5ef062 100644 --- a/src/api/ManufacturingCenter/GroupMatching.js +++ b/src/api/ManufacturingCenter/GroupMatching.js @@ -36,8 +36,7 @@ export function searchTable(check1, machine, check2, groupNum, pageCurrent, page ModularID: router.currentRoute.path, type: '1', name: '车间生产管理工艺_基本件成组配套_查询数据_新', - param: '机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int', - pagination: pageCurrent + '&' + pageSize + param: '机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output` } }) } diff --git a/src/views/ManufacturingCenter/GroupMatching/index.vue b/src/views/ManufacturingCenter/GroupMatching/index.vue index 9584fff2..8bf4d8ef 100644 --- a/src/views/ManufacturingCenter/GroupMatching/index.vue +++ b/src/views/ManufacturingCenter/GroupMatching/index.vue @@ -11,7 +11,7 @@
{{ item.value2 }}
- + {{ item.value2 }} - 查询 + 查询 @@ -77,10 +77,10 @@
@@ -139,11 +139,11 @@
@@ -199,11 +199,11 @@
@@ -264,11 +264,11 @@
@@ -317,10 +317,10 @@
@@ -398,13 +398,13 @@ export default { PartType: '标准件', PartType2: '车间生产', pageCurrent00: 1, - pageSize00: 1000, + pageSize00: 50, pageCurrent01: 1, pageSize01: 10, pageCurrent02: 1, - pageSize02: 1000, + pageSize02: 50, pageCurrent: 1, - pageSize: 1000, + pageSize: 50, pageCurrent1: 1, pageSize1: 10, pageCurrent2: 1, @@ -496,19 +496,20 @@ export default { this.Machine ? this.check1 = 1 : this.check1 = 0 this.Group ? this.check2 = 1 : this.check2 = 0 searchTable(this.check1, this.Machine, this.check2, this.Group, this.pageCurrent, this.pageSize).then(response => { - for (let i = 0; i < response.data.rows.length; i++) { - if (response.data.rows[i].入库时间 !== '') { - response.data.rows[i].入库时间 = response.data.rows[i].入库时间.split(' ', 2)[0] + console.log(response.data) + for (let i = 0; i < response.data.result.length; i++) { + if (response.data.result[i].入库时间) { + response.data.result[i].入库时间 = response.data.result[i].入库时间.split(' ', 2)[0] } - if (response.data.rows[i].计划完成时间 !== '') { - response.data.rows[i].计划完成时间 = response.data.rows[i].计划完成时间.split(' ', 2)[0] + if (response.data.result[i].计划完成时间) { + response.data.result[i].计划完成时间 = response.data.result[i].计划完成时间.split(' ', 2)[0] } - if (response.data.rows[i].机加工实际完成时间 !== '') { - response.data.rows[i].机加工实际完成时间 = response.data.rows[i].机加工实际完成时间.split(' ', 2)[0] + if (response.data.result[i].机加工实际完成时间) { + response.data.result[i].机加工实际完成时间 = response.data.result[i].机加工实际完成时间.split(' ', 2)[0] } } - this.tableData = response.data.rows - this.total = parseInt(response.data.total) + this.tableData = response.data.result + this.total = parseInt(response.data.output[0].ItemCount) this.loading = false }) searchTable22(this.check1, this.Machine, this.check2, this.Group, this.check3, this.year, this.check4, this.month, this.check5, this.time, this.pageCurrent, this.pageSize).then(response => { From 0958e2cf34e16d43c219500b81a8ef0bc86bf55f Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Wed, 25 Mar 2020 09:46:49 +0800 Subject: [PATCH 02/14] =?UTF-8?q?=E6=88=90=E7=BB=84=E9=85=8D=E5=A5=97?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ManufacturingCenter/GroupMatching.js | 13 +++++++++ .../GroupMatching/index.vue | 29 +++++++++---------- 2 files changed, 27 insertions(+), 15 deletions(-) diff --git a/src/api/ManufacturingCenter/GroupMatching.js b/src/api/ManufacturingCenter/GroupMatching.js index ec5ef062..ef1166e8 100644 --- a/src/api/ManufacturingCenter/GroupMatching.js +++ b/src/api/ManufacturingCenter/GroupMatching.js @@ -40,6 +40,19 @@ export function searchTable(check1, machine, check2, groupNum, pageCurrent, page } }) } +export function getTable(check1, machine, check2, groupNum, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '车间生产管理工艺_基本件成组配套_查询数据_新', + param: '机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output` + } + }) +} export function searchTable22(check1, machine, check2, groupNum, check3, year, check4, month, check5, time) { return request({ url: '', diff --git a/src/views/ManufacturingCenter/GroupMatching/index.vue b/src/views/ManufacturingCenter/GroupMatching/index.vue index 8bf4d8ef..d70fcc81 100644 --- a/src/views/ManufacturingCenter/GroupMatching/index.vue +++ b/src/views/ManufacturingCenter/GroupMatching/index.vue @@ -496,7 +496,6 @@ export default { this.Machine ? this.check1 = 1 : this.check1 = 0 this.Group ? this.check2 = 1 : this.check2 = 0 searchTable(this.check1, this.Machine, this.check2, this.Group, this.pageCurrent, this.pageSize).then(response => { - console.log(response.data) for (let i = 0; i < response.data.result.length; i++) { if (response.data.result[i].入库时间) { response.data.result[i].入库时间 = response.data.result[i].入库时间.split(' ', 2)[0] @@ -604,16 +603,16 @@ export default { this.Machine ? this.check1 = 1 : this.check1 = 0 this.Group ? this.check2 = 1 : this.check2 = 0 searchTable(this.check1, this.Machine, this.check2, this.Group, this.pageCurrent, this.pageSize).then(response => { - for (let i = 0; i < response.data.rows.length; i++) { - if (response.data.rows[i].入库时间 !== '') { - response.data.rows[i].入库时间 = response.data.rows[i].入库时间.split(' ', 2)[0] + for (let i = 0; i < response.data.result.length; i++) { + if (response.data.result[i].入库时间) { + response.data.result[i].入库时间 = response.data.result[i].入库时间.split(' ', 2)[0] } - if (response.data.rows[i].计划完成时间 !== '') { - response.data.rows[i].计划完成时间 = response.data.rows[i].计划完成时间.split(' ', 2)[0] + if (response.data.result[i].计划完成时间) { + response.data.result[i].计划完成时间 = response.data.result[i].计划完成时间.split(' ', 2)[0] } } - this.tableData = response.data.rows - this.total = parseInt(response.data.total) + this.tableData = response.data.result + this.total = parseInt(response.data.output[0].ItemCount) this.loading = false }) }, @@ -623,16 +622,16 @@ export default { this.Machine ? this.check1 = 1 : this.check1 = 0 this.Group ? this.check2 = 1 : this.check2 = 0 searchTable(this.check1, this.Machine, this.check2, this.Group, this.pageCurrent, this.pageSize).then(response => { - for (let i = 0; i < response.data.rows.length; i++) { - if (response.data.rows[i].入库时间 !== '') { - response.data.rows[i].入库时间 = response.data.rows[i].入库时间.split(' ', 2)[0] + for (let i = 0; i < response.data.result.length; i++) { + if (response.data.result[i].入库时间) { + response.data.result[i].入库时间 = response.data.result[i].入库时间.split(' ', 2)[0] } - if (response.data.rows[i].计划完成时间 !== '') { - response.data.rows[i].计划完成时间 = response.data.rows[i].计划完成时间.split(' ', 2)[0] + if (response.data.result[i].计划完成时间) { + response.data.result[i].计划完成时间 = response.data.result[i].计划完成时间.split(' ', 2)[0] } } - this.tableData = response.data.rows - this.total = parseInt(response.data.total) + this.tableData = response.data.result + this.total = parseInt(response.data.output[0].ItemCount) this.loading = false }) }, From 79435f3fdf7ca60d63d4aaeb98f979762340fa94 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Wed, 25 Mar 2020 10:02:25 +0800 Subject: [PATCH 03/14] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectPlanningManagementQuery/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/ManufacturingCenter/ProjectPlanningManagementQuery/index.vue b/src/views/ManufacturingCenter/ProjectPlanningManagementQuery/index.vue index 5a71fb61..54e9d3a4 100644 --- a/src/views/ManufacturingCenter/ProjectPlanningManagementQuery/index.vue +++ b/src/views/ManufacturingCenter/ProjectPlanningManagementQuery/index.vue @@ -121,9 +121,9 @@ -
进程
-
计划时间
-
实际时间
+
进程
+
计划时间
+
实际时间
From d1a65d206315dd669ce3d2b76c5715d42123dcd4 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Wed, 25 Mar 2020 10:26:40 +0800 Subject: [PATCH 04/14] =?UTF-8?q?=E8=87=AA=E5=88=B6=E4=BB=B6=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManufacturingCenter/StatusQuery/index.vue | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/views/ManufacturingCenter/StatusQuery/index.vue b/src/views/ManufacturingCenter/StatusQuery/index.vue index 797a164b..5d221b14 100644 --- a/src/views/ManufacturingCenter/StatusQuery/index.vue +++ b/src/views/ManufacturingCenter/StatusQuery/index.vue @@ -24,7 +24,7 @@ :value="item.value"/>
- 查询 + 查询 @@ -60,14 +60,14 @@ {{ scope.row.传递时间 }} - + - + - + - + @@ -93,24 +79,13 @@ {{ scope.row.整改类型 }} - + @@ -128,7 +103,7 @@
- 外购件和标准件三表数量 + 外购件和标准件 全部删除 @@ -226,7 +201,7 @@
-
未投产数量
+
未投产
-
未平衡数量
+
未平衡
-->
-
未分配采购零件数量
+
未分配采购
diff --git a/src/views/ManufacturingCenter/AntonMonitoring/index.vue b/src/views/ManufacturingCenter/AntonMonitoring/index.vue index a755e425..7d22fc11 100644 --- a/src/views/ManufacturingCenter/AntonMonitoring/index.vue +++ b/src/views/ManufacturingCenter/AntonMonitoring/index.vue @@ -4,21 +4,10 @@ Andon信息 - + - + diff --git a/src/views/ManufacturingCenter/ManHourStatistics/index.vue b/src/views/ManufacturingCenter/ManHourStatistics/index.vue index 1f63fbcb..e058b55a 100644 --- a/src/views/ManufacturingCenter/ManHourStatistics/index.vue +++ b/src/views/ManufacturingCenter/ManHourStatistics/index.vue @@ -29,7 +29,7 @@ {{ scope.row.计划工时 }} - + From cd838da885810ab82b0092f2b258a6f87693a809 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Wed, 25 Mar 2020 11:32:13 +0800 Subject: [PATCH 08/14] =?UTF-8?q?=E5=A4=96=E8=B4=AD=E5=A4=87=E6=96=99(?= =?UTF-8?q?=E7=A6=BB=E7=BA=BF)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/WorkshopProcurement/OfflineProcurement/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/WorkshopProcurement/OfflineProcurement/index.vue b/src/views/WorkshopProcurement/OfflineProcurement/index.vue index 03bf156f..50949a24 100644 --- a/src/views/WorkshopProcurement/OfflineProcurement/index.vue +++ b/src/views/WorkshopProcurement/OfflineProcurement/index.vue @@ -84,7 +84,7 @@ 已结算 - + From 7d139e7ea51337367a954d0d3e3ea0a1247971fc Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Wed, 25 Mar 2020 13:25:18 +0800 Subject: [PATCH 09/14] =?UTF-8?q?=E6=A0=B8=E7=AE=97=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AccountingPrice/index.vue | 73 ++++++++++++------- 1 file changed, 48 insertions(+), 25 deletions(-) diff --git a/src/views/WorkshopProcurement/AccountingPrice/index.vue b/src/views/WorkshopProcurement/AccountingPrice/index.vue index 25762223..d7bdb195 100644 --- a/src/views/WorkshopProcurement/AccountingPrice/index.vue +++ b/src/views/WorkshopProcurement/AccountingPrice/index.vue @@ -16,15 +16,7 @@
- + - + @@ -55,9 +47,9 @@ - + @@ -75,7 +67,8 @@
-