From 1479c4420578a98cad4f8f3c2dbf21b6c7d28f4b Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期一, 28 十一月 2022 08:09:25 +0800
Subject: [PATCH] #

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

diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue
index 5da334b..390b5b2 100644
--- a/pages/basics/stockCheck.vue
+++ b/pages/basics/stockCheck.vue
@@ -56,6 +56,7 @@
 				<view v-for="(item,index) in matList" :key="index" class="data-list bg-false" :class="'bg-'+item.checked" >
 					<view class="data-list-left">
 						<view class="matnr"><text style="width: 400rpx;">缂栫爜锛歿{item.matnr}}</text></view>
+						<view><text style="width: 400rpx;">瑙勬牸锛歿{item.specs}}</text></view>
 						<view><text style="width: 400rpx;">鍝佸悕锛歿{item.maktx}}</text></view>
 						<view><text style="width: 400rpx;">鎵瑰彿锛歿{item.batch}}</text></view>
 						<view>
@@ -305,9 +306,10 @@
 					},
 					success(result) {
 						var res = result.data
-							console.log(result)
 						if (res.code === 200) {
-					
+							that.matList = []
+							that.barcode = ''
+							uni.showToast({title: res.msg, icon: "none", position: 'top'})
 						} else if (res.code == 403) {
 							uni.showToast({title: res.msg, icon: "none", position: 'top'})
 							setTimeout(() => {
@@ -424,7 +426,7 @@
 	}
 	.data-list {
 		border-bottom: 1px solid #d8d8d8;
-		height: 180rpx;
+		height: 230rpx;
 		margin: 15rpx;
 		border-radius: 20rpx;
 	}
@@ -448,8 +450,8 @@
 		display: inline-block;
 		float: right;
 		width: 200rpx;
-		height: 180rpx;
-		line-height: 180rpx;
+		height: 230rpx;
+		line-height: 230rpx;
 	}
 	.data-list-right label {
 		display: inline-block;

--
Gitblit v1.9.1