feat(android): add attachment config dialog and FJ- scan in registration
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -45,8 +45,9 @@ extension _RegistrationScanPart on _RegistrationPageState {
|
||||
final parsed = CodeParser.parse(result.barcode);
|
||||
switch (parsed.type) {
|
||||
case CodeType.zongpaiNo:
|
||||
case CodeType.attachmentCode:
|
||||
_handleZongpaiScan(parsed.value);
|
||||
case CodeType.attachmentCode:
|
||||
_handleAttachmentScan(parsed.value);
|
||||
case CodeType.locationNormal:
|
||||
case CodeType.locationTransit:
|
||||
case CodeType.locationTempStorage:
|
||||
@@ -116,6 +117,8 @@ extension _RegistrationScanPart on _RegistrationPageState {
|
||||
if (shouldRefresh) {
|
||||
_loadOverview(zongpaiNo);
|
||||
}
|
||||
// Trigger attachment config check in background (modal dialog if needed)
|
||||
unawaited(_checkAndConfigureAttachment(zongpaiNo));
|
||||
}
|
||||
|
||||
void _triggerDoubleVibration() {
|
||||
|
||||
Reference in New Issue
Block a user