fix(gjj): 进港仓库补齐始发站与库位件重,运单信息去掉出库时间

- 运单信息 Tab 去掉「出库时间」
- 始发站显示 "-":详情 warehouseList 返回 fdep 而非 dep,列表 IntImpStorage/pageQuery
  不返回 dep/fdep、始发站在 origin。GjjWarehouse 新增 fdep 与 depDisplay
  (fdep → dep → origin),GjcMaWb 新增 depDisplay(dep → origin),仓库卡片与列表卡片改绑
- 库位卡片:GjjStorageUse 补 inPc/inWeight/outPc/outWeight,增加出入库件数与重量两行

Refs: 禅道 Bug #635

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
YANG JIANKUAN
2026-10-14 20:22:01 -07:00
parent 9db20749e2
commit a4167c3cf3
7 changed files with 78 additions and 12 deletions

View File

@@ -13,7 +13,7 @@
取值统一走 viewModel.str()/dec() 帮助方法(空值兜底 "-")。
字段 key 以平板变体既有绑定为准(awbPc/awbWeight/cashWeight/inPc/inWeight/lockStateText/
mftStatus/tallyStatus/command);后端确认按平板端展示(问题清单 #27):
航程 range(无经停站,替代始发站/中转站/目的站)、UN编号 unNumber、出库时间 dlvTime。
航程 range(无经停站,替代始发站/中转站/目的站)、UN编号 unNumber;出库时间按 Bug #635 不再展示。
-->
<layout xmlns:android="http://schemas.android.com/apk/res/android">
@@ -167,7 +167,7 @@
</LinearLayout>
<!-- 业务类型 | 出库时间 -->
<!-- 业务类型(Bug #635:去掉出库时间,右半格留空保持两列对齐) -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -181,12 +181,10 @@
title='@{"业务类型"}'
value='@{viewModel.str(viewModel.maWbData, "businessName")}' />
<com.lukouguoji.module_base.ui.weight.phone.PhoneKvItem
<Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
title='@{"出库时间"}'
value='@{viewModel.str(viewModel.maWbData, "dlvTime")}' />
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>

View File

@@ -86,6 +86,29 @@
</LinearLayout>
<!-- 入库件数 | 入库重量(Bug #635) -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.phone.PhoneKvItem
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
title='@{"入库件数"}'
value="@{bean.inPcText}" />
<com.lukouguoji.module_base.ui.weight.phone.PhoneKvItem
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
title='@{"入库重量"}'
value="@{bean.inWeightText}" />
</LinearLayout>
<!-- 出库人 | 出库时间 -->
<LinearLayout
android:layout_width="match_parent"
@@ -109,5 +132,28 @@
</LinearLayout>
<!-- 出库件数 | 出库重量(Bug #635) -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.phone.PhoneKvItem
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
title='@{"出库件数"}'
value="@{bean.outPcText}" />
<com.lukouguoji.module_base.ui.weight.phone.PhoneKvItem
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
title='@{"出库重量"}'
value="@{bean.outWeightText}" />
</LinearLayout>
</LinearLayout>
</layout>

View File

@@ -121,7 +121,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
title='@{"始发站"}'
value="@{bean.dep}" />
value="@{bean.depDisplay}" />
<com.lukouguoji.module_base.ui.weight.phone.PhoneKvItem
android:layout_width="0dp"

View File

@@ -203,7 +203,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:text='@{"始发站:" + bean.orDash(bean.dep)}'
android:text='@{"始发站:" + bean.orDash(bean.depDisplay)}'
android:textColor="@color/phone_text_body"
android:textSize="13sp"
tools:text="始发站:LAX" />