Browse Source

修改手动抄表

Signed-off-by: hsshuxian <3049816743@qq.com>
hsshuxian 4 months ago
parent
commit
ec1755edbc
1 changed files with 8 additions and 1 deletions
  1. 8 1
      ems-ui-cloud/src/views/devmgr/meterRead/index.vue

+ 8 - 1
ems-ui-cloud/src/views/devmgr/meterRead/index.vue

@@ -224,6 +224,14 @@ export default {
         // 水表抄表
         // 水表抄表
         this.queryParams.meterCls = '70'
         this.queryParams.meterCls = '70'
       }
       }
+      /** 清理数据*/
+      this.recListForm = {
+        year: '',
+        deviceCode: '',
+        recList: []
+      };
+      this.fillForm = this.$options.data().fillForm;
+      this.fillFormOpen = false;
       this.getAreaTreeSelect() // 重新加载设备树
       this.getAreaTreeSelect() // 重新加载设备树
       this.handleQuery()
       this.handleQuery()
     },
     },
@@ -303,7 +311,6 @@ export default {
       this.fillForm.magnification = latestRecord.magnification || 1;
       this.fillForm.magnification = latestRecord.magnification || 1;
       this.fillForm.lastTime = latestRecord.meterTime;
       this.fillForm.lastTime = latestRecord.meterTime;
       this.fillForm.lastReading = latestRecord.meterReading;
       this.fillForm.lastReading = latestRecord.meterReading;
-
       this.fillFormOpen = true; // 打开填报表单
       this.fillFormOpen = true; // 打开填报表单
     },
     },
     // async handleRecord(row) {
     // async handleRecord(row) {