Fix su scansione barcode ean13 in dialog input quantity
This commit is contained in:
parent
2e46f9f665
commit
23b86e68cc
@ -128,7 +128,7 @@ public class ProdVersamentoMaterialViewModel {
|
|||||||
DialogSimpleMessageView
|
DialogSimpleMessageView
|
||||||
.makeWarningDialog(new SpannableString(Html.fromHtml("Il collo selezionato non presenta articoli versabili sulla linea.")),
|
.makeWarningDialog(new SpannableString(Html.fromHtml("Il collo selezionato non presenta articoli versabili sulla linea.")),
|
||||||
null, this::openLU)
|
null, this::openLU)
|
||||||
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag");
|
.show(mContext.getSupportFragmentManager(), "tag");
|
||||||
return;
|
return;
|
||||||
} else if (mtbColt.get().getMtbColr().size() > 1) {
|
} else if (mtbColt.get().getMtbColr().size() > 1) {
|
||||||
|
|
||||||
@ -137,10 +137,11 @@ public class ProdVersamentoMaterialViewModel {
|
|||||||
null, () -> {
|
null, () -> {
|
||||||
cyclicGetOrdiniLavByCollo(mtbColt.get().getMtbColr().iterator(), mtbDepoPosizione);
|
cyclicGetOrdiniLavByCollo(mtbColt.get().getMtbColr().iterator(), mtbDepoPosizione);
|
||||||
})
|
})
|
||||||
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag");
|
.show(mContext.getSupportFragmentManager(), "tag");
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MesRESTConsumer.getOrdiniLavorazioneMateriale(
|
MesRESTConsumer.getOrdiniLavorazioneMateriale(
|
||||||
mtbDepoPosizione.getPosizione(),
|
mtbDepoPosizione.getPosizione(),
|
||||||
getIdMaterialeFromCollo(mtbColt.get()),
|
getIdMaterialeFromCollo(mtbColt.get()),
|
||||||
@ -148,7 +149,7 @@ public class ProdVersamentoMaterialViewModel {
|
|||||||
e -> DialogSimpleMessageView.makeWarningDialog(new SpannableString(Html.fromHtml(e.getMessage())),
|
e -> DialogSimpleMessageView.makeWarningDialog(new SpannableString(Html.fromHtml(e.getMessage())),
|
||||||
null,
|
null,
|
||||||
this::openLU)
|
this::openLU)
|
||||||
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag"));
|
.show(mContext.getSupportFragmentManager(), "tag"));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DialogSimpleMessageView
|
DialogSimpleMessageView
|
||||||
|
|||||||
@ -185,6 +185,8 @@ public class DialogInputQuantityV2ViewModel {
|
|||||||
this.mListener.onError(ex);
|
this.mListener.onError(ex);
|
||||||
onComplete.run();
|
onComplete.run();
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
onComplete.run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user