fix(phone): 出港/进港仓库卡片备注行前补图标

备注行原为纯文字,与上方带 14dp 图标的字段行不一致;改为 ic_phone_clipboard 图标 + 文字,
进港仓库卡片同步(#630 排查确认进港备注行本身正常,仅清仓时填了备注才显示)。

Refs: 禅道 Bug #629, #630

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
YANG JIANKUAN
2026-10-14 20:21:18 -07:00
parent 9e545ee0ec
commit 36d74c3f0d
2 changed files with 46 additions and 14 deletions

View File

@@ -212,16 +212,32 @@
</LinearLayout>
<!-- 清仓备注(与平板列表第三行一致,无备注时不显示) -->
<TextView
<!-- 清仓备注(与平板列表第三行一致,无备注时不显示;图标与上方字段行同规格) -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text='@{"备注:" + bean.clearRemark}'
android:textColor="@color/phone_text_body"
android:textSize="13sp"
android:visibility="@{bean.clearRemark == null || bean.clearRemark.empty ? View.GONE : View.VISIBLE}"
tools:text="备注:正常清仓" />
android:gravity="center_vertical"
android:orientation="horizontal"
android:visibility="@{bean.clearRemark == null || bean.clearRemark.empty ? View.GONE : View.VISIBLE}">
<ImageView
android:layout_width="14dp"
android:layout_height="14dp"
android:src="@drawable/ic_phone_clipboard"
android:tint="@color/phone_text_body" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_weight="1"
android:text='@{"备注:" + bean.clearRemark}'
android:textColor="@color/phone_text_body"
android:textSize="13sp"
tools:text="备注:正常清仓" />
</LinearLayout>
<!-- ==================== 操作按钮行:清仓 / 修改库位 / 出库 / 入库 ==================== -->
<LinearLayout

View File

@@ -212,16 +212,32 @@
</LinearLayout>
<!-- 清仓备注(与平板列表第三行一致,无备注时不显示) -->
<TextView
<!-- 清仓备注(与平板列表第三行一致,无备注时不显示;图标与上方字段行同规格) -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text='@{"备注:" + bean.clearRemark}'
android:textColor="@color/phone_text_body"
android:textSize="13sp"
android:visibility="@{bean.clearRemark == null || bean.clearRemark.empty ? View.GONE : View.VISIBLE}"
tools:text="备注:正常清仓" />
android:gravity="center_vertical"
android:orientation="horizontal"
android:visibility="@{bean.clearRemark == null || bean.clearRemark.empty ? View.GONE : View.VISIBLE}">
<ImageView
android:layout_width="14dp"
android:layout_height="14dp"
android:src="@drawable/ic_phone_clipboard"
android:tint="@color/phone_text_body" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_weight="1"
android:text='@{"备注:" + bean.clearRemark}'
android:textColor="@color/phone_text_body"
android:textSize="13sp"
tools:text="备注:正常清仓" />
</LinearLayout>
<!-- ==================== 操作按钮行:清仓 / 修改库位 / 出库 / 入库 ==================== -->
<LinearLayout