From 2ab727eb8a56077d9ad52112a9c8e97010b84b6d Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期一, 09 六月 2025 19:50:49 +0800 Subject: [PATCH] feat(eims): 优化保养计划和点检记录功能 --- eims-ui-mobile/src/pages/scan/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/eims-ui-mobile/src/pages/scan/index.vue b/eims-ui-mobile/src/pages/scan/index.vue index 82d4d73..b9ccad5 100644 --- a/eims-ui-mobile/src/pages/scan/index.vue +++ b/eims-ui-mobile/src/pages/scan/index.vue @@ -19,7 +19,7 @@ <view class="flex justify-between items-baseline"> <view class="flex items-center menu-title-box"> <view class="menu-indicator"></view> - <text class="ml-1 text-xs">{{ model.assetNo }}</text> + <text class="ml-1 text-sm">{{ model.assetNo }}</text> <wd-tag v-if="model.status === '0'" class="ml-2" bg-color="cyan">璇曠敤</wd-tag> <wd-tag v-else-if="model.status === '1'" class="ml-2" type="success">浣跨敤</wd-tag> <wd-tag v-else-if="model.status === '2'" class="ml-2" type="danger">鍋滅敤</wd-tag> @@ -41,7 +41,7 @@ {{ model.equName }} <text class="text-color-gray ml-2 text-mini">{{ model.modelNo }}</text> </view> - <view class="text-color-gray text-xs mt-1"> + <view class="text-color-gray text-sm mt-1"> {{ model.location }} | {{ model.madeIn }} </view> </view> @@ -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