From df64c34d92cbe8501bbbfe837bc491a47452c0b6 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期一, 09 六月 2025 10:58:19 +0800 Subject: [PATCH] feat(eims): 新增保养工单批量修改功能并优化相关领域对象 --- eims-ui-mobile/src/pages/repair/req-list.vue | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/eims-ui-mobile/src/pages/repair/req-list.vue b/eims-ui-mobile/src/pages/repair/req-list.vue index 4db9c85..c93a9ea 100644 --- a/eims-ui-mobile/src/pages/repair/req-list.vue +++ b/eims-ui-mobile/src/pages/repair/req-list.vue @@ -52,7 +52,7 @@ <view class="flex justify-between items-center"> <view class="flex items-center menu-title-box"> <view class="menu-indicator"></view> - <text class="ml-1 text-xs">{{ item.code }}</text> + <text class="ml-1 text-sm">{{ item.code }}</text> </view> <view> @@ -114,13 +114,13 @@ <text>鎶ヤ慨浜�: {{ item.reqUserName }}</text> </view> </view> - <view class="text-color-gray text-xs mt-1"> + <view class="text-color-gray text-sm mt-1"> {{ item.location }} {{ item.madeIn }} </view> </view> <view v-if="isSelectReq"> <wd-button size="small" icon="edit-outline" @click.stop="handleSelectReq(item)"> - 閫変腑 + 鎺ュ崟 </wd-button> </view> </view> @@ -263,10 +263,19 @@ * @param item */ function handleSelectReq(item: any) { - if (isSelectReq.value) { - emitSelectReq(item) - uni.navigateBack() - } + // 寮瑰嚭纭鏄惁鎺ュ崟寮圭獥 + message.confirm({ + msg: '纭畾鎺ュ崟锛�', + title: '鎻愮ず', + beforeConfirm: ({ resolve }) => { + resolve(true) + // 鎺ュ崟閫昏緫澶勭悊 + if (isSelectReq.value) { + emitSelectReq(item) + uni.navigateBack() + } + }, + }) } /** -- Gitblit v1.9.3