From cd5b3c4f3c8fddd94dd77e89bfa50061f6c57032 Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期二, 01 十一月 2022 17:19:51 +0800
Subject: [PATCH] #
---
pages/login/login.vue | 3 ++-
pages/basics/stockCheck.vue | 13 ++++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue
index 74f14f3..5da334b 100644
--- a/pages/basics/stockCheck.vue
+++ b/pages/basics/stockCheck.vue
@@ -182,6 +182,7 @@
acceptDataFromOpenedPage: function(data) {
that.matnr = data.data
that.findMat(that.matnr)
+ that.matnr = ''
},
},
success: function(res) {
@@ -190,7 +191,7 @@
},
});
- that.matnr = ''
+
}, // selectMat
findMat() {
let that = this
@@ -291,12 +292,14 @@
},
adjust() {
let that = this
+ var combMats = []
+ var combParam = {}
+ combParam['barcode'] = that.barcode
+ combParam['wrkDetls'] = that.matList
uni.request({
- url: that.commonUrl + '/adjust/auth',
+ url: that.commonUrl + '/mobile/adjustNew/auth',
method: 'POST',
- data: {
- combParam: that.matList
- },
+ data: JSON.stringify(combParam),
header: {
'token':uni.getStorageSync('token')
},
diff --git a/pages/login/login.vue b/pages/login/login.vue
index d09a580..a19a750 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -58,7 +58,7 @@
</view>
<view class="config-item">
<text>椤圭洰锛�</text>
- <input v-model="PROJECT" type="text" placeholder="lywms" placeholder-style="font-size:16rpx;text-indent: 10rpx;">
+ <input v-model="PROJECT" type="text" placeholder="wms" placeholder-style="font-size:16rpx;text-indent: 10rpx;">
</view>
<view class="flex justify-around">
<button class="cu-btn bg-blue lg" @click="configConfirm">纭</button>
@@ -348,6 +348,7 @@
width: 500rpx;
height: 500rpx;
background-color: #fff;
+ border-radius: 20px;
}
.config-title {
height: 100rpx;
--
Gitblit v1.9.1