style: 组装页卸货装货按钮颜色互换,板箱过磅完成提示文案调整

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 11:12:06 +08:00
parent 5ae63776ac
commit 180d0ac7cb
2 changed files with 3 additions and 3 deletions

View File

@@ -436,7 +436,7 @@ class GjcBoxWeighingAddViewModel : BaseViewModel() {
}) {
onSuccess = { result ->
if (result.verifySuccess()) {
showToast("添加成功")
showToast("完成复磅")
// 如果勾选了打印挂签,则执行打印
if (printTag.value == true) {

View File

@@ -416,7 +416,7 @@
android:layout_height="44dp"
android:layout_marginEnd="8dp"
android:alpha="@{viewModel.isUnloadEnabled ? 1.0f : 0.5f}"
android:background="@drawable/bg_blue_radius_4"
android:background="@drawable/bg_red_radius_4"
android:enabled="@{viewModel.isUnloadEnabled}"
android:onClick="@{() -> viewModel.onUnloadClick()}"
android:text="卸货"
@@ -428,7 +428,7 @@
android:layout_height="44dp"
android:layout_marginStart="32dp"
android:alpha="@{viewModel.isLoadEnabled ? 1.0f : 0.5f}"
android:background="@drawable/bg_red_radius_4"
android:background="@drawable/bg_blue_radius_4"
android:enabled="@{viewModel.isLoadEnabled}"
android:onClick="@{() -> viewModel.onLoadClick()}"
android:text="装货"