From a9c5e6472fb609e23d6cfdf6fd7ad10af382a8b1 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期五, 19 四月 2024 16:37:59 +0800
Subject: [PATCH] #

---
 pages/phyz/orderOut/orderOutSelect.vue |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/pages/phyz/orderOut/orderOutSelect.vue b/pages/phyz/orderOut/orderOutSelect.vue
index 170d925..61cca98 100644
--- a/pages/phyz/orderOut/orderOutSelect.vue
+++ b/pages/phyz/orderOut/orderOutSelect.vue
@@ -18,6 +18,7 @@
 				<view>缂栧彿锛歿{orderDetl.matnr}}</view>
 				<view>鍚嶇О锛歿{orderDetl.maktx}}</view>
 				<view>璁㈠崟鏁伴噺锛歿{orderDetl.anfme}}</view>
+				<view>搴撳瓨鏁伴噺锛歿{orderDetl.stock}}</view>
 				<view>宸插嚭鏁伴噺锛歿{orderDetl.qty}}</view>
 			</view>
 			<view class="list-right" @click="goToLocDetl(orderDetl)">
@@ -32,7 +33,7 @@
 		
 		<view class="buttom">
 			<view style="width: 150rpx;text-align: center;padding-left: 12rpx;">
-				涓诲崟鍙�
+				鍚嶇О
 			</view>
 			<uni-search-bar v-model="searchValue2" style="width: 100%;"
 				maxlength="500" ancel="cancel" @confirm="searchValueInput2()" @clear="clear2" placeholder="杈撳叆 / 鎵弿 璁㈠崟鍙�">
@@ -68,12 +69,12 @@
 			this.getOrderDetlList(this.searchValue1,this.searchValue2,30)
 		},
 		methods: {
-			getOrderDetlList(threeCode,orderNo,limit) {
-				console.log(orderNo);
+			getOrderDetlList(threeCode,maktx,limit) {
+				uni.showLoading({})
 				let _this = this
 				_this.mask = true
 				_this.data.three_code = threeCode
-				_this.data.order_no = orderNo
+				_this.data.maktx = maktx
 				_this.data.limit = limit
 				uni.request({
 					url: `${_this.baseUrl}/orderDetl/pakout/list/authV3`,
@@ -81,6 +82,7 @@
 					data: _this.data,
 					method: 'GET',
 					success(res) {
+						uni.hideLoading({})
 						res = res.data
 						if (res.code === 200) {
 							for (let k of res.data.records) {
@@ -97,7 +99,7 @@
 							_this.mask = false
 						} else if (res.code == 403) {
 							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
-							setTimeout(() => { uni.reLaunch({ url: '../login/login' }); }, 1000);
+							setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);
 						} else {
 							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
 						}
@@ -122,15 +124,12 @@
 				} else {
 					this.getOrderDetlList(this.searchValue1,this.searchValue2,1000)
 				}
-				
 			},
 			clear() {
 				this.searchValue2 = ''
 				this.getOrderDetlList('',this.searchValue1,999999)
 			},
 			clear2() {
-				console.log(222);
-				
 				setTimeout(()=> {
 					this.searchValue2 = ''
 					this.getOrderDetlList(this.searchValue1,'',999999)

--
Gitblit v1.9.1