From c3aaf28f7316cce12eec007a9f85a96cbcddeec2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 07 五月 2025 10:34:20 +0800
Subject: [PATCH] 最新版本541200007
---
pda/pages/index/center.vue | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/pda/pages/index/center.vue b/pda/pages/index/center.vue
index 3b64e25..ad0c9c2 100644
--- a/pda/pages/index/center.vue
+++ b/pda/pages/index/center.vue
@@ -63,6 +63,7 @@
<view v-if="item.status == 4" class="btn active" @click="handleWork(item)">寮�濮嬩綔涓�</view>
<view v-if="item.status == 5" class="btn" @click="handleErr(item)">寮傚父鎸傝捣</view>
+ <view v-if="item.status == 8" class="btn" @click="restore(item)">寮傚父鎸傝捣</view>
<view v-if="item.status == 5 || item.status == 8" class="btn" @click="handleTransform(item)">杞Щ鏈堝彴</view>
<view v-if="item.status == 5 || item.status == 8" class="btn active" @click="handleFinish(item)">浣滀笟瀹屾垚</view>
</view>
@@ -227,7 +228,8 @@
platformMove,
platformErr,
platformOverNumber,
- wmsJobDetail
+ wmsJobDetail,
+ restoreWork
} from '@/api'
import {
statusMap
@@ -565,6 +567,21 @@
}
}
})
+ },
+ restore(item) {
+ uni.showModal({
+ content: '鎮ㄧ‘璁よ瀵硅浠诲姟杩涜鎭㈠浣滀笟鍚�',
+ success: (res) => {
+ if (res.confirm) {
+ restoreWork({
+ jobId: item.id
+ }).then(ress => {
+ this.showToast('鎭㈠浣滀笟鎴愬姛')
+ this.getPlatformTask()
+ })
+ }
+ }
+ })
}
}
}
--
Gitblit v1.9.3