hbox-docs/docs/formularios/envio.html

84 lines
4.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Acta de envío — HBOX</title>
<link rel="stylesheet" href="acta.css">
</head>
<body>
<div id="acta"></div>
<script src="flota.js"></script>
<script src="series.js"></script>
<script src="acta.js"></script>
<script>
const conBateria = v => String(v.bateria || '').startsWith('Sí');
Acta.render({
tipo: 'envio',
repetible: true,
resultadoFijo: 'ENVIADA',
tecnicoDesdeUsuario: true,
nombres: { alan: 'Alán Basurto', daniel: 'Daniel Martínez', leo: 'Leo Rodríguez' },
unidades: window.SERIES,
etiquetaSerie: 'Unidad que se envía',
titulo: 'Acta de envío',
subtitulo: 'Helgen Technologies · se llena al cerrar la caja, no después.',
intro: '<b>Para qué sirve.</b> Fija el estado exacto en que salió la unidad: qué firmware traía, qué SIM, '
+ 'qué iba en la caja y cómo se veía. Cuando llegue, el acta de <b>recepción</b> se compara contra '
+ 'esta. Si algo falta o llegó golpeado, se sabe en qué tramo pasó.',
secciones: [
{ titulo: '0 · Qué se manda y a dónde',
items: [
{ tipo:'fecha', clave:'fecha', req:true, guardaEn:'fecha', txt:'Fecha de envío' },
{ tipo:'radio', clave:'destino', req:true, guardaEn:'clasificacion', txt:'Destino',
opciones:['ICAVE (Veracruz)','TIMSA','EIT','LCT','Taller Veracruz','Querétaro (regreso)','Otro'] },
{ tipo:'texto', clave:'maquina_destino', rows:'1', guardaEn:'maquina_id', txt:'Máquina a la que va, si ya se sabe', ph:'FL-JUN-060' },
{ tipo:'radio', clave:'medio', req:true, txt:'¿Cómo viaja?',
opciones:['Paquetería (guía abajo)','La lleva alguien de Helgen','La recoge el cliente'] },
{ tipo:'texto', clave:'guia', rows:'1', txt:'Número de guía o quién la lleva' },
] },
{ titulo: '1 · Antes de cerrar la caja — requisitos',
sub:'Si alguno de estos no se cumple, la unidad NO se envía.',
items: [
{ tipo:'check', clave:'prueba_final', req:true, txt:'Tiene <b>acta de prueba final aprobada</b> en el sitio (no vale "ya la probé").' },
{ tipo:'check', clave:'sin_marca', req:true, txt:'Al elegir la serie arriba <b>no apareció aviso de daño</b>.' },
{ tipo:'texto', clave:'fw', rows:'1', req:true, txt:'Firmware que trae (línea BOOT o banner de consola)', ph:'fw=4.0.0' },
{ tipo:'texto', clave:'iccid', rows:'1', req:true, txt:'ICCID de la SIM instalada' },
{ tipo:'texto', clave:'imei', rows:'1', txt:'IMEI del módem' },
{ tipo:'texto', clave:'id_estacion', rows:'1', txt:'ID de estación del módem (AS+K)' },
{ tipo:'check', clave:'config_flash', txt:'Configuración del ZED-F9P guardada en <b>FLASH</b> (no solo RAM).' },
] },
{ titulo: '2 · Lo que va en la caja',
items: [
{ tipo:'check', clave:'c_unidad', req:true, txt:'Unidad HBOX cerrada y etiquetada con su serie.' },
{ tipo:'check', clave:'c_ant_gnss', txt:'Antena GNSS con su cable.' },
{ tipo:'check', clave:'c_ant_lte', txt:'2 antenas LTE.' },
{ tipo:'check', clave:'c_gx16', txt:'Arnés GX16 hacia el gabinete.' },
{ tipo:'check', clave:'c_fuente', txt:'Fuente Mean Well y material de gabinete (si aplica).' },
{ tipo:'check', clave:'c_docs', txt:'Hoja impresa con serie, máquina destino y contacto de Helgen.' },
{ tipo:'texto', clave:'extras', rows:'2', txt:'Otras cosas que van (tornillería, cinchos, repuestos…)' },
{ tipo:'radio', clave:'bateria', req:true, txt:'¿Viaja con batería instalada?',
opciones:['Sí','No — se retiró','No tiene batería'],
aviso:'Una batería de litio <b>no viaja en avión</b> como carga normal. Si va por paquetería, confirma con ellos que va por tierra.' },
{ tipo:'medida', clave:'v_bat', si:conBateria, txt:'Voltaje de la batería al empacar', esperado:'3.6 – 4.0 V', u:'V' },
] },
{ titulo: '3 · Evidencia',
items: [
{ tipo:'foto', clave:'f_abierta', req:true, etiqueta:'caja-abierta', txt:'La caja abierta con todo adentro, antes de cerrar.' },
{ tipo:'foto', clave:'f_unidad', req:true, etiqueta:'unidad', txt:'La unidad con su etiqueta legible.' },
{ tipo:'foto', clave:'f_cerrada', etiqueta:'caja-cerrada', txt:'La caja cerrada y rotulada.' },
{ tipo:'radio', clave:'accion', req:true, guardaEn:'accion', txt:'Estado',
opciones:['Enviada','Lista pero detenida (explica abajo)'] },
{ tipo:'texto', clave:'observaciones', rows:'3', txt:'Observaciones' },
] },
]
});
</script>
</body>
</html>