总装机床:
'
for (let i = 0; i < res2.data.length; i++) {
@@ -771,6 +807,7 @@ export default {
})
} else if ($event.path[2].id === '部件装配') {
getBuzhuang().then(res3 => {
+ this.tableData2 = res3.data
if (res3.data.length !== 0) {
this.returns2 = '
部件装配:
'
for (let i = 0; i < res3.data.length; i++) {
@@ -848,7 +885,19 @@ export default {
this.tooltip3 = '加工零件:' + response.data[0].零件图号_零件工艺计划
}
getOP_state2($event.path[2].id).then(res => {
- if (res.data[0].状态代码 === '1') { this.tooltip2 = '设备状态:关机' } else if (res.data[0].状态代码 === '2') { this.tooltip2 = '设备状态:等待' } else if (res.data[0].状态代码 === '3') { this.tooltip2 = '设备状态:运行' } else if (res.data[0].状态代码 === '4') { this.tooltip2 = '设备状态:报警' }
+ if (res.data[0].状态代码 === '0') {
+ this.tooltip2 = '设备状态:设备报警'
+ } else if (res.data[0].状态代码 === '1') {
+ this.tooltip2 = '设备状态:关机'
+ } else if (res.data[0].状态代码 === '2') {
+ this.tooltip2 = '设备状态:等待'
+ } else if (res.data[0].状态代码 === '3') {
+ this.tooltip2 = '设备状态:运行'
+ } else if (res.data[0].状态代码 === '4') {
+ this.tooltip2 = '设备状态:报警'
+ } else if (res.data[0].状态代码 === '10') {
+ this.tooltip2 = '设备状态:工位电脑关闭'
+ }
})
})
}
@@ -960,7 +1009,7 @@ export default {
background-size:100% 100%;-moz-background-size:100% 100%;
overflow: hidden;
}
- /*绿色闪*/
+ /*绿色*/
.circle{
float: left;
width: 10px;
@@ -969,9 +1018,9 @@ export default {
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
- background: url('../../../assets/img/greenTwinkle.gif');
+ /*background: url('../../../assets/img/greenTwinkle.gif');*/
}
- /*黄色闪*/
+ /*黄色*/
.circle1{
float: left;
width: 10px;
@@ -980,9 +1029,9 @@ export default {
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
- background: url('../../../assets/img/yellowTwinkle.gif');
+ /*background: url('../../../assets/img/yellowTwinkle.gif');*/
}
- /*灰色闪*/
+ /*灰色*/
.circle2{
float: left;
width: 10px;
@@ -991,25 +1040,26 @@ export default {
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
- background: url('../../../assets/img/grayTwinkle.gif');
+ /*background: url('../../../assets/img/grayTwinkle.gif');*/
}
- /*蓝色闪*/
+ /*红色*/
.circle3{
float: left;
width: 10px;
height: 10px;
- background-color:dodgerblue;
+ background-color:red;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
- background: url('../../../assets/img/blueTwinkle.gif');
+ /*background: url('../../../assets/img/blueTwinkle.gif');*/
}
- /*灰色*/
+ /*灰色圈*/
.circle4{
float: left;
width: 10px;
height: 10px;
- background-color:gray;
+ border:2px solid gray;
+ background-color:transparent;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
@@ -1027,3 +1077,71 @@ export default {
background-color:#FFBB00 ;
}
+
diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue
index f268c55d..80d85d9a 100644
--- a/src/views/ManufacturingCenter/InitialProduction/index.vue
+++ b/src/views/ManufacturingCenter/InitialProduction/index.vue
@@ -10,7 +10,7 @@
-
+
-
+
- 查询
- 导出
+ 查询
+ 导出
-
+
{{ scope.row.物料名称 }}
-
+
{{ scope.row.物料型号 }}
diff --git a/src/views/ManufacturingCenter/PartAssignment/index.vue b/src/views/ManufacturingCenter/PartAssignment/index.vue
index 03955470..0bbb19fa 100644
--- a/src/views/ManufacturingCenter/PartAssignment/index.vue
+++ b/src/views/ManufacturingCenter/PartAssignment/index.vue
@@ -1,9 +1,9 @@
-
+
-
+
-
+
- 三表下达时间: {{ DeliveryTime }}
+ 任务下达时间: {{ DeliveryTime }}
@@ -61,22 +61,22 @@
-
+
-
+
-
+
{{ scope.row.零件名称 }}
-
+
{{ scope.row.零件图号 }}
-
+
{{ scope.row.前零件图号 }}
@@ -113,13 +113,13 @@
- 移出
+ 移出
-
+
@@ -169,7 +169,7 @@
-
+
@@ -219,38 +219,41 @@
- 交货期:
-
- 制造:
-
- 制造部采购
-
- 金工:
-
- 车间生产
-
- 采购:
-
- 采购部门采购
-
+
+ 交货期:
+
+ 制造:
+
+ 制造部采购
+
+ 金工:
+
+ 车间生产
+
+ 采购:
+
+ 采购部门采购
+
+
-
+
- 查询
- 新增
- 删除
+ 查询
+ 新增
+ 删除
+ 导出
-
+
@@ -273,7 +276,7 @@
{{ scope.row.请购时间 }}
-
+
{{ scope.row.备注 }}
@@ -287,9 +290,9 @@
-
+
-
+
@@ -306,17 +309,17 @@
{{ scope.row.规格或材料 }}
-
+
{{ scope.row.零件数量 }}
-
+
{{ scope.row.零件类型 }}
-
+
{{ scope.row.物料计划到货时间 }}
@@ -326,17 +329,17 @@
-
+
{{ scope.row.机床图号 }}
-
+
{{ scope.row.组号 }}
-
+
{{ scope.row.备注 }}
@@ -672,6 +675,9 @@ export default {
_this.DeliveryTime = ''
}
}
+ },
+ groupNumberValue() {
+ this.searchTable()
}
},
created() {
@@ -679,6 +685,16 @@ export default {
this.fetchData()
},
methods: {
+ // EXCEL 导出
+ // 姜福壮
+ exportExcel() {
+ if (this.RequisitionList !== '') {
+ var param = []
+ param[0] = ['请购单流水号', this.RequisitionList]
+ var Data = this.CreateData('00', '报表_制造中心-制造_零件分配_查询', param)
+ this.exportExcel_NPOI(Data)
+ }
+ },
fetchData() {
if (Cookie.get('machineValue') !== undefined) {
this.machineNumber = []
@@ -871,6 +887,9 @@ export default {
value: response.data[i].组件流水号
})
}
+ if (response.data.length > 0) {
+ this.groupNumberValue = this.groupNumber[0].value
+ }
})
},
// 三表下达时间查询
@@ -1531,7 +1550,7 @@ export default {
}
.item {
float: right;
- margin-top: 10px;
+ margin-top: 5px;
margin-right: 40px;
}
diff --git a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue
index 8e4f13d4..67e2a617 100644
--- a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue
+++ b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue
@@ -1,8 +1,7 @@
-
+
- 修改完成数量
查询
导出
+
+ 修补加工工时
@@ -74,6 +75,7 @@
-
-
-
-
-
+
+
+
+
+
{{ scope.row.零件图号 }}
@@ -231,16 +233,52 @@
确定
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+