| | |
| | | <text style="width: 400rpx;">主数量:{{item.anfme}}</text> |
| | | </view> |
| | | <view> |
| | | <text style="width: 400rpx;">辅数量:{{item.anfme}}</text> |
| | | <text style="width: 400rpx;">辅数量:{{item.weight}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="data-list-right"> |
| | |
| | | <view class="revise-box "> |
| | | <view class="revise-box-top"> |
| | | <view class="color-block-blue"></view> |
| | | <text class="title">修改批号/数量</text> |
| | | <text class="title">修改数量</text> |
| | | </view> |
| | | <!-- <view class="" style="position: relative;left: 50px;margin-bottom: 20px;"> |
| | | <text style="display: inline-block;float: left;width: 60px;">批次:</text> |
| | |
| | | } |
| | | uni.showLoading(); |
| | | uni.request({ |
| | | url: that.commonUrl + '/mobile/comb/auth', |
| | | url: that.commonUrl + '/mobile/comb2/auth', |
| | | data: JSON.stringify({ |
| | | barcode: that.barcode, |
| | | combMats: that.matList |
| | |
| | | findMat() { |
| | | let that = this |
| | | uni.request({ |
| | | url: that.commonUrl + '/mobile/mat/search/auth', |
| | | url: that.commonUrl + '/mobile/mat/auth', |
| | | data: { |
| | | matnr:that.matnr |
| | | }, |
| | |
| | | var len = this.matList.length |
| | | var add = true |
| | | for (var i = 0; i < len; i++) { |
| | | if (mat.matnr == this.matList[i].matnr) { |
| | | if (mat.matnr == this.matList[i].matnr && mat.batch == this.matList[i].batch) { |
| | | this.matList[i].anfme += mat.anfme |
| | | this.$forceUpdate() // 强制刷新 |
| | | add = false |