diff --git a/src/views/device/upkeepPlan/index.vue b/src/views/device/upkeepPlan/index.vue
index a4bf18a1..a35971d2 100644
--- a/src/views/device/upkeepPlan/index.vue
+++ b/src/views/device/upkeepPlan/index.vue
@@ -306,6 +306,11 @@
+
+
+ {{ scope.row.calculationRule == "0" ? "按照固定周期" : scope.row.one == "1" ? "按照上次保养时间" : "单次" }}
+
+
@@ -468,6 +473,7 @@
@@ -1461,7 +1467,7 @@ export default {
// 获取设备组线信息
getGroupLine().then(response => {
this.groupLineList = response.data;
- this.equipmentQuery.groupLine = response.data[0].equipmentCode;
+ // this.equipmentQuery.groupLine = response.data[0].equipmentCode;
this.getEquList();
})
@@ -1696,6 +1702,10 @@ export default {
return
}
}
+ if(this.form.calculationRule == "2"){
+ this.form.planTimeArray = null;
+ this.form.planLoopEnd = this.form.planLoopStart;
+ }
this.planLoading = true;
if (this.form.planId != null) {
this.form.personList = this.selectPersonList.map(item => {