Bug Fix: eliminazione righe in picking libero
This commit is contained in:
parent
33f0866ea2
commit
82ff37f4ee
@ -439,6 +439,7 @@ public class PickingLiberoViewModel {
|
||||
mColliMagazzinoRESTConsumer.saveCollo(clonedTestata, value -> {
|
||||
for (int i = 0; i < mtbColrObservableField.size(); i++) {
|
||||
MtbColr initialMtbColr = mtbColrObservableField.get(i);
|
||||
var startIdx = (value.getMtbColr().size() - mtbColrObservableField.size());
|
||||
|
||||
initialMtbColr
|
||||
.setDataCollo(value.getDataColloS())
|
||||
@ -446,7 +447,7 @@ public class PickingLiberoViewModel {
|
||||
.setGestione(value.getGestione())
|
||||
.setSerCollo(value.getSerCollo());
|
||||
|
||||
initialMtbColr.setRiga(value.getMtbColr().get(i).getRiga());
|
||||
initialMtbColr.setRiga(value.getMtbColr().get(startIdx + i).getRiga());
|
||||
mCurrentMtbColt.getMtbColr().add(mtbColrObservableField.get(i));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user