Quellcode durchsuchen

瓦斯日报-更新

lxh vor 4 Monaten
Ursprung
Commit
fb8f1b88fe
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      pages/gasreport/gasreport.vue

+ 2 - 2
pages/gasreport/gasreport.vue

@@ -1371,7 +1371,7 @@ export default {
                 jcdd: '',
                 mcgzm: '',
                 jcy: this.username,
-                time: '',
+                time: moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),
                 ch4: '',
                 co2: '',
                 co: '',
@@ -1379,7 +1379,7 @@ export default {
                 jw: '',
                 gw: '',
                 bxy: '',
-                tbrq: '',
+                tbrq: moment(new Date()).format('YYYY-MM-DD'),
                 temp: '',
             }
             this.isRule = true