From c0969a4fc33a2fcd9cbf79aeaba5da0b6491d806 Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Fri, 22 Mar 2019 14:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E6=97=B6=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../machiningWorkingStatistics.js | 0 .../MaterialArrivalManagement/index.vue | 5 +- .../QuotaFormulation/index.vue | 2 +- .../machiningWorkingStatistics/index.vue | 364 ++++++++++++++++++ 4 files changed, 368 insertions(+), 3 deletions(-) create mode 100644 src/api/ManufacturingCenter/machiningWorkingStatistics.js create mode 100644 src/views/ManufacturingCenter/machiningWorkingStatistics/index.vue diff --git a/src/api/ManufacturingCenter/machiningWorkingStatistics.js b/src/api/ManufacturingCenter/machiningWorkingStatistics.js new file mode 100644 index 00000000..e69de29b diff --git a/src/views/ManufacturingCenter/MaterialArrivalManagement/index.vue b/src/views/ManufacturingCenter/MaterialArrivalManagement/index.vue index 2f4e06a2..8d91878b 100644 --- a/src/views/ManufacturingCenter/MaterialArrivalManagement/index.vue +++ b/src/views/ManufacturingCenter/MaterialArrivalManagement/index.vue @@ -154,6 +154,7 @@ export default { methods: { // 查询表格数据 searchTable() { + console.log(this.id, this.name) this.loading = true this.tableData = [] this.Data = [] @@ -189,7 +190,7 @@ export default { // 自家备料出库 handleChange1(row) { change(row.工艺计划流水号, row.重量, row.单价).then(() => { - handlechange(row.工序流水号, this.id) + handlechange(row.工序流水号, '0000') }).then(response => { this.searchTable() }) @@ -240,7 +241,7 @@ export default { this.bianliang1.push(this.arrest[i].工艺计划流水号) this.bianliang2.push(this.arrest[i].工序流水号) } - change2(this.bianliang2, this.id, this.bianliang1).then(response => { + change2(this.bianliang2, '0000', this.bianliang1).then(response => { this.searchTable2() }) } diff --git a/src/views/ManufacturingCenter/QuotaFormulation/index.vue b/src/views/ManufacturingCenter/QuotaFormulation/index.vue index f7dfed94..27c2a5ce 100644 --- a/src/views/ManufacturingCenter/QuotaFormulation/index.vue +++ b/src/views/ManufacturingCenter/QuotaFormulation/index.vue @@ -22,7 +22,7 @@ :label="item.label" :value="item.value"/> - 查询 + 未编制的数量{{ partNum.length }} {{ shuliang }} diff --git a/src/views/ManufacturingCenter/machiningWorkingStatistics/index.vue b/src/views/ManufacturingCenter/machiningWorkingStatistics/index.vue new file mode 100644 index 00000000..2cb87be3 --- /dev/null +++ b/src/views/ManufacturingCenter/machiningWorkingStatistics/index.vue @@ -0,0 +1,364 @@ + + + + + + 机床号: + + + {{ item.label }} + {{ item.value2 }} + + + 组号: + + + + 零件号: + + 计划下达时间: + + ~ + + 查询 + + + + + + + + {{ 零件图号[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] }} + + + + + + + + + + + + + +