抄表记录时间戳
This commit is contained in:
@@ -34,6 +34,18 @@ Page({
|
||||
await that.getList();
|
||||
})
|
||||
},
|
||||
onEditFinish() {
|
||||
this.setData({
|
||||
title: null,
|
||||
visible: null,
|
||||
time: null,
|
||||
number: null,
|
||||
id: null,
|
||||
readAtTimestamp: null,
|
||||
type: null,
|
||||
})
|
||||
this.refresh()
|
||||
},
|
||||
async getMeterInfo(id) {
|
||||
const { code, message, data } = await getMeterReadingRouteMeterDetail(id)
|
||||
if (code !== OK) {
|
||||
@@ -85,6 +97,7 @@ Page({
|
||||
time: data.readAt,
|
||||
number: data.overall,
|
||||
id: data.id,
|
||||
readAtTimestamp: data.readAtTimestamp,
|
||||
type: "edit",
|
||||
}, () => {
|
||||
console.log("this.data---------", this.data)
|
||||
|
||||
Reference in New Issue
Block a user