| | |
| | | <view class="margin-top"> |
| | | <uni-table border stripe emptyText="暂无更多数据"> |
| | | <uni-tr> |
| | | <uni-th width="80">数量</uni-th> |
| | | <uni-th width="100">产品编码</uni-th> |
| | | <uni-th width="100">产品名称</uni-th> |
| | | <uni-th width="100">产品批号</uni-th> |
| | | <uni-th width="100">库位</uni-th> |
| | | <uni-th width="200">确认数量</uni-th> |
| | | <uni-th align="center" width="80">数量</uni-th> |
| | | <uni-th align="center" width="100">产品编码</uni-th> |
| | | <uni-th align="center" width="100">产品名称</uni-th> |
| | | <uni-th align="center" width="100">产品批号</uni-th> |
| | | <uni-th align="center" width="100">库位</uni-th> |
| | | <uni-th align="center" width="150">确认数量</uni-th> |
| | | </uni-tr> |
| | | <uni-tr v-for="(item, index) in locDetlData" :key="index"> |
| | | <uni-td>{{item.count}}</uni-td> |
| | |
| | | <uni-td>{{item.itemBatch}}</uni-td> |
| | | <uni-td>{{item.locNo}}</uni-td> |
| | | <uni-td align="center"> |
| | | <button class="uni-button" size="mini" type="primary" @click="conf(index,item)">修改</button> |
| | | <button class="uni-button" size="mini" type="warn" @click="remove(index,item)">删除</button> |
| | | <button class ="cu-btn bg-orange margin-xs" @click="conf(index,item)">修改</button> |
| | | <button class ="cu-btn bg-red margin-xs" @click="remove(index,item)">删除</button> |
| | | </uni-td> |
| | | </uni-tr> |
| | | </uni-table> |
| | | </view> |
| | | <view> |
| | | <button class="cu-btn bg-yellow pda-btn" @click="check">确 认</button> |
| | | <button class="cu-btn bg-grey pda-btn" @click="reset">重 置</button> |
| | | <view style="height: 200rpx;"> |
| | | <!-- 空白层 --> |
| | | </view> |
| | | <view class="cu-bar foot input" style="height: 130rpx;"> |
| | | <view class="flex solid-bottom padding justify-start" > |
| | | <button class="cu-btn bg-yellow main-btn margin-xs" style="width: 430rpx;" @click="check">确 认</button> |
| | | <button class="cu-btn bg-grey main-btn margin-xs" @click="reset">重 置</button> |
| | | </view> |
| | | </view> |
| | | <view> |
| | | |
| | | <scroll-view> |
| | | <uni-popup ref="popup" background-color="#fff" style="width: 500rpx;"> |
| | | <view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }"> |
| | | <view class="cu-form-group margin-top"> |
| | |
| | | <text class="title">数量</text> |
| | | <uni-number-box :min="0" :max="999" @change="countDom" v-model="count" /> |
| | | </view> |
| | | <button class="cu-btn bg-yellow pda-btn2" @click="confirm">提取</button> |
| | | <view class="flex solid-bottom padding justify-center"> |
| | | <button class="cu-btn bg-yellow pda-btn2" @click="confirm">提取</button> |
| | | </view> |
| | | <view style="height: 200rpx;"> |
| | | <!-- 空白层 --> |
| | | </view> |
| | | </view> |
| | | </uni-popup> |
| | | </view> |
| | | </scroll-view> |
| | | <view> |
| | | <!-- 提示信息弹窗 --> |
| | | <uni-popup ref="message" type="message"> |
| | |
| | | count:0, |
| | | type: '', |
| | | baseIP:'', |
| | | basePORT:'', |
| | | checkList:[], |
| | | sourceList:[], |
| | | billNo:'', |
| | |
| | | mounted(){ |
| | | // 获取IP端口 |
| | | const UIP = uni.getStorageSync('UIP'); |
| | | this.baseIP = UIP |
| | | this.baseIP = UIP; |
| | | const UPORT = uni.getStorageSync('UPORT'); |
| | | this.basePORT = UPORT; |
| | | }, |
| | | methods: { |
| | | // 提示窗口 |
| | |
| | | // 赋值前清空表格 |
| | | that.locDetlData = [] |
| | | uni.request({ |
| | | url: that.baseHttp + that.baseIP + that.baseUrl + "/mobile/check/queryMatFromBarCode?barCode=" + barCode, |
| | | url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/mobile/check/queryMatFromBarCode?barCode=" + barCode, |
| | | header: { |
| | | 'content-type':'application/x-www-form-urlencoded', |
| | | 'token':uni.getStorageSync('token') |
| | |
| | | return; |
| | | } |
| | | uni.request({ |
| | | url: that.baseHttp + that.baseIP + that.baseUrl + "/matCode/auth", |
| | | url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/matCode/auth", |
| | | header: { |
| | | 'content-type':'application/x-www-form-urlencoded', |
| | | 'token':uni.getStorageSync('token') |
| | |
| | | } |
| | | // this.noTitlemodalTap() |
| | | uni.request({ |
| | | url: that.baseHttp + that.baseIP + that.baseUrl + "/mobile/stock/check", |
| | | url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/mobile/stock/check", |
| | | header: { |
| | | 'token':uni.getStorageSync('token') |
| | | }, |