From 69a6a1318765ae537c243d7c543b8c7ed8cfdcd0 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 17 二月 2025 14:39:26 +0800
Subject: [PATCH] #
---
pages/phyz/stationManage/pickAgain.vue | 30 ++++++++++++++++++++++++++++--
1 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/pages/phyz/stationManage/pickAgain.vue b/pages/phyz/stationManage/pickAgain.vue
index 73c71ca..ec5d9b2 100644
--- a/pages/phyz/stationManage/pickAgain.vue
+++ b/pages/phyz/stationManage/pickAgain.vue
@@ -25,7 +25,7 @@
<!-- 鏍囬 -->
<view class="title">鎷f枡鏁伴噺</view>
<view class="popup-item">
- <uni-number-box :value="count" :step='1' :max="maxCount" color="#747474" @change="changeValue" />
+ <uni-number-box :value="count" :step='0.01' :max="maxCount" color="#747474" @change="changeValue" />
</view>
<view class="btn">
<view class="btn-left" @click="addClose">鍙栨秷</view>
@@ -69,7 +69,7 @@
_this.pickList = data.wrkDetls
_this.wrkNo = data.wrkDetls[0].wrkNo
_this.locNo = data.item.sourceLocNo
- _this.getLocDetl(data.item.sourceLocNo)
+ _this.getWrkDetl(data.wrkDetls[0].wrkNo)
})
},
methods: {
@@ -124,6 +124,32 @@
},
})
},
+ // 鑾峰彇宸ヤ綔鏄庣粏
+ getWrkDetl(wrkNo) {
+ let _this = this
+ uni.request({
+ url: `${_this.baseUrl}/agv/wrkDetl/list/auth`,
+ header: {'token': uni.getStorageSync('token')},
+ data: {
+ curr: 1,
+ limit: 1000,
+ wrk_no: wrkNo
+ },
+ method: 'GET',
+ success(res) {
+ res = res.data
+ if (res.code === 200) {
+ _this.pickList = res.data.records
+ _this.getLocDetl(_this.locNo)
+ } else if (res.code == 403) {
+ uni.showToast({ title: res.msg, icon: "error", position: 'top' })
+ setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);
+ } else {
+ uni.showToast({ title: res.msg, icon: "error", position: 'top' })
+ }
+ }
+ })
+ },
// 宸查�夋嫞鏂欏垪琛�
chosed(wrkDetls,locDetls) {
console.log(wrkDetls,locDetls);
--
Gitblit v1.9.1