From 1e75062515df09edcd854a168c966ff8df4e0e81 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 21 五月 2024 08:58:55 +0800
Subject: [PATCH] #
---
pages/phyz/stationManage/stationDetl.vue | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/pages/phyz/stationManage/stationDetl.vue b/pages/phyz/stationManage/stationDetl.vue
index d6afba1..d6dfb57 100644
--- a/pages/phyz/stationManage/stationDetl.vue
+++ b/pages/phyz/stationManage/stationDetl.vue
@@ -75,6 +75,23 @@
</view>
</uni-popup>
</view>
+ <!-- 寮圭獥 -->
+ <view>
+ <uni-popup ref="doBack" type="dialog">
+ <view class="popup">
+ <!-- 鏍囬 -->
+ <view class="title">璇疯緭鍏ョ┖璐ф灦鐮�</view>
+ <view class="popup-item">
+ <view class="popup-item-left">璐ф灦鐮�:</view>
+ <view class="popup-item-right"><input type="text" v-model="barcode"></view>
+ </view>
+ <view class="btn">
+ <view class="btn-left" @click="doBackClose">鍙栨秷</view>
+ <view class="btn-right" @click="doBackConfirm()">閫�搴�</view>
+ </view>
+ </view>
+ </uni-popup>
+ </view>
<!-- 寮圭獥 -->
<view>
@@ -713,6 +730,12 @@
});
},
doBack() {
+ this.$refs.doBack.open()
+ },
+ doBackClose() {
+ this.$refs.doBack.close()
+ },
+ doBackConfirm() {
let that = this
let params = []
let param = { devNo: this.station.devNo, containerCode: this.station.barcode, }
@@ -725,12 +748,12 @@
success(result) {
var res = result.data
if (res.code === 200) {
- // that.$refs.allocationIn.close()
+ that.$refs.doBack.close()
setTimeout(()=> {
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