From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +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