From 248ef3ba3de9994dc83d2b36690542893f9fb6e6 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 28 十一月 2024 16:26:06 +0800 Subject: [PATCH] # --- pages/phyz/stationManage/stationDetl.vue | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/pages/phyz/stationManage/stationDetl.vue b/pages/phyz/stationManage/stationDetl.vue index 0952e3c..01a5687 100644 --- a/pages/phyz/stationManage/stationDetl.vue +++ b/pages/phyz/stationManage/stationDetl.vue @@ -257,7 +257,7 @@ </view> <view class="btn"> <button class="btn-left" @click="processedClose">鍙栨秷</button> - <button class="btn-right" @click="processedConfirm()" :disabled="processedDis">纭绂诲満</button> + <button class="btn-right" @click="processedConfirm()" :disabled="processedDis">鍔犲伐瀹屾垚</button> </view> </view> </uni-popup> @@ -434,6 +434,7 @@ }, emptyPakinConfirm() { let _this = this; + this.barcode = this.barcode.replace(/\s+/g, '') _this.emptyPakinDis = true if (this.barcode.length != 6) { _this.emptyPakinDis = false @@ -1015,8 +1016,24 @@ }); }, processed() { - this.$refs.process.open() + let _this = this + uni.navigateTo({ + url: './confirmProcessed', + success(res) { + res.eventChannel.emit('item', { + item: _this.wrkDetls + }) + }, + // events: { + // acceptDataFromOpenedPage: function(data) { + // _this.getOrderDetlList(this.searchValue1,10) + // } + // } + }) }, + // processed() { + // this.$refs.process.open() + // }, processedClose() { this.$refs.process.close() }, @@ -1041,7 +1058,7 @@ that.barcode = '' that.reloadStation() },1000) - uni.showToast({ title: '閫�搴撲换鍔$敵璇锋垚鍔�', icon: "success", position: 'top' }) + uni.showToast({ title: '鎿嶄綔鎴愬姛', icon: "success", position: 'top' }) } else if (res.code == 403) { uni.showToast({ title: res.msg, icon: "error", position: 'top' }) setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); -- Gitblit v1.9.1