fix: 组装页ULD查询无结果提示,修复运抵列表表头分割线颜色

- ULD编号查询getUld接口返回data为null时弹出"未查询到该ULD信息"提示
- 运抵列表子列表表头分割线改用app:dividerColor替代android:background,
  修复MaterialDivider忽略background导致显示偏紫的问题

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-14 15:20:32 +08:00
parent f69cf8043a
commit cc10987a60
2 changed files with 3 additions and 1 deletions

View File

@@ -448,6 +448,8 @@ class IntExpAssembleStartViewModel : BaseViewModel() {
assembleFlightDate.value = "" assembleFlightDate.value = ""
assembleInfoList.value = mutableListOf() assembleInfoList.value = mutableListOf()
} }
} else {
showToast("未查询到该ULD信息")
} }
} }
onFailed = { code, message -> onFailed = { code, message ->

View File

@@ -495,7 +495,7 @@
android:id="@+id/divider_header" android:id="@+id/divider_header"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="1px" android:layout_height="1px"
android:background="@color/sub_list_divider" /> app:dividerColor="@color/sub_list_divider" />
<!-- 子列表 RecyclerView --> <!-- 子列表 RecyclerView -->
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView