pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock.vue
@@ -21,10 +21,6 @@ <script> import { todayDate } from '@/utils/util.js'; export default { onLoad(params) { this.punchTheClockObj.tmcoa = params.tmId.toString(); this.coalStatus = params.coalStatus; }, data() { return { nowTime: '', @@ -36,7 +32,9 @@ } }; }, onLoad() { onLoad(params) { this.punchTheClockObj.tmcoa = params.tmId; this.coalStatus = params.coalStatus; this.getSetting(); //获取授权 this.getFuzzyLocation(); //获取位置 this.todayDate(); //当前时间