-
+
+
+
+
+ 重置
-
+
!this.equipmentItemSearch || data.equipmentCode.toLowerCase().includes(this.equipmentItemSearch.toLowerCase())
+ )
+ },
+
+ equipmentItemReset() {
+ this.form.equipmentItem = this.equipmentItemList;
+ this.equipmentItemSearch = '';
+ },
// 获取工作中心
setWorkCenter() {
getWorkCenter().then(response => {
@@ -1052,6 +1084,7 @@ export default {
if (this.form.equipmentItem[i].equipmentCode == e.equipmentCode) {
this.form.equipmentItem.splice(i, 1);
}
+ this.equipmentItemList = this.form.equipmentItem;//用equipmentItemList当暂时的存储表
}
},
// 选择设备确认按钮
@@ -1081,7 +1114,7 @@ export default {
for (let i = 0; i < response.data.length; i++) {
this.form.equipmentItem.push(response.data[i]);
}
-
+ this.equipmentItemList = this.form.equipmentItem;//用equipmentItemList当暂时的存储表
this.selectEqu = false;
})
diff --git a/src/views/device/upkeepOrder/index.vue b/src/views/device/upkeepOrder/index.vue
index d886df22..6e8df8aa 100644
--- a/src/views/device/upkeepOrder/index.vue
+++ b/src/views/device/upkeepOrder/index.vue
@@ -1265,9 +1265,6 @@
{{
workVO.order.shutDown
}}
- {{
- workVO.order.planPerson
- }}
{{
workVO.order.planPersonName
}}
diff --git a/src/views/device/upkeepPlan/index.vue b/src/views/device/upkeepPlan/index.vue
index a35971d2..d2d45d7f 100644
--- a/src/views/device/upkeepPlan/index.vue
+++ b/src/views/device/upkeepPlan/index.vue
@@ -498,7 +498,25 @@
-
+
+
+
+
+ 重置
-
+
!this.equipmentItemSearch || data.equipmentCode.toLowerCase().includes(this.equipmentItemSearch.toLowerCase())
+ )
+ },
+
+ equipmentItemReset() {
+ this.form.equipmentItem = this.equipmentItemList;
+ this.equipmentItemSearch = '';
+ },
// 备件选择btn
choseSpareBtn(){
// 清理缓存
@@ -1395,6 +1427,7 @@ export default {
if (this.form.equipmentItem[i].equipmentCode == e.equipmentCode) {
this.form.equipmentItem.splice(i, 1);
}
+ this.equipmentItemList = this.form.equipmentItem;//用equipmentItemList当暂时的存储表
}
},
// 选择设备确认按钮
@@ -1425,7 +1458,7 @@ export default {
for (let i = 0; i < response.data.length; i++) {
this.form.equipmentItem.push(response.data[i]);
}
-
+ this.equipmentItemList = this.form.equipmentItem;//用equipmentItemList当暂时的存储表
this.selectEqu = false;
})
}else {