Compare commits
1 Commits
928e7296b1
...
44da2ac6b9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44da2ac6b9 |
@@ -701,7 +701,7 @@ class _BoxingPageState extends State<BoxingPage> with WidgetsBindingObserver {
|
||||
} else {
|
||||
setState(() {
|
||||
_phase = _Phase.scanned;
|
||||
_boxNoController.text = (boxNo + 1).toString();
|
||||
_boxNoController.text = (_maxBoxNo + 1).toString();
|
||||
_quantityController.text = remaining.toString();
|
||||
_quantityController.selection = TextSelection(
|
||||
baseOffset: 0,
|
||||
@@ -846,7 +846,6 @@ class _BoxingPageState extends State<BoxingPage> with WidgetsBindingObserver {
|
||||
}
|
||||
|
||||
void _finishManyToOneBox() {
|
||||
final currentBoxNo = int.tryParse(_boxNoController.text.trim());
|
||||
setState(() {
|
||||
_manyToOnePackedItems.clear();
|
||||
_editingPackedItemId = null;
|
||||
@@ -855,9 +854,7 @@ class _BoxingPageState extends State<BoxingPage> with WidgetsBindingObserver {
|
||||
_zongpaiNo = null;
|
||||
_phase = _Phase.waiting;
|
||||
_quantityController.clear();
|
||||
if (currentBoxNo != null && currentBoxNo > 0) {
|
||||
_boxNoController.text = (currentBoxNo + 1).toString();
|
||||
}
|
||||
_boxNoController.text = (_maxBoxNo + 1).toString();
|
||||
_statusOverrideText = null;
|
||||
_statusOverrideDot = null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user