feat: 收运检查-交接单
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<data>
|
||||
<import type="android.view.View" />
|
||||
|
||||
<variable
|
||||
name="viewModel"
|
||||
@@ -123,6 +124,7 @@
|
||||
android:layout_weight="2"
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="center"
|
||||
android:text="@{viewModel.dataBean.saleAgentCode ?? ``}"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
|
||||
@@ -258,6 +260,7 @@
|
||||
android:layout_weight="2"
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="center"
|
||||
android:text="@{String.valueOf(viewModel.dataBean.chargeWeight != null ? viewModel.dataBean.chargeWeight : 0.0d)}"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
|
||||
@@ -365,6 +368,8 @@
|
||||
<RadioButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.cbEcFlag.equals(`0`)}"
|
||||
android:onClick="@{() -> viewModel.onCbEcFlagClick(`0`)}"
|
||||
android:text="否"
|
||||
android:textSize="14sp" />
|
||||
|
||||
@@ -372,7 +377,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:checked="true"
|
||||
android:checked="@{viewModel.cbEcFlag.equals(`1`)}"
|
||||
android:onClick="@{() -> viewModel.onCbEcFlagClick(`1`)}"
|
||||
android:text="是"
|
||||
android:textSize="14sp" />
|
||||
</RadioGroup>
|
||||
@@ -394,6 +400,7 @@
|
||||
android:layout_weight="3"
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="center"
|
||||
android:text="@{viewModel.dataBean.expressName ?? ``}"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
@@ -433,6 +440,7 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@{viewModel.dataBean.saleAgentCode ?? ``}"
|
||||
android:textColor="@color/color_33"
|
||||
tools:text="李某某" />
|
||||
</LinearLayout>
|
||||
@@ -482,12 +490,13 @@
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
<EditText
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2"
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="center"
|
||||
android:text="@={viewModel.dataBean.opName}"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
@@ -507,12 +516,13 @@
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
<EditText
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="5"
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="center"
|
||||
android:text="@={viewModel.dataBean.opCardId}"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
@@ -645,6 +655,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.goodsNameYes}"
|
||||
android:onClick="@{() -> viewModel.onGoodsNameClick(true)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -658,6 +670,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.goodsNameNo}"
|
||||
android:onClick="@{() -> viewModel.onGoodsNameClick(false)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -688,6 +702,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.dangerYes}"
|
||||
android:onClick="@{() -> viewModel.onDangerClick(true)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -701,6 +717,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.dangerNo}"
|
||||
android:onClick="@{() -> viewModel.onDangerClick(false)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -718,7 +736,7 @@
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="start|center_vertical"
|
||||
android:padding="5dp"
|
||||
android:text="3.是否非观赏鱼类货物,或属于无“暖宝宝”且无“高锰酸钾等氧化剂类或其他类消毒剂”的观赏鱼类货物"
|
||||
android:text="3.是否非观赏鱼类货物,或属于无"暖宝宝"且无"高锰酸钾等氧化剂类或其他类消毒剂"的观赏鱼类货物"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="13sp" />
|
||||
|
||||
@@ -732,6 +750,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.fishYes}"
|
||||
android:onClick="@{() -> viewModel.onFishClick(true)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -745,6 +765,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.fishNo}"
|
||||
android:onClick="@{() -> viewModel.onFishClick(false)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -775,6 +797,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.packagingYes}"
|
||||
android:onClick="@{() -> viewModel.onPackagingClick(true)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -788,6 +812,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.packagingNo}"
|
||||
android:onClick="@{() -> viewModel.onPackagingClick(false)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -818,6 +844,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.labelsYes}"
|
||||
android:onClick="@{() -> viewModel.onLabelsClick(true)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -831,6 +859,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.labelsNo}"
|
||||
android:onClick="@{() -> viewModel.onLabelsClick(false)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -915,6 +945,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.appearanceYes}"
|
||||
android:onClick="@{() -> viewModel.onAppearanceClick(true)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -929,6 +961,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.appearanceNo}"
|
||||
android:onClick="@{() -> viewModel.onAppearanceClick(false)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -962,6 +996,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.threatYes}"
|
||||
android:onClick="@{() -> viewModel.onThreatClick(true)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -976,6 +1012,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.threatNo}"
|
||||
android:onClick="@{() -> viewModel.onThreatClick(false)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -1009,6 +1047,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.highRiskYes}"
|
||||
android:onClick="@{() -> viewModel.onHighRiskClick(true)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -1023,6 +1063,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.highRiskNo}"
|
||||
android:onClick="@{() -> viewModel.onHighRiskClick(false)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -1115,6 +1157,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.submitStatementYes}"
|
||||
android:onClick="@{() -> viewModel.onSubmitStatementClick(1)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -1129,6 +1173,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.submitStatementNA}"
|
||||
android:onClick="@{() -> viewModel.onSubmitStatementClick(2)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -1143,6 +1189,8 @@
|
||||
<CheckBox
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="@{viewModel.submitStatementNo}"
|
||||
android:onClick="@{() -> viewModel.onSubmitStatementClick(0)}"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -1219,12 +1267,13 @@
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
<EditText
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="center"
|
||||
android:text="@={viewModel.securityChannel}"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
@@ -1236,12 +1285,13 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<TextView
|
||||
<EditText
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="center"
|
||||
android:text="@={viewModel.securityStartTime}"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
|
||||
@@ -1255,12 +1305,13 @@
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
<EditText
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/bg_table_cell"
|
||||
android:gravity="center"
|
||||
android:text="@={viewModel.securityEndTime}"
|
||||
android:textColor="@color/color_33"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user