From 128fbbb094380976adf8184a8d99e2849e85bd17 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期一, 28 九月 2026 14:53:51 +0800
Subject: [PATCH] 宁夏万通需求:生产领料取消必填;设备台账批量删除;来料检验质检方案不绑定物料
---
src/views/hrm/attendance/exception/modules/form.vue | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/views/hrm/attendance/exception/modules/form.vue b/src/views/hrm/attendance/exception/modules/form.vue
index abd26f9..79676ef 100644
--- a/src/views/hrm/attendance/exception/modules/form.vue
+++ b/src/views/hrm/attendance/exception/modules/form.vue
@@ -74,7 +74,17 @@
}
modalApi.lock();
try {
- await formApi.setValues(await getAttendanceException(data.id));
+ const detail = await getAttendanceException(data.id);
+ await formApi.setValues(detail);
+ if (detail.attachmentList?.length) {
+ await formApi.setFieldValue('blobIds', detail.attachmentList.map(item => ({
+ uid: String(item.id),
+ name: item.name || '',
+ url: item.url || '',
+ status: 'done',
+ id: item.id,
+ })));
+ }
} finally {
modalApi.unlock();
}
--
Gitblit v1.9.3