Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | /* eslint-disable no-template-curly-in-string */ const fractionalPackaging = `\x02n \x02M0500 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A1001170011\${fractionalPackaging.branchName} 1911A1000280011\${t('BEE4306' /* O.C. */).toUpperCase()}: \${fractionalPackaging.customerOrderCode} 1911A1000280206C.C.: \${fractionalPackaging.customerProductCode} 1911A1000040011\${t('BEE3801' /* QTD */)}.: \${fractionalPackaging.quantity} \${fractionalPackaging.unitMeasure} 1911A1000040167\${fractionalPackaging.date} 1911A1000040262\${fractionalPackaging.user} 1911A1001170286\${fractionalPackaging.productCode} 1X1100001140000L391001 1X1100000250000L391001 1X1100000490000L391001 1X1100001150272L001024 1X1100000250193L001023 1X1100000010140L001023 1X1100000010247L001023 1X1100000480081L001066 1911A1000930089\${fractionalPackaging.fullName.slice(0,35)} 1911A1000740089\${fractionalPackaging.fullName.slice(35, 70)} 1911A1000530089\${fractionalPackaging.fullName.slice(70,132)} 1W1d6603000500010\${fractionalPackaging.productCode} Q0001 E`; const conferenceVolumeIndividual = `\x02n \x02M0710 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A1002540014Ordem: \${conferenceVolume.orderNumber} 1911A1002300014Pedido: \${conferenceVolume.customerOrderCode} 1X1100002210004L381001 1911A0801900014Cliente Destino: \${conferenceVolume.customerName} 1911A0801680014Transportadora: \${conferenceVolume.carrierName} 1911A0801450014Tipo: \${conferenceVolume.deliveryType} 1911A0801450196Cidade: \${conferenceVolume.shipToState}-\${conferenceVolume.shipToCity} 1911A0801210014Volume: \${conferenceVolume.sequence} 1911A0801210234Data: \${conferenceVolume.printDate} 1e6305000500136C1234&E5 1911A080036017912345 Q0001 E`; const baptism = `\x02n \x02M0500 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A1201120069\${typeTranslation(baptism.type)} 1e6305900290069C\${baptism.code} 1911A1200870093\${baptism.code} Q0001 E`; const preConferenceProductII = `\x02n \x02M0710 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A0800670085\${description.slice(0, 17)} 1911A0800550085\${description.slice(17, 32)} 1911A0800430085\${description.slice(32, 48)} 1911A0800310085\${description.slice(48, 65)} 1W1d6600000300010\${prodEan.ean} Q0001 E`; const ean = `\x02n \x02M0500 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A0800820031\${description.slice(0, 25)} 1911A0800700028\${description.slice(25, 50)} 1911A0800590068\${description.slice(50, 75)} 1e6203100250024B\${prodEan.ean} Q0001 E`; const preConferenceDocument = `\x02n \x02M0710 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A1202460017\${inboundOrder.orderNumber} 1911A1200190017\${inboundOrder.supplier.name.slice(0, 35)} 1e6305401320129C\${inboundOrder.orderNumber} 1911A1201870159\${inboundOrder.orderNumber} 1911A0600130312\${printDate} Q0001 E`; const lot = `\x02n \x02M0500 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1e6305000260047C12&E3 1911A1200070084\${lot} Q0001 E`; const address = `\x02n \x02M0500 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A1800840057\${address.branch.name.normalize('NFD').replace(/[\u0300-\u036f]/g, '')} 1e6304000440056B\${address.code} 1911A1800160057\${address.name} Q0001 E`; const conferenceVolume = `\x02n \x02M0500 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A1002540014Ordem: \${conferenceVolume.orderNumber} 1911A1002300014Pedido: \${conferenceVolume.customerOrderCode} 1X1100002210004L381001 1911A0801900014Cliente Destino: \${conferenceVolume.customerName} 1911A0801680014Transportadora: \${conferenceVolume.carrierName} 1911A0801450014Tipo: \${conferenceVolume.deliveryType} 1911A0801450196Cidade: \${conferenceVolume.shipToState}-\${conferenceVolume.shipToCity} 1911A0801210014Volume: \${conferenceVolume.sequence} 1911A0801210234Data: \${conferenceVolume.printDate} 1e6305000500136C1234&E5 1911A080036017912345 Q0001 E`; const volumeCheckList = `\x02n \x02M0710 \x02O0220 \x02V0 \x02f220 \x01D \x02L D11 A2 1911A1202580024CHECK LIST 1911A0602340029Produto 1911A0602340090Cod Cliente 1911A0602340150Descricao 1911A0602350352Qtd 1X1100002270024L352001 \${volumeCheckList.map((element, index) => { if (index === 0) { value1 += 8; } let DPL = \` 1911A06\${value1.toString().padStart(4, '0')}0029\${element.productCode} 1911A06\${value1.toString().padStart(4, '0')}0090\${element.customerProductCode} 1911A06\${value1.toString().padStart(4, '0')}0150\${element.productName.slice(0, 44)} 1911A06\${(value1 - 10).toString().padStart(4, '0')}0138\${element.productName.slice(44, 88)} 1911A06\${value1.toString().padStart(4, '0')}0352\${element.quantity} 1X11000\${(value1 - 10).toString().padStart(4, '0')}0024L352001\`; value1 -= 25; return DPL; }).join('\\n')} Q0001 E`; export { fractionalPackaging, conferenceVolumeIndividual, baptism, preConferenceProductII, ean, preConferenceDocument, lot, address, conferenceVolume, volumeCheckList, }; |