| | |
| | | <!-- 搜索框 --> |
| | | <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="code-decs">托盘码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="barcode"> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">物料号:</view> |
| | |
| | | baseUrl: '', |
| | | token: '', |
| | | locNo: null, |
| | | barcode: null, |
| | | matnr: null, |
| | | dataList: [], |
| | | msgType: '', |
| | |
| | | curr: 1, |
| | | limit: 100, |
| | | 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: "暂无更多数据", |
| | |
| | | this.dataList = [] |
| | | this.matnr = '' |
| | | this.locNo = '' |
| | | this.barcode = '' |
| | | this.messageText = "重置完成" |
| | | this.messageToggle('success') |
| | | }, |
| | |
| | | .code { |
| | | width: 100%; |
| | | position: fixed; |
| | | min-height: 200rpx; |
| | | min-height: 100rpx; |
| | | background-color: #FFF; |
| | | z-index: 10; |
| | | } |
| | |
| | | width: 100%; |
| | | background-color: white; |
| | | position: fixed; |
| | | margin-top: 200rpx; |
| | | margin-top: 300rpx; |
| | | z-index: 9; |
| | | /* border-top: 1px solid #DCDFE6; */ |
| | | text-align: center; |