| | |
| | | </view> |
| | | <view class="cu-form-group margin-top"> |
| | | <view class="title">产品</view> |
| | | <input v-model="matNo" placeholder="产品信息" name="input" @input="findByMatNo()"></input> |
| | | <input v-model="matNo" placeholder="产品ID" name="input" @input="findByMatNo()"></input> |
| | | </view> |
| | | <view class="margin-top"> |
| | | <uni-table border stripe emptyText="暂无更多数据"> |
| | |
| | | let that = this; |
| | | that.locNo = ''; |
| | | that.matNo = ''; |
| | | that.locDetlData = []; |
| | | }, |
| | | // 根据库位号查找库存明细 |
| | | findByLocNo(){ |
| | |
| | | if(res.data.data != null){ |
| | | that.locDetlData = res.data.data |
| | | } else if (res.data.code ===403){ |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }) |
| | | |
| | | } else { |
| | | this.messageToggle('error') |
| | | this.messageText = res.data.msg |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | .reset { |
| | | /* .reset { |
| | | |
| | | position: absolute; |
| | | width: 750upx; |
| | | bottom: 80upx; |
| | | } |
| | | bottom: 280upx; |
| | | } */ |
| | | .pda-btn1 { |
| | | display: flex; |
| | | flex-direction:row; |
| | | justify-content: center; |
| | | width: 150upx; |
| | | margin-left:260rpx; |
| | | margin-right: auto; |
| | | margin-top: 150rpx; |
| | | width: 200rpx; |
| | | height: 80rpx; |
| | | font-size: 30upx; |
| | | font-weight: bold; |
| | | } |
| | | </style> |