| | |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column prop="materielCode" label="鐗╂枡缂栫爜" width="120"></el-table-column> |
| | | <el-table-column prop="pickedQty" label="宸叉嫞鏁伴噺" width="100"></el-table-column> |
| | | <el-table-column prop="locationCode" label="璐т綅" width="100"></el-table-column> |
| | | <!-- <el-table-column prop="locationCode" label="璐т綅" width="100"></el-table-column> --> |
| | | <el-table-column prop="currentBarcode" label="鏉$爜"></el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | |
| | | palletCode: this.scanData.palletCode |
| | | }); |
| | | if (res.status) { |
| | | this.unpickedList = res.data || []; |
| | | //this.unpickedList = res.data || []; |
| | | this.unpickedList = (res.data || []).filter(item => item.canPick === true); |
| | | this.summary.unpickedCount = this.unpickedList.length; |
| | | this.summary.unpickedQuantity = this.unpickedList.reduce((sum, item) => sum + (item.remainQuantity || 0), 0); |
| | | } |
| | |
| | | }); |
| | | if (res.status) { |
| | | this.pickedList = res.data || []; |
| | | |
| | | this.pickedList = res.data.map(item => { |
| | | // 鏂瑰紡1锛氫繚鐣欏師barcode瀛楁锛屾柊澧瀋urrentBarcode |
| | | return { |
| | | ...item, |
| | | currentBarcode: item.barcode |
| | | }; |
| | | }); |
| | | |
| | | this.summary.pickedCount = this.pickedList.length; |
| | | } |
| | | } catch (error) { |