fix: 修复意外签注编辑页运单号校验及字段拼写错误

- 修正 GjjImportManifest 中 dgrContactMame 字段名拼写错误为 dgrContactName
- 同步修复 IntArrSupplementInfoViewModel 和布局中对应字段引用
- 意外签注编辑页运单号输入改为纯数字模式,并新增11位格式+校验位验证
- 修改航班日期/航班号输入完成时清空始发站和目的站,避免旧数据残留
- 保存前新增始发站/目的站非空校验
- 布局微调:图片上传区域边距和对齐优化

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-01 18:35:30 +08:00
parent 936af73ec0
commit 3e5f185721
6 changed files with 47 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ package com.lukouguoji.gjj.activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.text.InputType
import com.lukouguoji.gjj.R
import com.lukouguoji.gjj.databinding.ActivityIntImpAccidentVisaEditBinding
import com.lukouguoji.gjj.viewModel.IntImpAccidentVisaEditViewModel
@@ -26,8 +27,8 @@ class IntImpAccidentVisaEditActivity :
// 航班号:大写字母+数字
binding.fnoInput.et.setUpperCaseAlphanumericFilter()
// 运单号:大写字母+数字
binding.wbNoInput.et.setUpperCaseAlphanumericFilter()
// 运单号:纯数字11位
binding.wbNoInput.et.inputType = InputType.TYPE_CLASS_NUMBER
viewModel.rv = binding.rv
binding.rv.addOnItemClickListener(viewModel)