| | |
| | | <view class="title">出库数量</view> |
| | | <view class="popup-item"> |
| | | <view> |
| | | <uni-number-box :value="data.anfme" :step='1' :min="0" :max="maxCount" color="#747474" @change="changeValue" /> |
| | | <uni-number-box :value="data.anfme" :step='0.01' :min="0" :max="maxCount" color="#747474" @change="changeValue" /> |
| | | </view> |
| | | |
| | | </view> |
| | |
| | | }, |
| | | combConfirm(item) { |
| | | let _this = this |
| | | _this.combDis = true |
| | | if (_this.data.anfme == 0) { |
| | | if (item.anfme == 0) { |
| | | uni.showToast({ title: '出库数量不能为0!', icon: "error", position: 'top'}) |
| | | return |
| | | } |
| | | _this.combDis = true |
| | | uni.showLoading({}) |
| | | let combList = [] |
| | | combList.push(item) |
| | | uni.request({ |
| | | url: `${_this.baseUrl}/out/pakout/auth`, |
| | | url: `${_this.baseUrl}/process/out/pakout/auth`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: combList, |
| | | method: 'POST', |