From c478eeab11f49bbf505f2f570306acf6e5de32ec Mon Sep 17 00:00:00 2001 From: mo-bai <1873032855@qq.com> Date: Sat, 2 Apr 2022 18:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E5=8E=82=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/apply-inspection/index.vue | 3 +++ pages/device-production-detail/index.vue | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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) {