diff --git a/src/api/wms/equipment.js b/src/api/wms/equipment.js
index b746322c..c596c4a2 100644
--- a/src/api/wms/equipment.js
+++ b/src/api/wms/equipment.js
@@ -114,3 +114,21 @@ export function getAuxiliaryEquipmentList(query) {
params: query
});
}
+
+// 查询维修记录
+export function getWXRecordsList(query) {
+ return request({
+ url: '/wms/equipment/getWXRecordsList',
+ method: 'get',
+ params: query
+ });
+}
+
+// 查询保养记录
+export function getBYRecordsList(query) {
+ return request({
+ url: '/wms/equipment/getBYRecordsList',
+ method: 'get',
+ params: query
+ });
+}
diff --git a/src/views/device/repairOrder/index.vue b/src/views/device/repairOrder/index.vue
index 5dfaeabf..0a1c61e9 100644
--- a/src/views/device/repairOrder/index.vue
+++ b/src/views/device/repairOrder/index.vue
@@ -1729,7 +1729,7 @@ export default {
indexMethod(index) {
return index + 1;
},
- //计算时间 结束维修时间-开始维修时间
+ //计算时间 结束维修时间-开始维修时间 转化为小时
listeningTime() {
if (this.form.workEndTime != null && this.form.workStartTime != null) {
var time1 = moment(this.form.workStartTime);
@@ -1738,26 +1738,14 @@ export default {
let { _data } = duration;
console.log("打印维修时间", _data);
//拼接
- this.form.workCostTime =
- _data.years +
- "年" +
- _data.months +
- "月" +
- _data.days +
- "日" +
- _data.hours +
- "小时" +
- _data.minutes +
- "分" +
- _data.seconds +
- "秒";
+ this.form.workCostTime = (_data.days*24 + _data.hours + (_data.minutes/60) + (_data.seconds/3600)).toFixed(1)+ "小时" ;
}
},
- //计算时间 结束停机时间-开始停机时间
- // listeningDownTime() {
- // if (this.form.actualDownEndTime != null && this.form.actualDownStartTime != null) {
- // var time1 = moment(this.form.actualDownStartTime);
- // var time2 = moment(this.form.actualDownEndTime);
+ //计算时间 结束维修时间-开始维修时间
+ // listeningTime() {
+ // if (this.form.workEndTime != null && this.form.workStartTime != null) {
+ // var time1 = moment(this.form.workStartTime);
+ // var time2 = moment(this.form.workEndTime);
// let duration = moment.duration(time2.diff(time1));
// let { _data } = duration;
// console.log("打印维修时间", _data);
diff --git a/src/views/wms/equipment/index.vue b/src/views/wms/equipment/index.vue
index d5a72cb9..9469bb6a 100644
--- a/src/views/wms/equipment/index.vue
+++ b/src/views/wms/equipment/index.vue
@@ -907,6 +907,18 @@
:equipmentCode="form.equipmentCode"
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ scope.row.orderStatus == 0
+ ? "待处理"
+ : scope.row.orderStatus == 1
+ ? "已完成"
+ : scope.row.orderStatus == 2
+ ? "已逾期"
+ : scope.row.orderStatus == 3
+ ? "进行中"
+ : ""
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/wms/equipment/itemWXRecords.vue b/src/views/wms/equipment/itemWXRecords.vue
new file mode 100644
index 00000000..70a94493
--- /dev/null
+++ b/src/views/wms/equipment/itemWXRecords.vue
@@ -0,0 +1,160 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/wms/outorder/index.vue b/src/views/wms/outorder/index.vue
index 206ea594..547c6317 100644
--- a/src/views/wms/outorder/index.vue
+++ b/src/views/wms/outorder/index.vue
@@ -58,7 +58,7 @@
-
+
@@ -357,36 +357,36 @@ export default {
Optionlistck: [],
Packagingline: [
{
- stationNo: 'LJ1',
- stationname: '榄菊1',
+ stationNo: 'XL01',
+ stationname: '包装线01',
},
{
- stationNo: 'LJ2',
- stationname: '榄菊2',
+ stationNo: 'XL02',
+ stationname: '包装线02',
},
{
- stationNo: 'LJ3',
- stationname: '榄菊3',
+ stationNo: 'XL03',
+ stationname: '包装线03',
},
{
- stationNo: 'LJ4',
- stationname: '榄菊4',
+ stationNo: 'XL04',
+ stationname: '包装线04',
},
{
- stationNo: 'LJ5',
- stationname: '榄菊5',
+ stationNo: 'XL05',
+ stationname: '包装线05',
},
{
- stationNo: 'LJ6',
- stationname: '榄菊6',
+ stationNo: 'XL06',
+ stationname: '包装线06',
},
{
- stationNo: 'LJ7',
- stationname: '榄菊7',
+ stationNo: 'XL07',
+ stationname: '包装线07',
},
{
- stationNo: 'LJ8',
- stationname: '榄菊8',
+ stationNo: 'XL08',
+ stationname: '包装线08',
},
],