| | |
| | | let options = { |
| | | field: 'palletCode', |
| | | title: 'æçç ', |
| | | sortable: false, |
| | | sortable: true, |
| | | type: 'text', |
| | | //link:true, |
| | | fixed: true, |
| | |
| | | }); |
| | | } |
| | | }; |
| | | this.columns.splice(1, 0, options); |
| | | //this.columns.splice(1, 0, options); |
| | | |
| | | var ManualOutbound = this.buttons.find(x => x.value == "ManualOutBound"); |
| | | if (ManualOutbound != null) { |
| | |
| | | return this.$error("è¯·éæ©æ°æ®!"); |
| | | } |
| | | |
| | | console.log(rows); |
| | | |
| | | //console.log(rows); |
| | | let errmsg = ""; |
| | | rows.forEach(element => { |
| | | if (element.stockStatus != 2) |
| | |
| | | |
| | | if (errmsg != "") |
| | | return this.$error(errmsg) |
| | | |
| | | |
| | | var barcodeList = rows.map(x => |
| | | x.palletCode |
| | |
| | | } |
| | | }; |
| | | |
| | | this.columns.forEach((column) => { |
| | | if (column.field == 'materielName') { |
| | | column.formatter = (row) => { |
| | | // return '<span style="color: #2d8cf0;">' + row?.locationInfo?.roadwayNo + '</span>' |
| | | return row?.stockInfoDetails[0]?.materielName |
| | | } |
| | | } |
| | | if (column.field == 'quantity') { |
| | | column.formatter = (row) => { |
| | | // return '<span style="color: #2d8cf0;">' + row?.locationInfo?.roadwayNo + '</span>' |
| | | return row?.stockInfoDetails[0]?.quantity |
| | | } |
| | | } |
| | | |
| | | }) |
| | | |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |