feat: dev
This commit is contained in:
@@ -368,6 +368,10 @@ class GjcWeighingStartViewModel : BaseViewModel() {
|
|||||||
showToast(result.msg.noNull("计重失败"))
|
showToast(result.msg.noNull("计重失败"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onFailed = { code, msg ->
|
||||||
|
showToast(msg)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -59,11 +59,11 @@
|
|||||||
|
|
||||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||||
hint='@{"请输入运单号"}'
|
hint='@{"请输入运单号"}'
|
||||||
|
required="@{true}"
|
||||||
title='@{"运单号"}'
|
title='@{"运单号"}'
|
||||||
titleLength="@{5}"
|
titleLength="@{5}"
|
||||||
type="@{DataLayoutType.INPUT}"
|
type="@{DataLayoutType.INPUT}"
|
||||||
value='@={viewModel.maWbBean.wbNo}'
|
value='@={viewModel.maWbBean.wbNo}'
|
||||||
required="@{true}"
|
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1" />
|
android:layout_weight="1" />
|
||||||
@@ -71,11 +71,11 @@
|
|||||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||||
hint='@{"请选择通道号"}'
|
hint='@{"请选择通道号"}'
|
||||||
list="@{viewModel.channelList}"
|
list="@{viewModel.channelList}"
|
||||||
|
required="@{true}"
|
||||||
title='@{"通 道 号"}'
|
title='@{"通 道 号"}'
|
||||||
titleLength="@{5}"
|
titleLength="@{5}"
|
||||||
type="@{DataLayoutType.SPINNER}"
|
type="@{DataLayoutType.SPINNER}"
|
||||||
value='@={viewModel.channel}'
|
value='@={viewModel.channel}'
|
||||||
required="@{true}"
|
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="15dp"
|
android:layout_marginStart="15dp"
|
||||||
@@ -128,12 +128,12 @@
|
|||||||
<!-- 黄色标题栏 -->
|
<!-- 黄色标题栏 -->
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="50dp"
|
android:layout_height="36dp"
|
||||||
android:background="@drawable/bg_shouyun_dbcz"
|
android:background="@drawable/bg_shouyun_dbcz"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="地磅称重"
|
android:text="地磅称重"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="20sp"
|
android:textSize="18sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<!-- 青色重量显示区域 -->
|
<!-- 青色重量显示区域 -->
|
||||||
@@ -141,8 +141,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@drawable/bg_shouyun_dbzl"
|
android:background="@drawable/bg_shouyun_dbzl"
|
||||||
android:minHeight="60dp"
|
android:minHeight="60dp">
|
||||||
android:padding="8dp">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvWeight"
|
android:id="@+id/tvWeight"
|
||||||
|
|||||||
Reference in New Issue
Block a user