Forráskód Böngészése

修改手动抄表

Signed-off-by: hsshuxian <3049816743@qq.com>
hsshuxian 4 hónapja
szülő
commit
ec1755edbc
1 módosított fájl, 8 hozzáadás és 1 törlés
  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.recListForm = {
+        year: '',
+        deviceCode: '',
+        recList: []
+      };
+      this.fillForm = this.$options.data().fillForm;
+      this.fillFormOpen = false;
       this.getAreaTreeSelect() // 重新加载设备树
       this.handleQuery()
     },
@@ -303,7 +311,6 @@ export default {
       this.fillForm.magnification = latestRecord.magnification || 1;
       this.fillForm.lastTime = latestRecord.meterTime;
       this.fillForm.lastReading = latestRecord.meterReading;
-
       this.fillFormOpen = true; // 打开填报表单
     },
     // async handleRecord(row) {