From b47429d951a5bdea2d81cdc011251f68eefb4964 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期四, 05 六月 2025 13:38:39 +0800 Subject: [PATCH] refactor(eims): 优化设备维护计划导入功能 --- eims-ui-mobile/src/pages/scan/index.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/eims-ui-mobile/src/pages/scan/index.vue b/eims-ui-mobile/src/pages/scan/index.vue index 82d4d73..0d2ee20 100644 --- a/eims-ui-mobile/src/pages/scan/index.vue +++ b/eims-ui-mobile/src/pages/scan/index.vue @@ -101,7 +101,9 @@ function initData(assetNo: any) { getEquByAssetNo(assetNo) .then((res: any) => { - if (res.data) { + console.error(res) + if (res?.equId) { + exist.value = true Object.assign(model, res) } else { toast.error('鏈煡璇㈠埌璇ヨ祫浜х紪鍙风浉鍏虫暟鎹紒') -- Gitblit v1.9.3