diff --git a/methods/bindShelvingTag.js b/methods/bindShelvingTag.js index 07c1871..a27a768 100644 --- a/methods/bindShelvingTag.js +++ b/methods/bindShelvingTag.js @@ -53,9 +53,9 @@ async function insertShelving(shelvingId, smartTagFk) { unitName: currentUser.unitName, itemList: [ { - attrCategory: 'verdnatura', - attrName: 'sinTicket', - barCode: shelvingId, // Matricula + nivel + attrCategory: 'verdnatura', // Plantilla + attrName: 'sinTicket', // Tipo de Plantilla + barCode: shelvingId, // Matricula + nivel --> Cod.Barras artículo itemTitle: 'Etiqueta Sin ticket', qrCode: shelvingId } diff --git a/server.js b/server.js index 8d19eb1..e3107fb 100644 --- a/server.js +++ b/server.js @@ -10,8 +10,8 @@ exports.dataLogIn = dataLogIn; con.con.connect(function(err) {}); // app.use('/getNumShelving', require('./methods/setCollection__')); -app.use('/insertTicket', require('./methods/bindTicketShelving')); // collectionFk app.use('/bindShelving', require('./methods/bindShelvingTag')); // smartTagFk, shelving, level +app.use('/insertTicket', require('./methods/bindTicketShelving')); // collectionFk app.use('/flashOn', require('./methods/flashOn')); app.listen(port, () => {