From 25c835149e986d8a84fe691c4f24fa41cf360bed Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 14 九月 2023 16:52:45 +0800
Subject: [PATCH] #订单组托2
---
pages/stock/stockCheck.vue | 24 +++++++-----------------
1 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/pages/stock/stockCheck.vue b/pages/stock/stockCheck.vue
index 58dbaa5..b9e1880 100644
--- a/pages/stock/stockCheck.vue
+++ b/pages/stock/stockCheck.vue
@@ -2,8 +2,8 @@
<view>
<view class="code">
<view class="item">
- <view class="code-decs">鐩樼偣鍗�:</view>
- <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="orderNo" :focus="barcodeFocus"
+ <view class="code-decs">鎵樼洏鐮�:</view>
+ <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode" :focus="barcodeFocus"
@input="search()">
</view>
<view class="item">
@@ -37,8 +37,8 @@
<view class="left-item">{{item.maktx}}</view>
</view>
<view class="list-left-item">
- <view class="desc">搴撲綅锛�</view>
- <view class="left-item">{{item.locNo}}</view>
+ <view class="desc">瑙勬牸锛�</view>
+ <view class="left-item">{{item.specs}}</view>
</view>
<view class="list-left-item">
<view class="desc">鎵瑰彿锛�</view>
@@ -75,10 +75,6 @@
<input type="text" v-model="matnr" disabled="true"
style="background-color: #f7f7f7;padding: 0;color: #d5d5d5;">
</view>
- </view>
- <view class="popup-item">
- <view class="popup-item-left">搴撲綅:</view>
- <view class="popup-item-right"><input type="text" v-model="locNo"></view>
</view>
<view class="popup-item">
<view class="popup-item-left">鎵瑰彿:</view>
@@ -148,9 +144,6 @@
barcodeFocus: true,
matFocus: false,
matData: '',
- orderNo:'',
- locNo:''
-
}
},
onLoad() {
@@ -169,14 +162,13 @@
search() {
let that = this
uni.request({
- url: that.baseUrl + '/manlocDetl/orderNo',
+ url: that.baseUrl + '/mobile/checkDetl/auth2',
header: {
'token':uni.getStorageSync('token')
},
- data: {orderNo: that.orderNo},
+ data: {barcode: that.barcode},
method:'GET',
success(res) {
- console.log(res);
res = res.data
if(res.code === 200){
for(var i = 0; i < res.data.length;i++){
@@ -331,7 +323,6 @@
this.matnr = this.dataList[i].matnr
this.count = this.dataList[i].anfme
this.batch = this.dataList[i].batch
- this.locNo = this.dataList[i].locNo
this.rowNum = i
this.eject()
},
@@ -359,7 +350,6 @@
reviseConfirm() {
this.dataList[this.rowNum].anfme = this.count
this.dataList[this.rowNum].batch = this.batch
- this.dataList[this.rowNum].locNo = this.locNo
this.messageText = "淇敼鎴愬姛"
this.messageToggle('success')
this.$refs.revise.close()
@@ -406,7 +396,7 @@
let that = this
var combMats = []
var combParam = {}
- combParam['orderNo'] = that.orderNo
+ combParam['barcode'] = that.barcode
combParam['wrkDetls'] = that.dataList
uni.request({
url: that.baseUrl + '/mobile/adjustNew/auth',
--
Gitblit v1.9.1