From c14f82f750a2fb3196628b3d1f1efb269baf6fc0 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期二, 14 一月 2025 16:49:36 +0800
Subject: [PATCH] 板材仓PDA修改,板材出库数量回传修改,Core升级版本

---
 代码管理/淮安PDA/pages/stash/receiveorderoutbound.vue |   33 +++++++++++----------------------
 1 files changed, 11 insertions(+), 22 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/receiveorderoutbound.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/receiveorderoutbound.vue"
index dc7561a..af2a882 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/receiveorderoutbound.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/receiveorderoutbound.vue"
@@ -31,11 +31,6 @@
 		</view>
 		<view v-if="current === 1" class="headerstyle">
 			<view class="itemstyle">
-				<u-sticky>
-					<!-- <view style="background-color: #ffffff;">
-						<uni-search-bar @confirm="search" v-model="searchValue"></uni-search-bar>
-					</view> -->
-				</u-sticky>
 				<!-- <uni-forms label-width="180">
 					<uni-forms-item label="鍖哄煙">
 						<uni-data-select v-if="show" v-model="value" :localdata="range"></uni-data-select>
@@ -48,23 +43,16 @@
 					</uni-forms-item>
 				</uni-forms> -->
 				<uni-list :border="true">
-					<uni-list-item direction="column" v-for="(item,index) in orderInfo" :key="item.dtlId">
+					<uni-list-item direction="column" v-for="(item,index) in orderInfo" :key="item.id">
 						<template v-slot:body>
-							<view class="uni-list-box">
-								<!-- <button class="button" type="primary" style="position: absolute;right: 1%;" size="mini"
-									@click="inputDialogToggle(item.matCode)"><text
-										class="button-text">鍑哄簱</text></button> -->
-								<!-- <button type="primary" style="position: absolute;right: 1%;" size="mini"
-									@click="outbound(item.matCode)">鍑哄簱</button> -->
 								<view class="uni-content">
-									<view style="font-size: 18px;">鏀惰揣鍗曞彿锛歿{orderNo}}</view>
-									<view style="font-size: 18px;">閲囪喘鍗曞彿锛歿{item.purchaseOrderNo}}</view>
-									<view style="font-size: 18px;">鐗╂枡缂栧彿锛歿{item.materielCode}}</view>
-									<view style="font-size: 18px;">鎵规鍙凤細{{item.lotNo}}</view>
-									<view style="font-size: 18px;">鏀惰揣鏁伴噺锛歿{item.receivedQuantity}}</view>
-									<view style="font-size: 18px;">鏄惁璐ㄦ锛歿{item.ifInspection==1?"鏄�":"鍚�"}}</view>
+									<view>鏀惰揣鍗曞彿锛歿{orderNo}}</view>
+									<view>閲囪喘鍗曞彿锛歿{item.purchaseOrderNo}}</view>
+									<view>鐗╂枡缂栧彿锛歿{item.materielCode}}</view>
+									<view>鎵规鍙凤細{{item.lotNo}}</view>
+									<view>鏀惰揣鏁伴噺锛歿{item.receivedQuantity}}</view>
+									<view>鏄惁璐ㄦ锛歿{item.ifInspection==1?"鏄�":"鍚�"}}</view>
 								</view>
-							</view>
 						</template>
 					</uni-list-item>
 				</uni-list>
@@ -229,7 +217,7 @@
 				endType: "",
 				endTypeRange: [],
 				sns: "",
-				receiveOrderId:0,
+				receiveOrderId: 0,
 			}
 		},
 
@@ -243,7 +231,7 @@
 				this.value = config.warehouseArea;
 			}
 			this.orderNo = res.orderNo;
-			this.receiveOrderId=res.receiveOrderId;
+			this.receiveOrderId = res.receiveOrderId;
 			this.label = "鏀惰揣鍗曞彿锛�" + this.orderNo;
 			this.getData();
 		},
@@ -382,6 +370,7 @@
 							title: "纭鏀惰揣鎴愬姛",
 							type: "success"
 						})
+						this.orderInfo=[];
 						this.sns = "";
 					} else {
 						this.$refs.uToast.show({
@@ -504,7 +493,7 @@
 							this.ProductionDate = "鐢熶骇鏃ユ湡锛�" + res.data.productionDate;
 							this.orderQty = "璁㈠崟鏁伴噺锛�" + res.data.quantity;
 							this.Quantity = res.data.quantity;
-							if (res.message) {
+							if (!res.status) {
 								this.$refs.uToast.show({
 									title: res.message,
 									type: "error"

--
Gitblit v1.9.3