|
@@ -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) {
|