refactor: 国际进港4页面标准化及始发站筛选控件优化
- 统一 getData() 使用 handleListBean 替代手动分页处理 - 底部栏背景色统一为 @color/white - 进港舱单删除弹窗改用 ConfirmDialogModel - 进港舱单新增始发站 SPINNER 筛选控件 - 电报解析始发站和报文类型改为 SPINNER 下拉选择 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@android:color/white"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingHorizontal="15dp">
|
||||
|
||||
|
||||
@@ -50,6 +50,16 @@
|
||||
android:layout_weight="1" />
|
||||
|
||||
<!-- 始发站 -->
|
||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||
hint='@{"请选择始发站"}'
|
||||
type="@{SearchLayoutType.SPINNER}"
|
||||
list="@{viewModel.sendAddressList}"
|
||||
value="@={viewModel.sendAddress}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<!-- 目的站(固定HFE) -->
|
||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||
hint='@{"HFE"}'
|
||||
type="@{SearchLayoutType.INPUT}"
|
||||
|
||||
@@ -52,7 +52,8 @@
|
||||
<!-- 择始发站 -->
|
||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||
hint='@{"请选择始发站"}'
|
||||
type="@{SearchLayoutType.INPUT}"
|
||||
type="@{SearchLayoutType.SPINNER}"
|
||||
list="@{viewModel.sendAddressList}"
|
||||
value="@={viewModel.sendAddress}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -70,7 +71,8 @@
|
||||
<!-- 报文类型 -->
|
||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||
hint='@{"请选择报文类型"}'
|
||||
type="@{SearchLayoutType.INPUT}"
|
||||
type="@{SearchLayoutType.SPINNER}"
|
||||
list="@{viewModel.msgTypeList}"
|
||||
value="@={viewModel.msgType}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -123,7 +125,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@android:color/white"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingHorizontal="15dp">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user