From 1cccb7eb94e678140ef536acf8bc52bd2b335f23 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期六, 14 六月 2025 20:33:26 +0800 Subject: [PATCH] # --- pages/basics/stockQuery.vue | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/pages/basics/stockQuery.vue b/pages/basics/stockQuery.vue index 8a5353d..8ba2dff 100644 --- a/pages/basics/stockQuery.vue +++ b/pages/basics/stockQuery.vue @@ -48,9 +48,11 @@ <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><text style="width: 700rpx;">鍝佸悕锛歿{item.maktx}}</text></view> - <view><text style="width: 700rpx;">鎵瑰彿锛歿{item.batch}}</text></view> + <view><text style="width: 700rpx;">宸ュ簭锛歿{item.sku}}</text></view> + <view><text style="width: 700rpx;">鎵规锛歿{item.batch}}</text></view> + <view><text style="width: 700rpx;">澶囨敞锛歿{item.memo}}</text></view> <view> <text style="width: 700rpx;">鏁伴噺锛歿{item.anfme}}</text> </view> @@ -73,6 +75,7 @@ export default { data () { return { + commonUrl:null, matList: [], locNo: null, matnr: null @@ -84,8 +87,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 +110,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 +170,7 @@ } .data-list { border-bottom: 1px solid #d8d8d8; - height: 180rpx; + height: 240rpx; margin: 15rpx; border-radius: 20rpx; } -- Gitblit v1.9.1