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
|
||||
.makeWarningDialog(new SpannableString(Html.fromHtml("Il collo selezionato non presenta articoli versabili sulla linea.")),
|
||||
null, this::openLU)
|
||||
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag");
|
||||
.show(mContext.getSupportFragmentManager(), "tag");
|
||||
return;
|
||||
} else if (mtbColt.get().getMtbColr().size() > 1) {
|
||||
|
||||
@ -137,10 +137,11 @@ public class ProdVersamentoMaterialViewModel {
|
||||
null, () -> {
|
||||
cyclicGetOrdiniLavByCollo(mtbColt.get().getMtbColr().iterator(), mtbDepoPosizione);
|
||||
})
|
||||
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag");
|
||||
.show(mContext.getSupportFragmentManager(), "tag");
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
MesRESTConsumer.getOrdiniLavorazioneMateriale(
|
||||
mtbDepoPosizione.getPosizione(),
|
||||
getIdMaterialeFromCollo(mtbColt.get()),
|
||||
@ -148,7 +149,7 @@ public class ProdVersamentoMaterialViewModel {
|
||||
e -> DialogSimpleMessageView.makeWarningDialog(new SpannableString(Html.fromHtml(e.getMessage())),
|
||||
null,
|
||||
this::openLU)
|
||||
.show(((AppCompatActivity) mContext).getSupportFragmentManager(), "tag"));
|
||||
.show(mContext.getSupportFragmentManager(), "tag"));
|
||||
}
|
||||
} else {
|
||||
DialogSimpleMessageView
|
||||
|
||||
@ -185,6 +185,8 @@ public class DialogInputQuantityV2ViewModel {
|
||||
this.mListener.onError(ex);
|
||||
onComplete.run();
|
||||
});
|
||||
} else {
|
||||
onComplete.run();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user