From 1e1c501062b84e1bbb4b41a0c06d78952ba66dd8 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 07 七月 2023 09:20:49 +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