diff --git a/pages/apply-inspection/index.vue b/pages/apply-inspection/index.vue index 289a79e..cddff67 100644 --- a/pages/apply-inspection/index.vue +++ b/pages/apply-inspection/index.vue @@ -120,6 +120,9 @@ export default { timer: 0 } }, + onLoad(options) { + this.factoryId = options.factoryId + }, methods: { back, // 申请验厂 diff --git a/pages/device-production-detail/index.vue b/pages/device-production-detail/index.vue index 6a29e71..9b116d7 100644 --- a/pages/device-production-detail/index.vue +++ b/pages/device-production-detail/index.vue @@ -6,7 +6,7 @@ 生产数据 - + {{ (dateRange ? `${dateRange[0]}~${dateRange[1]}` : '全部') | formatDate }} @@ -48,7 +48,8 @@ export default { return { id: null, dateRange: null, - curDevice: {} + curDevice: {}, + maxTimestamp: new Date().getTime() } }, onLoad(options) {