diff --git a/hw-ui/src/views/board/fifthFloor/index.vue b/hw-ui/src/views/board/fifthFloor/index.vue index 6c9a38aa..c1163302 100644 --- a/hw-ui/src/views/board/fifthFloor/index.vue +++ b/hw-ui/src/views/board/fifthFloor/index.vue @@ -866,14 +866,14 @@ export default { // }); // }, 60 * 1000) getLoginStationInfo().then(e => { - // if(!e.data){ - // this.$modal.msgError("登录工位有误"); - // return; - // } - // this.loginStationInfo = e.data; + if(!e.data){ + this.$modal.msgError("登录工位有误"); + return; + } + this.loginStationInfo = e.data; //TODO - this.loginStationInfo = {stationId: "1", stationCode: "ZP_02"} + // this.loginStationInfo = {stationId: "1", stationCode: "ZP_02"} this.getProductPlans(); this.getChartData(); }); @@ -1963,9 +1963,14 @@ export default { }, setSerialData() { + if (this.rawBackVisible) { this.rawBackForm.materialBarcode = this.serialData; - } else { + } else if(this.printModel){ + this.$set(this.PrintData, "productBarcode", this.serialData); + console.log("printdata:"+this.PrintData.productBarcode) + } + else { this.input1 = this.serialData; } // console.log(this.serialData) diff --git a/hw-ui/src/views/board/production/fifthFloor.vue b/hw-ui/src/views/board/production/fifthFloor.vue index 3782143a..db2384b3 100644 --- a/hw-ui/src/views/board/production/fifthFloor.vue +++ b/hw-ui/src/views/board/production/fifthFloor.vue @@ -9,16 +9,19 @@
-
+
编号
-
- 生产工单 +
+ 生产任务 +
+
+ 成品名称
-
+
计划数量
-
+
实际数量
@@ -40,22 +43,27 @@ >
{{ item.no }}
{{ item.orderCode }}
+ {{ item.materialName }} +
+
{{ item.planAmount }}
{{ item.completeAmount }}
@@ -196,7 +204,7 @@ export default { rate: [0, 0, 0] }, title: [ - '工单生产进度', + '生产任务信息', '工位生产效率TOP', ' ', '计划数量:', @@ -265,6 +273,7 @@ export default { orderCode: v.orderCode, planAmount: v.planAmount, completeAmount: v.completeAmount, + materialName:v.materialName, quantityAmount: parseFloat(v.planAmount) - parseFloat(v.completeAmount), finishingRate: parseFloat(v.completeAmount) === 0 ? 0 : (parseFloat(v.completeAmount) / parseFloat(v.completeAmount)) * 100 } diff --git a/hw-ui/src/views/board/production/firstFloor.vue b/hw-ui/src/views/board/production/firstFloor.vue index d2a3a39c..a07854cd 100644 --- a/hw-ui/src/views/board/production/firstFloor.vue +++ b/hw-ui/src/views/board/production/firstFloor.vue @@ -174,8 +174,8 @@ export default { }, time: parseTime(new Date(), '{y}-{m}-{d} 星期{a} {h}:{i}:{s}'), title: [ - '工序生产进度', - '提升机状态', + '生产任务信息', + '提升机信息', ' ', ' ', ' ', diff --git a/hw-ui/src/views/board/production/fourthFloor.vue b/hw-ui/src/views/board/production/fourthFloor.vue index 76ffb800..742ce2fe 100644 --- a/hw-ui/src/views/board/production/fourthFloor.vue +++ b/hw-ui/src/views/board/production/fourthFloor.vue @@ -82,9 +82,9 @@ export default { time: parseTime(new Date(), '{y}-{m}-{d} 星期{a} {h}:{i}:{s}'), title: [ '工序生产进度', - '工序名称对比', - '七日产量对比', - ' ', + '工序对比信息', + '', + '能源占比信息', ' ', ' ', ' ', @@ -105,8 +105,8 @@ export default { left: 5.5 }, { - top: 63, - left: 30.5 + top: 11.8, + left: 37.5 }, { top: 63, diff --git a/hw-ui/src/views/board/production/secondFloor.vue b/hw-ui/src/views/board/production/secondFloor.vue index 71eebcf5..ce546fd4 100644 --- a/hw-ui/src/views/board/production/secondFloor.vue +++ b/hw-ui/src/views/board/production/secondFloor.vue @@ -9,13 +9,13 @@
-
- 编号 -
+ + +
- 生产工单 + 生产任务
-
+
成品名称
@@ -27,7 +27,7 @@
差异值
-
+
完成率
@@ -42,18 +42,18 @@ :key="index" >
-
- {{ item.no }} -
+ + + + +
{{ item.orderCode }}
{{ item.materialName }}
@@ -73,7 +73,7 @@ {{ item.quantityAmount }}
{{ item.finishingRate }}%
@@ -138,7 +138,7 @@ export default { diff: [0, 0, 0, 0] }, title: [ - '工单计划', + '生产任务', '小时产量', '七日产量对比', '粉尘数据走势', diff --git a/hw-ui/src/views/board/warehouse/firstFloor.vue b/hw-ui/src/views/board/warehouse/firstFloor.vue index 1394e0af..8e739f90 100644 --- a/hw-ui/src/views/board/warehouse/firstFloor.vue +++ b/hw-ui/src/views/board/warehouse/firstFloor.vue @@ -1,6 +1,6 @@