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