From 96e2d7c487e98578c4a1381012707236442c61bd Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 02 十一月 2023 10:40:20 +0800
Subject: [PATCH] #
---
pages/stock/stockQuery.vue | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/pages/stock/stockQuery.vue b/pages/stock/stockQuery.vue
index c0dd6bc..b31bc35 100644
--- a/pages/stock/stockQuery.vue
+++ b/pages/stock/stockQuery.vue
@@ -3,15 +3,19 @@
<!-- 鎼滅储妗� -->
<view class="code">
<view class="item">
- <view class="code-decs">鎵樼洏鐮�:</view>
+ <view class="code-decs">搴撲綅鐮�:</view>
<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="locNo">
</view>
- <!-- <view class="item">
+ <view class="item">
+ <view class="code-decs">鎵樼洏鐮�:</view>
+ <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode">
+ </view>
+ <view class="item">
<view class="code-decs">鐗╂枡鍙�:</view>
<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="matnr">
<view class="item-right">
</view>
- </view> -->
+ </view>
</view>
<view class="mat-list-title">
鍟嗗搧鍒楄〃
@@ -88,6 +92,7 @@
baseUrl: '',
token: '',
locNo: null,
+ barcode: null,
matnr: null,
dataList: [],
msgType: '',
@@ -110,18 +115,17 @@
data: {
curr: 1,
limit: 100,
- zpallet: that.locNo,
+ loc_no: that.locNo,
+ zpallet: that.barcode,
matnr: that.matnr
},
method:"GET",
success(result) {
- console.log(result)
let res = result.data
let records = res.data.records
if (res.code == 200) {
if (records) {
that.dataList = records
- console.log(that.dataList)
} else {
uni.showToast({
title: "鏆傛棤鏇村鏁版嵁",
@@ -153,6 +157,7 @@
this.dataList = []
this.matnr = ''
this.locNo = ''
+ this.barcode = ''
this.messageText = "閲嶇疆瀹屾垚"
this.messageToggle('success')
},
@@ -213,7 +218,7 @@
width: 100%;
background-color: white;
position: fixed;
- margin-top: 100rpx;
+ margin-top: 300rpx;
z-index: 9;
/* border-top: 1px solid #DCDFE6; */
text-align: center;
--
Gitblit v1.9.1