fix(gjc): 出港货物详情调整字段顺序,库位卡片增加出入库件数与重量

- 运单信息:「包装类型 | 业务类型」同行,「入库时间」单独一行放在备注下面
- 库位信息:IntExpSearch/detail 的 storageUseList 已返回 inPc/inWeight/outPc/outWeight,
  卡片增加「入库件数 | 入库重量」「出库件数 | 出库重量」两行

修改库位「原库位」应列出全部已分配库位:模拟器实测已列出全部 4 个,未复现,待确认。

Refs: 禅道 Bug #633

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
YANG JIANKUAN
2026-10-14 20:22:00 -07:00
parent 2996e670e0
commit eb0fb12c8d
2 changed files with 55 additions and 22 deletions

View File

@@ -167,7 +167,7 @@
</LinearLayout>
<!-- 包装类型(半宽) -->
<!-- 包装类型 | 业务类型(Bug #633:业务类型紧跟包装类型) -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -181,20 +181,6 @@
title='@{"包装类型"}'
value='@{viewModel.str(viewModel.maWbData, "packageType")}' />
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
<!-- 业务类型 | 入库时间 -->
<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"
@@ -202,13 +188,6 @@
title='@{"业务类型"}'
value='@{viewModel.str(viewModel.maWbData, "businessName")}' />
<com.lukouguoji.module_base.ui.weight.phone.PhoneKvItem
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
title='@{"入库时间"}'
value='@{viewModel.str(viewModel.maWbData, "opDate")}' />
</LinearLayout>
<!-- 运单类型(整行) -->
@@ -243,6 +222,14 @@
title='@{"备注"}'
value='@{viewModel.str(viewModel.maWbData, "remark")}' />
<!-- 入库时间(整行,Bug #633:单独一行放在备注下面) -->
<com.lukouguoji.module_base.ui.weight.phone.PhoneKvItem
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
title='@{"入库时间"}'
value='@{viewModel.str(viewModel.maWbData, "opDate")}' />
</LinearLayout>
<!-- ==================== 卡片2:件重信息 ==================== -->

View File

@@ -86,6 +86,29 @@
</LinearLayout>
<!-- 入库件数 | 入库重量(Bug #633) -->
<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.empty ? `` : bean.inWeightText + ` kg`}" />
</LinearLayout>
<!-- 出库人 | 出库时间 -->
<LinearLayout
android:layout_width="match_parent"
@@ -109,5 +132,28 @@
</LinearLayout>
<!-- 出库件数 | 出库重量(Bug #633) -->
<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.empty ? `` : bean.outWeightText + ` kg`}" />
</LinearLayout>
</LinearLayout>
</layout>