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 | 8x 7x 1x 1x 1x 1x 1x 1x 1x 1x 1x 9x 1x 1x 1x 1x 1x 1x 1x 1x 1x 3x 1x 1x 1x | import I18n from '../i18n';
function outboundRangeStatus(status) {
if (status || status === 0) {
switch (status) {
case 1:
return I18n.t('BEE1365' /* Pendente Separação */);
case 2:
return I18n.t('BEE1367' /* Em Separação */);
case 3:
return I18n.t('BEE1948' /* Pendente Conferência */);
case 4:
return I18n.t('BEE1833' /* Finalizado */);
case 5:
return I18n.t('BEE176' /* Divergência */);
case 6:
return I18n.t('BEE1899' /* Devolvido */);
default:
return status;
}
} else Eif (!status) {
return [
{ value: 1, label: I18n.t('BEE1365' /* Pendente Separação */) },
{ value: 2, label: I18n.t('BEE1367' /* Em Separação */) },
{ value: 3, label: I18n.t('BEE1948' /* Pendente Conferência */) },
{ value: 4, label: I18n.t('BEE1833' /* Finalizado */) },
{ value: 5, label: I18n.t('BEE176' /* Divergência */) },
{ value: 6, label: I18n.t('BEE1899' /* Devolvido */) },
];
}
}
function outboundRangeProductStatus(status) {
switch (status) {
case 1:
return I18n.t('BEE1947' /* Pendente Corte de Cabos */);
case 2:
return I18n.t('BEE1365' /* Pendente Separação */);
case 3:
return I18n.t('BEE1367' /* Em Separação */);
case 4:
return I18n.t('BEE1948' /* Pendente Conferência */);
case 5:
return I18n.t('BEE1833' /* Finalizado */);
case 6:
return I18n.t('BEE176' /* Divergência */);
case 7:
return I18n.t('BEE64' /* Cancelado */);
case 8:
return I18n.t('BEE1899' /* Devolvido */);
default:
return status;
}
}
function outboundRangeSeparationType(status) {
switch (status) {
case 1:
return I18n.t('BEE1446' /* Separação por Onda */);
case 2:
return I18n.t('BEE1447' /* Separação por Documento */);
default:
return status;
}
}
export default {
outboundRangeStatus,
outboundRangeProductStatus,
outboundRangeSeparationType,
};
|