From 4b50f602850763d852deaeaa53b3347c9df53d14 Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期三, 26 十月 2022 22:23:14 +0800
Subject: [PATCH] #

---
 pages/basics/stockCheck.vue |   66 +++++++++++++++++++++++++++------
 1 files changed, 54 insertions(+), 12 deletions(-)

diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue
index 1022705..3358a66 100644
--- a/pages/basics/stockCheck.vue
+++ b/pages/basics/stockCheck.vue
@@ -26,6 +26,22 @@
 					</view>
 				</view>
 			</view>
+			<view class="square-2">
+				<view class="square-title">
+					<view class="title-sign"><view class="sign"></view></view>
+					<view class="title-text"><text>娣诲姞鍟嗗搧</text></view>
+				</view>
+				<view class="square-content">
+					<view class="content-input-btn">
+						<input v-model="matnr" type="text" placeholder="鎵爜 / 杈撳叆" @input="findMat()"
+						:focus="focus" placeholder-style="line-height:  85rpx;">
+						<uni-icons type="closeempty" size="20" color="#dadada" @click="removeMatnr()"></uni-icons>
+					</view>
+					<view class="content-btn">
+						<button class="cu-btn bg-blue pda-btn" @click="selectMat()">+鎻愬彇</button>
+					</view>
+				</view>
+			</view>
 			<view class="pak-data-box">
 				<view class="box-top">
 					<view class="color-block-blue"></view>
@@ -61,23 +77,26 @@
 				</view>
 			</view>
 		</scroll-view>
-		<y-pop title="璋冩暣"></y-pop>
+		<!-- <y-pop v-model="count" title="淇敼" :max="9999999" :show="show"></y-pop> -->
 		<view>
 			<!-- 淇敼鏁伴噺 -->
-			<uni-popup ref="revise" background-color="#fff" @change="change">
+			<uni-popup ref="revise" @change="change">
 				<view class="revise-box">
 					<view class="revise-box-top">
 						<view class="color-block-blue"></view>
 						<text class="title">淇敼</text>
 					</view>
-					<view class="text-box">
-						<text>鍙粍鏁伴噺锛歿{enableQty}}</text>
+					<view class="change">
+						<view class="text-box">
+							<text>鏁伴噺锛歿{enableQty}}</text>
+						</view>
+						<view class="changeBox">
+							<view class="num-box">
+								<uni-number-box v-model="count" :min="minCount" :max="maxCount" color="#747474"  @change="changeValue"/>
+							</view> 
+						</view>
 					</view>
-					<view class="changeBox">
-						<view class="num-box">
-							<uni-number-box v-model="count" :min="minCount" :max="maxCount" color="#747474"  @change="changeValue"/>
-						</view> 
-					</view>
+					
 					<view class="revise-box-buttom">
 						<view>
 							<button class="cu-btn bg-blue" @click="confirm()">纭</button>
@@ -94,16 +113,19 @@
 		data() {
 			return {
 				commonUrl:null,
-				matList:[{}],
+				matList:[],
 				staNoList:[],
 				barcode: '',
 				staNo:'',
 				matnr:'',
 				enableQty:'',
-				count:'',
+				count:15,
 				maxCount:'',
 				minCount:0,
-				rowNum:''
+				rowNum:'',
+				show: false,
+				focus: false,
+				
 			}
 		},
 		mounted(){
@@ -237,6 +259,7 @@
 				this.maxCount = item.maxCount
 				this.rowNum = index
 				this.eject()
+				// this.show = true
 			}, 
 			remove(item,index) {
 				this.matList.splice(index,1)
@@ -297,6 +320,25 @@
 	} // exprot
 </script>
 <style>
+	.revise-box {
+		width: 500rpx;
+		height: 300rpx;
+		display: flex;
+		flex-direction: column;
+		border-radius: 20rpx;
+		background-color: #F1F1F1;
+	}
+	.change {
+		height: 150rpx;
+		display: flex;
+		align-items: center;
+		justify-content: center;
+	}
+	.revise-box-buttom {
+		display: flex;
+		align-items: center;
+		justify-content: center;
+	}
 	.pak-seach-box {
 		background-color: #FFFFFF;
 		margin: 15rpx 15rpx 0rpx 15rpx;

--
Gitblit v1.9.1