From 7bfc78bc07cd89ea2674fd5a3ebf72dee30af608 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 2 Mar 2022 09:53:54 +0800 Subject: [PATCH 01/13] yemianqunaxiananniutinajia --- hb_client/src/views/mtm/material.vue | 4 +- hb_client/src/views/mtm/process.vue | 3 +- hb_client/src/views/mtm/productprocess.vue | 199 ++++--- hb_client/src/views/pm/management.vue | 383 +++++++------- hb_client/src/views/pm/plan.vue | 588 +++++++++++---------- hb_client/src/views/pm/resources.vue | 405 +++++++------- 6 files changed, 817 insertions(+), 765 deletions(-) diff --git a/hb_client/src/views/mtm/material.vue b/hb_client/src/views/mtm/material.vue index 384a3fd..8e33258 100644 --- a/hb_client/src/views/mtm/material.vue +++ b/hb_client/src/views/mtm/material.vue @@ -2,7 +2,7 @@
- + 新增物料 检查表 编辑 diff --git a/hb_client/src/views/mtm/process.vue b/hb_client/src/views/mtm/process.vue index 75d69ca..a32c419 100644 --- a/hb_client/src/views/mtm/process.vue +++ b/hb_client/src/views/mtm/process.vue @@ -2,7 +2,7 @@
- + 新增工序
@@ -46,6 +46,7 @@ > //样式文件 diff --git a/hb_client/src/views/pm/plan.vue b/hb_client/src/views/pm/plan.vue index b434ba8..8ed58f7 100644 --- a/hb_client/src/views/pm/plan.vue +++ b/hb_client/src/views/pm/plan.vue @@ -16,14 +16,16 @@ type="primary" icon="el-icon-search" @click="handleFilter" - >搜索 + > + 搜索 重置 + > + 重置 - - - + + - + - + - - + - - + - - + - + - - - + @@ -161,7 +166,8 @@ + }} + @@ -182,10 +188,12 @@ width="80px" > @@ -229,10 +237,18 @@
- 取消 - 确认 + 取消 + + + 确认 +
@@ -243,264 +259,264 @@
diff --git a/hb_client/src/views/pm/resources.vue b/hb_client/src/views/pm/resources.vue index 4b433cc..d0d9363 100644 --- a/hb_client/src/views/pm/resources.vue +++ b/hb_client/src/views/pm/resources.vue @@ -6,10 +6,16 @@
合同订单列表
- 计算物料 + + 计算物料 + - + @@ -26,7 +32,8 @@ + }} + @@ -35,38 +42,45 @@ + }} + + }} + + }} + + }} + + }} + + }} + + }} + @@ -142,30 +157,26 @@
-
{{ scope.row.count }}
+
{{ scope.row.count }}
+ - +
@@ -185,41 +196,41 @@ style="width: 100%" height="280" > - + +
+ + 禁用 + + + 合格 + +
+
+ + {{ state_[scope.row.state] }} + + + {{ state_[scope.row.state] }} + + + {{ state_[scope.row.state] }} + + + {{ state_[scope.row.state] }} + +
+
+ {{ scope.row.number }} + @@ -239,152 +250,152 @@
- \ No newline at end of file + }; + From 8dcaec8003838662e3ff8fea435354d7f5d26fe4 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 2 Mar 2022 11:04:24 +0800 Subject: [PATCH 02/13] yemianqunaxiananniutinajia --- hb_client/src/views/em/equipment.vue | 609 +++++++++-------- hb_client/src/views/em/monitoring.vue | 482 +++++++------- hb_client/src/views/em/record.vue | 389 ++++++----- hb_client/src/views/wpm/firstCheck.vue | 61 +- hb_client/src/views/wpm/need.vue | 240 ++++--- hb_client/src/views/wpm/operation.vue | 337 +++++----- hb_client/src/views/wpm/productjy.vue | 866 +++++++++++++------------ hb_client/src/views/wpm/worktask.vue | 44 +- 8 files changed, 1488 insertions(+), 1540 deletions(-) diff --git a/hb_client/src/views/em/equipment.vue b/hb_client/src/views/em/equipment.vue index 1ed7500..a0e596a 100644 --- a/hb_client/src/views/em/equipment.vue +++ b/hb_client/src/views/em/equipment.vue @@ -2,34 +2,40 @@
- 新增设备 - - 搜索 - 重置 -
- + + 新增设备 + + + + 搜索 + + + 重置 + +
- + - - - + + - - - + - - + - - + - - + - - + - - + - + + - + - + - + - - diff --git a/hb_client/src/views/em/monitoring.vue b/hb_client/src/views/em/monitoring.vue index 995dadb..99d78d7 100644 --- a/hb_client/src/views/em/monitoring.vue +++ b/hb_client/src/views/em/monitoring.vue @@ -2,9 +2,14 @@
- 新增设备 + 新增设备 + 搜索 + 搜索 + 重置 + 重置 +
- + - - + - + @@ -63,13 +68,12 @@ + + {{scope.row.next_check_date}} + +
+
- @@ -83,23 +87,20 @@ - + - + - - + @@ -111,28 +112,30 @@ :key="item.number" :label="item.name" :value="item.number" - >{{ item.name }} + {{ item.name }} + - - +
@@ -159,19 +162,19 @@ - + - + - + @@ -183,7 +186,6 @@ - @@ -223,7 +225,7 @@ - + @@ -267,7 +269,7 @@ - + @@ -298,11 +300,9 @@ - - + - diff --git a/hb_client/src/views/em/record.vue b/hb_client/src/views/em/record.vue index fdb1c15..5dcd17c 100644 --- a/hb_client/src/views/em/record.vue +++ b/hb_client/src/views/em/record.vue @@ -2,34 +2,40 @@
- 新增校准或检定 - - 搜索 - 重置 -
- + + 新增校准或检定 + + + + 搜索 + + + 重置 + +
- + - - + - + - + - - - + - + - @@ -112,21 +115,19 @@ label-position="right" :rules="rule1" > - - - - + + + - - - - + - - - - + + - - -
取消 @@ -157,143 +153,142 @@
diff --git a/hb_client/src/views/wpm/firstCheck.vue b/hb_client/src/views/wpm/firstCheck.vue index 0dbe011..d518f28 100644 --- a/hb_client/src/views/wpm/firstCheck.vue +++ b/hb_client/src/views/wpm/firstCheck.vue @@ -63,21 +63,21 @@ > diff --git a/hb_client/src/views/sam/customer.vue b/hb_client/src/views/sam/customer.vue index b6270d6..6b591cf 100644 --- a/hb_client/src/views/sam/customer.vue +++ b/hb_client/src/views/sam/customer.vue @@ -2,34 +2,40 @@
- 新增客户 - - 搜索 - 重置 -
- + + 新增客户 + + + + 搜索 + + + 重置 + +
- + - - - + + - - - + - - + - - + - - + - - + @@ -103,21 +102,21 @@ :rules="rule1" > - + - + - - + + - - + + - - + + - +
取消 @@ -127,123 +126,124 @@
diff --git a/hb_client/src/views/sam/order.vue b/hb_client/src/views/sam/order.vue index f6c9325..59f7b14 100644 --- a/hb_client/src/views/sam/order.vue +++ b/hb_client/src/views/sam/order.vue @@ -2,34 +2,40 @@
- 新增订单 - - 搜索 - 重置 -
- + + 新增订单 + + + + 搜索 + + + 重置 + +
- + - - - - + + - + - + - + - + - - + - - + - - + - - - - + + + + @@ -123,26 +127,24 @@ label-position="right" :rules="rule1" > - - + - - - - + + + + - - - - - - + + + + - - - - + + + + - - - - - + + + + + - - - - - + + + +
取消 @@ -185,172 +186,174 @@
diff --git a/hb_client/src/views/sam/sales.vue b/hb_client/src/views/sam/sales.vue index ca48c1f..973c6dc 100644 --- a/hb_client/src/views/sam/sales.vue +++ b/hb_client/src/views/sam/sales.vue @@ -2,9 +2,14 @@
- 新增销售发货 + 新增销售发货 + 搜索 + 搜索 + 重置 + 重置 +
@@ -38,82 +45,73 @@ height="100" v-el-height-adaptive-table="{ bottomOffset: 42 }" > - + - + - + - + - + - - + - - - + - - + - - + + + - - + - - + - - + @@ -139,10 +137,10 @@ > - + - - + + - - - - - - + + + - - - + - + - + + 已军检 + - - + - + - + @@ -286,296 +277,293 @@
From 750e751513bf9953e4ff2f555db06f8ad058fe40 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 2 Mar 2022 14:40:42 +0800 Subject: [PATCH 04/13] yemianqunaxiananniutinajia --- hb_client/src/views/inm/fifo.vue | 551 ++++---- hb_client/src/views/inm/product.vue | 58 +- hb_client/src/views/inm/warehouse.vue | 327 ++--- hb_client/src/views/procurement/puorder.vue | 353 ++--- hb_client/src/views/procurement/vendor.vue | 43 +- hb_client/src/views/workflow/index.vue | 606 ++++---- hb_client/src/views/workflow/ticket.vue | 1413 +++++++++---------- 7 files changed, 1695 insertions(+), 1656 deletions(-) diff --git a/hb_client/src/views/inm/fifo.vue b/hb_client/src/views/inm/fifo.vue index c8ab286..699ae25 100644 --- a/hb_client/src/views/inm/fifo.vue +++ b/hb_client/src/views/inm/fifo.vue @@ -2,12 +2,22 @@
- 新增采购入库 - 新增其他入库 + + 新增其他入库 + 搜索 + 搜索 + 重置 + 重置 +
@@ -42,18 +54,15 @@ height="100" v-el-height-adaptive-table="{ bottomOffset: 42 }" > - - - - + + - + - - + @@ -64,35 +73,38 @@ 已审核 - - + @@ -116,7 +128,7 @@ label-position="right" :rules="rule1" > - +
- 取消 - 确认 + + 确认 +
- + - - - + - - - + + - diff --git a/hb_client/src/views/inm/product.vue b/hb_client/src/views/inm/product.vue index 0c4d093..7391079 100644 --- a/hb_client/src/views/inm/product.vue +++ b/hb_client/src/views/inm/product.vue @@ -1,13 +1,18 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
工单流程图
@@ -237,14 +162,17 @@ - +
-
@@ -266,7 +194,7 @@ - + @@ -280,13 +208,14 @@ diff --git a/hb_client/src/views/bigScreen/centerRight1.vue b/hb_client/src/views/bigScreen/centerRight1.vue index 59c6c62..bdb1f85 100644 --- a/hb_client/src/views/bigScreen/centerRight1.vue +++ b/hb_client/src/views/bigScreen/centerRight1.vue @@ -20,26 +20,26 @@ export default { data() { return { config: { - header: ['姓名', '部门', '到岗'], + header: ['姓名', '部门', '到岗情况'], data: [ - ['组件1', 'dev-1', "已到岗"], - ['组件2', 'dev-2', "未到岗"], - ['组件3', 'dev-3', "已到岗"], - ['组件4', 'rea-1', "已到岗"], - ['组件5', 'rea-2', "已到岗"], - ['组件6', 'fix-2', "已到岗"], - ['组件7', 'fix-4', "已到岗"], - ['组件8', 'fix-7', "未到岗"], - ['组件9', 'dev-2', "未到岗"], - ['组件10', 'dev-9', "已到岗"] + ['张思', '一车间', "已到岗"], + ['李森', '一车间', "已到岗"], + ['王师', '一车间', "未到岗"], + ['赵迪', '一车间', "已到岗"], + ['孟津', '一车间', "已到岗"], + ['孙东课', '一车间', "已到岗"], + ['周神秘', '二车间', "已到岗"], + ['吴老弟', '二车间', "未到岗"], + ['郑成功', '二车间', "已到岗"], + ['冯宝宝', '二车间', "已到岗"] ], rowNum: 7, //表格行数 headerHeight: 35, headerBGC: '#0f1325', //表头 oddRowBGC: '#0f1325', //奇数行 evenRowBGC: '#171c33', //偶数行 - index: true, - columnWidth: [50], + index: false, + // columnWidth: [50], align: ['center'] } } diff --git a/hb_client/src/views/bigScreen/centerRight2.vue b/hb_client/src/views/bigScreen/centerRight2.vue index 3102a49..2d32f13 100644 --- a/hb_client/src/views/bigScreen/centerRight2.vue +++ b/hb_client/src/views/bigScreen/centerRight2.vue @@ -5,7 +5,7 @@ - 产品销售渠道分析 + 工序成品率
diff --git a/hb_client/src/views/bigScreen/index.vue b/hb_client/src/views/bigScreen/index.vue index d78a676..95cfcbb 100644 --- a/hb_client/src/views/bigScreen/index.vue +++ b/hb_client/src/views/bigScreen/index.vue @@ -30,44 +30,43 @@
- 数据分析1 + 数据统计
- 数据分析2 +
- 车间详情展示 + 车间详情
- {{ dateYear }} {{ dateWeek }} {{ dateDay }} + {{ dateYear }} {{ dateWeek }} {{ dateDay }}
- +
-
- - - -
-
- - - -
+
+ + + +
+
+ + + +
+
@@ -93,6 +92,7 @@ import drawMixin from "../../utils/drawMixin"; import { formatTimeBigScreen } from '../../utils/index.js' import centerLeft1 from './centerLeft1' + import centerLeft2 from './centerLeft2' import centerRight1 from './centerRight1' import centerRight2 from './centerRight2' import center from './center' @@ -115,6 +115,7 @@ }, components: { centerLeft1, + centerLeft2, centerRight1, centerRight2, center, @@ -122,8 +123,8 @@ bottomRight }, created(){ - window.open('http://49.232.14.174:2222/#/index'); - this.$router.go(-1) + // window.open('http://49.232.14.174:2222/#/index'); + // this.$router.go(-1) }, mounted() { this.timeFn(); diff --git a/hb_client/src/views/pm/management.vue b/hb_client/src/views/pm/management.vue index 5ee4808..b8b22cb 100644 --- a/hb_client/src/views/pm/management.vue +++ b/hb_client/src/views/pm/management.vue @@ -44,7 +44,7 @@ @@ -248,6 +248,7 @@ this.productionplanList = response.data; let list = response.data.results; let arr = []; + debugger; list.forEach((item) => { // if (!item.children || item.children.length < 1) { let startTime = new Date(item.start_date).getTime(); diff --git a/hb_client/src/views/pm/plan.vue b/hb_client/src/views/pm/plan.vue index 8ed58f7..908f79c 100644 --- a/hb_client/src/views/pm/plan.vue +++ b/hb_client/src/views/pm/plan.vue @@ -42,8 +42,8 @@ -