From 0a90905d8b133b4213e760355aab141347fec999 Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期六, 02 四月 2022 14:21:30 +0800
Subject: [PATCH] #
---
pages/basics/stockCheck.vue | 31 +++++++++++++++++++++----------
1 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue
index 944db2b..58b8ce5 100644
--- a/pages/basics/stockCheck.vue
+++ b/pages/basics/stockCheck.vue
@@ -29,11 +29,17 @@
</uni-tr>
</uni-table>
</view>
- <view class="flex solid-bottom padding justify-around">
- <button class="cu-btn bg-yellow lg" @click="check">纭� 璁�</button>
- <button class="cu-btn bg-grey lg" @click="reset">閲� 缃�</button>
+ <view style="height: 200rpx;">
+ <!-- 绌虹櫧灞� -->
+ </view>
+ <view class="cu-bar foot input" style="height: 130rpx;">
+ <view class="flex solid-bottom padding justify-start" >
+ <button class="cu-btn bg-yellow main-btn margin-xs" style="width: 430rpx;" @click="check">纭� 璁�</button>
+ <button class="cu-btn bg-grey main-btn margin-xs" @click="reset">閲� 缃�</button>
+ </view>
</view>
- <view>
+
+ <scroll-view>
<uni-popup ref="popup" background-color="#fff" style="width: 500rpx;">
<view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }">
<view class="cu-form-group margin-top">
@@ -62,10 +68,12 @@
<view class="flex solid-bottom padding justify-center">
<button class="cu-btn bg-yellow pda-btn2" @click="confirm">鎻愬彇</button>
</view>
-
+ <view style="height: 200rpx;">
+ <!-- 绌虹櫧灞� -->
+ </view>
</view>
</uni-popup>
- </view>
+ </scroll-view>
<view>
<!-- 鎻愮ず淇℃伅寮圭獥 -->
<uni-popup ref="message" type="message">
@@ -107,6 +115,7 @@
count:0,
type: '',
baseIP:'',
+ basePORT:'',
checkList:[],
sourceList:[],
billNo:'',
@@ -118,7 +127,9 @@
mounted(){
// 鑾峰彇IP绔彛
const UIP = uni.getStorageSync('UIP');
- this.baseIP = UIP
+ this.baseIP = UIP;
+ const UPORT = uni.getStorageSync('UPORT');
+ this.basePORT = UPORT;
},
methods: {
// 鎻愮ず绐楀彛
@@ -137,7 +148,7 @@
// 璧嬪�煎墠娓呯┖琛ㄦ牸
that.locDetlData = []
uni.request({
- url: that.baseHttp + that.baseIP + that.baseUrl + "/mobile/check/queryMatFromBarCode?barCode=" + barCode,
+ url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/mobile/check/queryMatFromBarCode?barCode=" + barCode,
header: {
'content-type':'application/x-www-form-urlencoded',
'token':uni.getStorageSync('token')
@@ -187,7 +198,7 @@
return;
}
uni.request({
- url: that.baseHttp + that.baseIP + that.baseUrl + "/matCode/auth",
+ url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/matCode/auth",
header: {
'content-type':'application/x-www-form-urlencoded',
'token':uni.getStorageSync('token')
@@ -320,7 +331,7 @@
}
// this.noTitlemodalTap()
uni.request({
- url: that.baseHttp + that.baseIP + that.baseUrl + "/mobile/stock/check",
+ url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/mobile/stock/check",
header: {
'token':uni.getStorageSync('token')
},
--
Gitblit v1.9.1