From 6ca18e0d2691d864e9796a64b58bb04bf44af99c Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 13 五月 2024 09:44:43 +0800
Subject: [PATCH] Merge branch 'phyzasrs' of http://47.97.1.152:5880/r/wms_app into phyzasrs

---
 pages/phyz/bcp/bcpDbList.vue |   33 ++++++++++++++++++++++++++++-----
 1 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/pages/phyz/bcp/bcpDbList.vue b/pages/phyz/bcp/bcpDbList.vue
index 2f3b4a2..d24a007 100644
--- a/pages/phyz/bcp/bcpDbList.vue
+++ b/pages/phyz/bcp/bcpDbList.vue
@@ -20,7 +20,7 @@
 			</view>
 		</view>
 		<!-- 鍨珮 -->
-		<view style="height: 360rpx;text-align: center;color: #b9b9b9;">
+		<view style="height: 400rpx;text-align: center;color: #b9b9b9;">
 		</view>
 		<view class="list list-font-color" :class="orderDetl.color" v-for="(orderDetl,index) in dataList" :key="index">
 			<view class="list-left" style="display: flex;flex-direction: column;">
@@ -40,7 +40,7 @@
 			</view>
 			<view class="list-right" @click="checkboxChange(orderDetl)">
 				<label >
-					<checkbox :value="orderDetl.orderNo" :checked="orderDetl.checked" style="transform:scale(0.7)" /><text></text>
+					<checkbox :value="orderDetl.orderNo" :checked="orderDetl.checked" v-show="orderDetl.locSts == 'F'" style="transform:scale(0.7)" /><text></text>
 				</label>
 			</view>
 		</view>
@@ -120,7 +120,8 @@
 					data: {
 						orderNo: orderNo,
 						threeCode: threeCode ,
-						matnr: matnr
+						matnr: matnr,
+						floor: "F1"
 					},
 					method: 'POST',
 					success(res) {
@@ -207,7 +208,11 @@
 				if (e.checked) {
 					this.$set(e,'checked',false)
 				} else {
-					this.$set(e,'checked',true)
+					if (e.locSts != "F") {
+						this.$set(e,'checked',false)
+					} else {
+						this.$set(e,'checked',true)
+					}
 				}
 				let num = 0
 				for (let k of items) {
@@ -243,7 +248,8 @@
 				}
 				for (let item of this.dataList) {
 					if (this.allCheck) {
-						if (item.anfme == item.qty) {
+						// if (item.locSts == "F")
+						if (item.locSts != "F") {
 							this.$set(item,'checked',false)
 						} else {
 							this.$set(item,'checked',true)
@@ -282,6 +288,12 @@
 					method: 'POST',
 					success(res) {
 						console.log(res);
+						res = res.data
+						if (res.code === 200) {
+							uni.navigateBack({
+								delta: 1
+							});
+						}
 					}
 				})
 				this.$refs.filter.close('bottom')
@@ -302,6 +314,17 @@
 		padding: 24rpx;
 		z-index: 999;
 	}
+	/* #ifdef APP-PLUS */
+	.station {
+		position: fixed;
+		top: 0rpx;
+		left: 0;
+		right: 0;
+		font-size: 18px;
+		padding: 24rpx;
+		z-index: 999;
+	}
+	/* #endif */
 	.station-title {
 		font-size: 32px;
 		font-weight: bold;

--
Gitblit v1.9.1