| | |
| | | <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> |
| | |
| | | this.$message.success('æ£é确认æå'); |
| | | this.scanData.barcode = ''; |
| | | await this.loadPalletData(); |
| | | if(res.data && res.data.splitResults && res.data.splitResults.length>0){ |
| | | this.$refs.childs.open(res.data.splitResults); |
| | | if(res.data && res.data && res.data.length>0){ |
| | | this.$refs.childs.open(res.data); |
| | | } |
| | | this.$nextTick(() => { |
| | | this.$refs.barcodeInput.focus(); |
| | |
| | | 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åæ®µï¼æ°å¢currentBarcode |
| | | return { |
| | | ...item, |
| | | currentBarcode: item.barcode |
| | | }; |
| | | }); |
| | | |
| | | this.summary.pickedCount = this.pickedList.length; |
| | | } |
| | | } catch (error) { |