diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/sb/repair/service/impl/DevicerepairmstServiceImpl.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/sb/repair/service/impl/DevicerepairmstServiceImpl.java
index 73ad9e4d..0bbc4b04 100644
--- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/sb/repair/service/impl/DevicerepairmstServiceImpl.java
+++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/sb/repair/service/impl/DevicerepairmstServiceImpl.java
@@ -765,6 +765,9 @@ public class DevicerepairmstServiceImpl implements DevicerepairmstService {
io_mst.put("input_time", now);
io_mst.put("update_optid", currentUserId + "");
io_mst.put("update_optname", nickName);
+ io_mst.put("dis_optid", currentUserId);
+ io_mst.put("dis_optname", nickName);
+ io_mst.put("dis_time", DateUtil.now());
io_mst.put("update_time", now);
io_mst.put("device_id", jsonMst.get("device_id"));
io_mst.put("device_code", jsonMst.get("device_code"));
diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/sb/stat/service/impl/DevicesparepartivtServiceImpl.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/sb/stat/service/impl/DevicesparepartivtServiceImpl.java
index 6a7f1cae..753670ba 100644
--- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/sb/stat/service/impl/DevicesparepartivtServiceImpl.java
+++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/sb/stat/service/impl/DevicesparepartivtServiceImpl.java
@@ -161,6 +161,7 @@ public class DevicesparepartivtServiceImpl implements DevicesparepartivtService
dtl_map.put("库区名称", jo.getString("sect_name"));
dtl_map.put("物料编码", jo.getString("material_code"));
dtl_map.put("物料名称", jo.getString("material_name"));
+ dtl_map.put("备件唯一码", jo.getString("sparepart_only_id"));
dtl_map.put("型号", jo.getString("material_model"));
dtl_map.put("技术规格", jo.getString("material_spec"));
dtl_map.put("批次", jo.getString("pcsn"));
diff --git a/mes/qd/src/views/wms/sb/repair/devicerepairpa/index.vue b/mes/qd/src/views/wms/sb/repair/devicerepairpa/index.vue
index ff5508b9..1a32367a 100644
--- a/mes/qd/src/views/wms/sb/repair/devicerepairpa/index.vue
+++ b/mes/qd/src/views/wms/sb/repair/devicerepairpa/index.vue
@@ -311,16 +311,17 @@ export default {
executeRepair() {
const _selectData = this.$refs.table.selection
const data = _selectData[0]
- if (data.invstatus !== '03') {
- return this.crud.notify('只能对开始状态的单据执行', CRUD.NOTIFICATION_TYPE.INFO)
+ if (data.invstatus === '03' || data.invstatus === '04' || data.invstatus === '05') {
+ crudDevicerepairmst.getDtl(data).then(res => {
+ this.openParam = {
+ 'form': data,
+ 'tableData': res
+ }
+ this.executeDialog = true
+ })
+ } else {
+ return this.crud.notify('单据状态不正确', CRUD.NOTIFICATION_TYPE.INFO)
}
- crudDevicerepairmst.getDtl(data).then(res => {
- this.openParam = {
- 'form': data,
- 'tableData': res
- }
- this.executeDialog = true
- })
},
confirmRepair() {
const _selectData = this.$refs.table.selection
diff --git a/mes/qd/src/views/wms/sb/stat/deviceivtquery/index.vue b/mes/qd/src/views/wms/sb/stat/deviceivtquery/index.vue
index 6c481ebd..f45f5edc 100644
--- a/mes/qd/src/views/wms/sb/stat/deviceivtquery/index.vue
+++ b/mes/qd/src/views/wms/sb/stat/deviceivtquery/index.vue
@@ -65,9 +65,9 @@
-
-
-
+
+
+
diff --git a/mes/qd/src/views/wms/sb/stat/devicesafetyqtyquery/index.vue b/mes/qd/src/views/wms/sb/stat/devicesafetyqtyquery/index.vue
index 215fec20..8bf8c819 100644
--- a/mes/qd/src/views/wms/sb/stat/devicesafetyqtyquery/index.vue
+++ b/mes/qd/src/views/wms/sb/stat/devicesafetyqtyquery/index.vue
@@ -55,8 +55,8 @@
-
+
diff --git a/mes/qd/src/views/wms/sb/stat/task/bigScreen.vue b/mes/qd/src/views/wms/sb/stat/task/bigScreen.vue
index a4d387fe..67c63cb5 100644
--- a/mes/qd/src/views/wms/sb/stat/task/bigScreen.vue
+++ b/mes/qd/src/views/wms/sb/stat/task/bigScreen.vue
@@ -1,46 +1,19 @@
-
-
-
- 统计任务看板
-
-
-
-
-
{{ getTime }}
-
-
-
-
-
-
-
-
-
-
+
@@ -58,34 +31,17 @@ export default {
currentDate: new Date(),
getTime: '',
getDate: '',
- tableData: []
+ tableData: [
+ { 'input_time': '暂无数据', 'repair_code': '暂无数据', 'maintenancecycle': '暂无数据', 'device_code': '暂无数据', 'device_name': '暂无数据' }
+ ]
}
},
created() {
},
mounted() {
- // 定时器
- const timer = setInterval(() => {
- this.settime()// 你所加载数据的方法
- }, 1000)
- // 销毁定时器
- this.$once('hook:beforeDestroy', () => {
- clearInterval(timer)
- })
this.init()
},
methods: {
- settime() {
- const _this = this
- const yy = new Date().getFullYear()
- const mm = new Date().getMonth() + 1
- const dd = new Date().getDate()
- const hh = new Date().getHours()
- const mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes() : new Date().getMinutes()
- const ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds() : new Date().getSeconds()
- _this.getDate = yy + '年' + mm + '月' + dd + '日 ' + '星期' + '日一二三四五六'.charAt(new Date().getDay())
- _this.getTime = hh + ':' + mf + ':' + ss
- },
// webSocket
init: function() {
if (typeof (WebSocket) === 'undefined') {
@@ -118,11 +74,56 @@ export default {
},
close: function() {
console.log('socket已经关闭')
+ },
+ cellStyle(row, column, rowIndex, columnIndex) {
+ return 'font-size: 14px;'
}
+ },
+ beforeCreate() {
+ this.$nextTick(() => {
+ document.body.setAttribute('style', 'background-color: #2D2F3F')
+ })
+ },
+ // 实例销毁之前钩子--移除body 标签的属性style
+ beforeDestroy() {
+ document.body.removeAttribute('style')
}
}
-
diff --git a/mes/qd/src/views/wms/sb/stat/taskscreen/taskScreen.vue b/mes/qd/src/views/wms/sb/stat/taskscreen/taskScreen.vue
index 6d9ae7b6..57e85550 100644
--- a/mes/qd/src/views/wms/sb/stat/taskscreen/taskScreen.vue
+++ b/mes/qd/src/views/wms/sb/stat/taskscreen/taskScreen.vue
@@ -1,5 +1,6 @@
+
维修班组任务列表
报修任务
@@ -12,6 +13,7 @@
+
在修任务