From a7a950fa1feabacbd30a2d2d530ad2dbaa722d1a Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 28 十二月 2022 10:30:34 +0800
Subject: [PATCH] #

---
 pages/basics/stockQuery.vue |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/pages/basics/stockQuery.vue b/pages/basics/stockQuery.vue
index 8a5353d..f8d2dd4 100644
--- a/pages/basics/stockQuery.vue
+++ b/pages/basics/stockQuery.vue
@@ -48,7 +48,8 @@
 					<checkbox :value="item.id+''" :checked="item.checked" style="display: block;" />
 				</label>
 				<view class="data-list-left">
-					<view class="matnr"><text style="width: 700rpx;">缂栫爜锛歿{item.matnr}}</text></view>
+					<view class="matnr"><text style="width: 700rpx;">瑙勬牸锛歿{item.matnr}}</text></view>
+					<view class="matnr"><text style="width: 700rpx;">瑙勬牸锛歿{item.specs}}</text></view>
 					<view><text style="width: 700rpx;">鍝佸悕锛歿{item.maktx}}</text></view>
 					<view><text style="width: 700rpx;">鎵瑰彿锛歿{item.batch}}</text></view>
 					<view>
@@ -73,6 +74,7 @@
 	export default {
 		data () {
 			return {
+				commonUrl:null,
 				matList: [],
 				locNo: null,
 				matnr: null
@@ -84,8 +86,15 @@
 			this.baseIP = UIP;
 			const UPORT = uni.getStorageSync('UPORT');
 			this.basePORT = UPORT
+			const PROJ = uni.getStorageSync('UPROJ');
+			this.baseUrl = PROJ
+			this.getUrl()
 		},
 		methods: {
+			// 鑾峰彇url
+			getUrl() {
+				this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl
+			},
 			checkbox: function () {
 				
 			},
@@ -100,7 +109,7 @@
 			request() {
 				let that = this
 				uni.request({
-					url:that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/locDetl/list/auth',
+					url:that.commonUrl + '/locDetl/list/auth',
 					header:{'token':uni.getStorageSync('token')},
 					data: {
 						curr: 1,
@@ -160,7 +169,7 @@
 	}
 	.data-list {
 		border-bottom: 1px solid #d8d8d8;
-		height: 180rpx;
+		height: 230rpx;
 		margin: 15rpx;
 		border-radius: 20rpx;
 	}
@@ -185,7 +194,7 @@
 		height: 100%;
 		width: 100rpx;
 		text-align: center;
-		line-height: 170rpx;
+		line-height: 230rpx;
 	}
 	.data-list-left {
 		/* background-color: #ffff7f; */
@@ -203,8 +212,8 @@
 		display: inline-block;
 		float: right;
 		width: 100rpx;
-		height: 180rpx;
-		line-height: 180rpx;
+		height: 230rpx;
+		line-height: 230rpx;
 	}
 	.data-list-right label {
 		display: inline-block;

--
Gitblit v1.9.1