feat: 国际进港舱单增删改查接口对齐及交互优化
- 新增/编辑接口切换至新路径,删除统一使用批量删除接口 - 新增模式下航班日期、航班号等字段可编辑,支持航班级联查询自动填充 - 编辑模式下从列表页传入航班日期和航班号进行回显 - 修复编辑模式标题显示错误、航班号大写限制、DATE类型hint不显示等问题 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -44,16 +44,17 @@
|
||||
android:orientation="vertical"
|
||||
android:padding="8dp">
|
||||
|
||||
<!-- 第1行:航班日期、航班号、航程(全部禁止编辑) -->
|
||||
<!-- 第1行:航班日期、航班号、航程(新增可编辑,编辑禁止) -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||
enable="@{false}"
|
||||
enable="@{viewModel.pageType == DetailsPageType.Add}"
|
||||
hint='@{"请选择航班日期"}'
|
||||
required="@{false}"
|
||||
setRefreshCallBack="@{viewModel::onFlightDateInputComplete}"
|
||||
title='@{"航班日期"}'
|
||||
titleLength="@{5}"
|
||||
type="@{DataLayoutType.DATE}"
|
||||
@@ -63,9 +64,11 @@
|
||||
android:layout_weight="1" />
|
||||
|
||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||
enable="@{false}"
|
||||
android:id="@+id/flightNoInput"
|
||||
enable="@{viewModel.pageType == DetailsPageType.Add}"
|
||||
hint='@{"请输入航班号"}'
|
||||
required="@{false}"
|
||||
setRefreshCallBack="@{viewModel::onFlightNoInputComplete}"
|
||||
title='@{"航 班 号"}'
|
||||
titleLength="@{5}"
|
||||
type="@{DataLayoutType.INPUT}"
|
||||
@@ -76,7 +79,7 @@
|
||||
android:layout_weight="1" />
|
||||
|
||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||
enable="@{false}"
|
||||
enable="@{viewModel.pageType == DetailsPageType.Add}"
|
||||
hint='@{"请输入航程"}'
|
||||
required="@{false}"
|
||||
title='@{"航 程"}'
|
||||
@@ -90,7 +93,7 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 第2行:运单号(禁止编辑)、代理、特码 -->
|
||||
<!-- 第2行:运单号(新增可编辑,编辑禁止)、代理、特码 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -98,7 +101,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||
enable="@{false}"
|
||||
enable="@{viewModel.pageType == DetailsPageType.Add}"
|
||||
hint='@{"请输入运单号"}'
|
||||
required="@{false}"
|
||||
title='@{"运 单 号"}'
|
||||
|
||||
Reference in New Issue
Block a user