feat: 国际进港装机单添加航班级联查询和入库/修改库位功能

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 15:23:23 +08:00
parent 7413a8d159
commit ad6b7d17a5
4 changed files with 206 additions and 24 deletions

View File

@@ -10,6 +10,10 @@
<variable
name="viewModel"
type="com.lukouguoji.gjj.viewModel.IntImpLoadingListViewModel" />
<variable
name="activity"
type="com.lukouguoji.gjj.activity.IntImpLoadingListActivity" />
</data>
<LinearLayout
@@ -33,6 +37,7 @@
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
hint='@{"请选择航班日期"}'
icon="@{@drawable/img_date}"
setRefreshCallBack="@{viewModel::onFlightDateInputComplete}"
type="@{SearchLayoutType.DATE}"
value="@={viewModel.flightDate}"
android:layout_width="0dp"
@@ -42,24 +47,28 @@
<!-- 航班号 -->
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
hint='@{"请输入航班号"}'
setRefreshCallBack="@{viewModel::onFlightNoInputComplete}"
setUpperCaseAlphanumeric="@{true}"
type="@{SearchLayoutType.INPUT}"
value="@={viewModel.flightNo}"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<!-- 始发站 -->
<!-- 始发站(下拉列表) -->
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
hint='@{"请选择始发站"}'
type="@{SearchLayoutType.INPUT}"
value="@={viewModel.fdep}"
list="@{viewModel.sendAddressList}"
type="@{SearchLayoutType.SPINNER}"
value="@={viewModel.sendAddress}"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<!-- 目的站 -->
<!-- 目的站(只读) -->
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
hint='@{"HFE"}'
enable="@{false}"
hint='@{"目的站"}'
type="@{SearchLayoutType.INPUT}"
value="@={viewModel.fdest}"
android:layout_width="0dp"
@@ -198,7 +207,7 @@
android:layout_marginEnd="10dp"
android:background="@drawable/bg_btn_bottom"
android:gravity="center"
android:onClick="@{()-> viewModel.modifyLocationClick()}"
android:onClick="@{()-> activity.showModifyStorageDialog()}"
android:text="修改库位"
android:textColor="@color/white"
android:textSize="18sp" />
@@ -210,7 +219,7 @@
android:layout_gravity="center_vertical"
android:background="@drawable/bg_btn_bottom"
android:gravity="center"
android:onClick="@{()-> viewModel.inboundClick()}"
android:onClick="@{()-> activity.showInStorageDialog()}"
android:text="入库"
android:textColor="@color/white"
android:textSize="18sp" />