82 lines
4.1 KiB
HTML
82 lines
4.1 KiB
HTML
<!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 HBOX o componente que se envía',
|
||
titulo: 'Acta de envío',
|
||
subtitulo: 'Se llena al cerrar la caja. Procedimiento: Ciclo de vida §6.',
|
||
intro: 'Fija cómo salió la unidad (firmware, SIM, contenido, fotos). La recepción se compara contra esta acta.',
|
||
secciones: [
|
||
|
||
{ titulo: '0 · Qué se manda y a dónde',
|
||
items: [
|
||
{ tipo:'fecha', clave:'fecha', req:true, guardaEn:'fecha', txt:'Fecha' },
|
||
{ 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 destino (si se sabe)', ph:'FL-JUN-060' },
|
||
{ tipo:'radio', clave:'medio', req:true, txt:'Medio de envío',
|
||
opciones:['Paquetería (guía abajo)','La lleva alguien de Helgen','La recoge el cliente'] },
|
||
{ tipo:'texto', clave:'guia', rows:'1', txt:'Guía o quién la lleva' },
|
||
] },
|
||
|
||
{ titulo: '1 · Requisitos',
|
||
sub:'Si alguno no se cumple, la unidad no se envía.',
|
||
items: [
|
||
{ tipo:'check', clave:'prueba_final', req:true, txt:'Prueba final aprobada en el sitio.' },
|
||
{ tipo:'check', clave:'sin_marca', req:true, txt:'Sin aviso de daño al elegir la serie.' },
|
||
{ tipo:'texto', clave:'fw', rows:'1', req:true, txt:'Firmware (línea BOOT o banner)', ph:'fw=4.0.0' },
|
||
{ tipo:'texto', clave:'iccid', rows:'1', req:true, txt:'ICCID de la SIM' },
|
||
{ tipo:'texto', clave:'imei', rows:'1', txt:'IMEI del módem' },
|
||
{ tipo:'texto', clave:'id_estacion', rows:'1', txt:'ID de estación (AS+K)' },
|
||
{ tipo:'check', clave:'config_flash', txt:'Configuración ZED-F9P guardada en FLASH.' },
|
||
] },
|
||
|
||
{ titulo: '2 · Contenido de la caja',
|
||
items: [
|
||
{ tipo:'check', clave:'c_unidad', req:true, txt:'Unidad cerrada y etiquetada.' },
|
||
{ 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 con serie, máquina y contacto.' },
|
||
{ tipo:'texto', clave:'extras', rows:'2', txt:'Otros (tornillería, cinchos, repuestos…)' },
|
||
{ tipo:'radio', clave:'bateria', req:true, txt:'Batería instalada',
|
||
opciones:['Sí','No — se retiró','No tiene batería'],
|
||
aviso:'La batería de litio <b>no viaja en avión</b> como carga normal. Por paquetería, confirma envío terrestre.' },
|
||
{ tipo:'medida', clave:'v_bat', si:conBateria, txt:'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:'Caja abierta con todo adentro.' },
|
||
{ tipo:'foto', clave:'f_unidad', req:true, etiqueta:'unidad', txt:'Unidad con etiqueta legible.' },
|
||
{ tipo:'foto', clave:'f_cerrada', etiqueta:'caja-cerrada', txt:'Caja cerrada y rotulada.' },
|
||
{ tipo:'radio', clave:'accion', req:true, guardaEn:'accion', txt:'Resultado',
|
||
opciones:['Enviada','Lista pero detenida (explica abajo)'] },
|
||
{ tipo:'texto', clave:'observaciones', rows:'3', txt:'Observaciones' },
|
||
] },
|
||
]
|
||
});
|
||
</script>
|
||
</body>
|
||
</html>
|