feat: 国际出港开始组装新增 IMP代码、板型、BUP 输入项

- ULD 信息卡新增第二行:IMP代码(大写过滤)、板型(手输 + 下拉选择,箭头与 Spinner 同源)、BUP(否/是,默认否)
- 装货/卸货提交时 dgrCode、boardType、bupFlag 同时写入顶层参数与 useInfo,输入 ULD 后从 getUld 回填
- 板型选项走通用字典接口,字典 code 暂定 BOARDTYPE,测试环境返回为空时提示手动输入

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-09 10:40:43 +08:00
parent ea83361102
commit 2ba70d1a09
8 changed files with 154 additions and 4 deletions

View File

@@ -293,6 +293,54 @@
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
<!-- 第二行:IMP代码、板型(下拉选择 + 手动输入)、BUP -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:id="@+id/impCodeInput"
enable="@{true}"
hint='@{"请输入IMP代码"}'
required="@{false}"
title='@{"IMP代码:"}'
titleLength="@{5}"
type="@{DataLayoutType.INPUT}"
value="@={viewModel.uldInfo.dgrCode}"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:id="@+id/boardTypeInput"
enable="@{true}"
hint='@{"请输入或选择"}'
required="@{false}"
setOnIconClickListener="@{(v) -> viewModel.onBoardTypeSelectClick()}"
setTextAllCaps="@{true}"
title='@{"板型:"}'
titleLength="@{5}"
type="@{DataLayoutType.INPUT}"
value="@={viewModel.uldInfo.boardType}"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{true}"
list="@{viewModel.bupFlagList}"
required="@{false}"
title='@{"BUP:"}'
titleLength="@{5}"
type="@{DataLayoutType.SPINNER}"
value="@={viewModel.uldInfo.bupFlag}"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
</LinearLayout>
<!-- 运单信息卡片 -->