| | |
| | | <view class="content">
|
| | | <text class="text-black">库存单位: <text class="text-grey ">{{item.stockUnit}}</text></text>
|
| | | </view>
|
| | |
|
| | | <!-- <view class="content">
|
| | | <text class="text-black">计划收货数: <text class="text-grey ">{{item.anfme}}</text></text>
|
| | | </view> -->
|
| | | <view class="content">
|
| | | <text class="text-black">收货数量: <text class="text-grey ">{{item.anfme}}</text></text>
|
| | | </view> |
| | | <view class="content"> |
| | | <text class="text-black">已上架数量: <text class="text-grey ">{{item.workQty + item.qty}}</text></text> |
| | | </view>
|
| | | </view>
|
| | |
|
| | | <view class="cu-item">
|
| | | <view class="cu-item"> |
| | | <view class="content"> |
| | | <text class="text-black">可组盘数量: <text class="text-grey ">{{item.anfme - item.workQty}}</text></text> |
| | | </view>
|
| | | <view class="content">
|
| | | <view class="cu-form-group padding-lr-0">
|
| | | <view class="title text-blue"><text
|
| | | class="text-red text-xl vertical-middle">*</text>组盘数量:
|
| | | </view>
|
| | | <input type="number" placeholder="请输入组盘数量" v-model="item.anfme"></input>
|
| | | <input type="number" placeholder="请输入组盘数量" v-model="megreQty"></input>
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | |
|
| | | </view>
|
| | | </block>
|
| | |
|
| | | </view>
|
| | |
|
| | |
|
| | | <view class="cu-bar btn-group foot">
|
| | | <button class="cu-btn text-blue line-blue shadow" @click="clear">清空</button>
|
| | | <button class="cu-btn bg-blue shadow-blur" @click="confirm">组盘</button>
|
| | |
| | | data() {
|
| | | return {
|
| | | barcode: '',
|
| | | container: '',
|
| | | container: '', |
| | | megreQty: '',
|
| | | list: [],
|
| | | range: [],
|
| | | isconfirm: false
|
| | |
| | | const newArr = this.list.map(item => {
|
| | | return {
|
| | | ...item,
|
| | | anfme: item.anfme === null ? 0 : + item.anfme,
|
| | | receiptQty: item.anfme === null ? 0 : + item.anfme
|
| | | anfme: item.anfme === null ? 0 : +item.anfme,
|
| | | receiptQty: this.megreQty,
|
| | | };
|
| | | });
|
| | |
|