From 0d5e402a41bebde4f2b4ab6507fa2229996ee328 Mon Sep 17 00:00:00 2001 From: zhuguifei <zhuguifei@zhuguifeideiMac.local> Date: 星期三, 14 五月 2025 19:10:18 +0800 Subject: [PATCH] 修复生成点检数据 --- 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