Compare commits
4 Commits
8853405ffc
...
50275457a4
| Author | SHA1 | Date | |
|---|---|---|---|
| 50275457a4 | |||
| b14649b228 | |||
| 52d1527121 | |||
| 74cf1346a6 |
40
CLAUDE.md
40
CLAUDE.md
@@ -402,44 +402,50 @@ fun toggleAllExpand() {
|
|||||||
| `radiobtn_unchecked_style` | 未选中 | 透明 + 黑色边框圆 |
|
| `radiobtn_unchecked_style` | 未选中 | 透明 + 黑色边框圆 |
|
||||||
| ~~`radiobtn_checked_gray`~~ | ❌ 禁用 | 灰色实心圆(错误样式) |
|
| ~~`radiobtn_checked_gray`~~ | ❌ 禁用 | 灰色实心圆(错误样式) |
|
||||||
|
|
||||||
#### 含子列表的列表项 UI 规范(以 `item_int_exp_storage_use.xml` 为基准)
|
#### 列表项 UI 规范(以 `item_int_exp_arrive / assemble / load / tally.xml` 四个基准页为准)
|
||||||
|
|
||||||
|
> 应用主题未覆盖 `textViewStyle`,未显式写 `textSize`/`textColor` 的 TextView 会落到系统默认(14sp、偏灰的次级文字色)。因此列表项里**每个** Key/Value TextView 都必须显式写 `textSize` 和 `textColor`,不能依赖“默认继承”。
|
||||||
|
|
||||||
**主列表项卡片**:
|
**主列表项卡片**:
|
||||||
|
|
||||||
| 部位 | 属性 | 标准值 |
|
| 部位 | 属性 | 标准值 |
|
||||||
|------|------|--------|
|
|------|------|--------|
|
||||||
| 外层容器 | marginHorizontal / marginTop | 10dp / 10dp |
|
| 外层容器 | marginHorizontal / marginTop | 10dp / 10dp(禁止旧写法 `marginHorizontal=15dp` + `marginVertical=5dp`)|
|
||||||
| 卡片背景 | background | `@drawable/bg_white_radius_8` |
|
| 卡片背景 | background | `@drawable/bg_white_radius_8`(`bg_item` 已废弃,不再引用)|
|
||||||
| 内容区 | padding | **10dp** |
|
| 内容区 | paddingHorizontal / paddingVertical / gravity | **10dp / 20dp** / `center_vertical` |
|
||||||
| 选中图标 | 尺寸 / marginEnd / marginTop | 40×40dp / 10dp / **0.5px**(像素级对齐)|
|
| 选中图标 | 尺寸 / marginTop | 40×40dp / **0.5px**(像素级对齐),不设 marginEnd |
|
||||||
|
| 内容列(图标右侧的竖向 LinearLayout)| layout_marginLeft | **15dp** |
|
||||||
| 选中图标 | 切换资源 | `img_plane_s`(选中)/ `img_plane`(未选中)|
|
| 选中图标 | 切换资源 | `img_plane_s`(选中)/ `img_plane`(未选中)|
|
||||||
| KV 文字 | textSize | **15sp**(Key 和 Value 均需显式设置)|
|
| KV 文字 | textSize / textColor | **15sp** / **`@color/text_normal`**(Key 和 Value 均需显式设置)|
|
||||||
| 首要字段值(运单号)| textColor | `@color/colorPrimary` |
|
| 首要字段值(运单号/ULD编码)| textColor / textStyle | `@color/colorPrimary` / **`bold`** |
|
||||||
| 其他字段 | textColor | 无需设置(继承默认 text_normal)|
|
| 状态类字段值(带颜色表达式)| textSize | **14sp** + 颜色表达式(如 `text_green / colorPrimary / text_gray`)|
|
||||||
| 两行间距 | layout_marginTop | 10dp |
|
| 两行间距 | layout_marginTop | 10dp |
|
||||||
|
| 右侧箭头(有详情页时)| `img_pda_right` | 30×30dp,`layout_marginLeft=10dp` |
|
||||||
|
|
||||||
**展开/折叠按钮(`iv_show`)**:
|
**展开/折叠按钮(`iv_show`)**:
|
||||||
|
|
||||||
| 属性 | 标准值 |
|
| 属性 | 标准值 |
|
||||||
|------|--------|
|
|------|--------|
|
||||||
| layout_width | `match_parent` |
|
| layout_width | `match_parent` |
|
||||||
| layout_height | **10dp** |
|
| layout_height | **20dp** |
|
||||||
| layout_marginTop | **-10dp**(向上收紧,紧贴卡片底边)|
|
| layout_marginTop | **-20dp**(向上收紧,紧贴卡片底边)|
|
||||||
| scaleType | **centerInside**(保证箭头不被压扁/截断)|
|
| scaleType | **center** |
|
||||||
| src | `@mipmap/img_down` |
|
| src | `@mipmap/img_down` |
|
||||||
| 显示控制 | `visible="@{bean.subList != null && !bean.subList.empty}"` |
|
| 显示控制 | `visible="@{bean.subList != null && !bean.subList.empty}"` |
|
||||||
| 不设 padding,不设 layout_marginBottom | — |
|
| 不设 padding,不设 layout_marginBottom | — |
|
||||||
|
|
||||||
> 旧版本(18dp + padding=4dp + marginBottom=5dp)已统一替换为上述新标准,参考 `item_int_exp_arrive.xml`。组装类列表若需展开后翻转箭头,附加 `android:rotation="@{bean.showMore.get() ? 180f : 0f}"`(参考 `item_int_exp_assemble.xml`)。
|
> 旧版本(18dp + padding=4dp + marginBottom=5dp,以及 10dp/-10dp/centerInside)已统一替换为上述新标准,参考 `item_int_exp_arrive.xml`。组装类列表若需展开后翻转箭头,附加 `android:rotation="@{bean.showMore.get() ? 180f : 0f}"`(参考 `item_int_exp_assemble.xml`)。
|
||||||
|
|
||||||
**子列表区域**:
|
**子列表区域**:
|
||||||
|
|
||||||
- 容器:`layout_marginTop="5dp"`,`background="#e3f6e0"`
|
- 容器:`layout_marginTop="10dp"`,`background="@drawable/bg_white_radius_8"`(旧的 `#e3f6e0` 绿色容器已废弃)
|
||||||
- 表头行:`layout_marginVertical="10dp"`,`paddingHorizontal="10dp"`
|
- 空提示:`textSize="14sp"`,`textColor="@color/text_gray"`,`paddingVertical="15dp"`
|
||||||
|
- 表头行:`background="@drawable/bg_arrive_sub_header"`,`paddingHorizontal="10dp"`,`paddingVertical="10dp"`
|
||||||
- 表头文字:`textSize="14sp"`,`textColor="@color/text_normal"`,`textStyle="bold"`,`gravity="center"`
|
- 表头文字:`textSize="14sp"`,`textColor="@color/text_normal"`,`textStyle="bold"`,`gravity="center"`
|
||||||
- 表头下方分隔线:`MaterialDivider` 高度 1px,`background="@color/c999999"`
|
- 表头下方分隔线:`MaterialDivider` 高度 1px,`dividerColor="@color/sub_list_divider"`
|
||||||
- 子列表项 padding:`paddingHorizontal="10dp"`,`paddingVertical="8dp"`
|
- 子列表项:`layout_marginVertical="8dp"`,`paddingHorizontal="10dp"`
|
||||||
- 子列表文字:`textSize="14sp"`,`textColor="@color/text_normal"`,`gravity="center"`,`layout_gravity="center_vertical"`
|
- 子列表文字:`textSize="14sp"`,`textColor="@color/text_normal"`,`gravity="center"`,`layout_gravity="center_vertical"`;首要列(运单号/分单号)`@color/colorPrimary` + `bold`;状态列 `13sp` + 颜色表达式
|
||||||
|
- 详情页里的表格式列表(如查询详情的库位/仓库 Tab)同样 14sp + `text_normal`,禁止 `@android:color/black`
|
||||||
|
|
||||||
**子列表复选框(关键)**:
|
**子列表复选框(关键)**:
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,9 @@ class GjcQueryViewModel : BasePageViewModel() {
|
|||||||
// 运单类型列表(字典接口 typeCode/awb,type=IO 国际出港)
|
// 运单类型列表(字典接口 typeCode/awb,type=IO 国际出港)
|
||||||
val awbTypeList = MutableLiveData<List<KeyValue>>(emptyList())
|
val awbTypeList = MutableLiveData<List<KeyValue>>(emptyList())
|
||||||
|
|
||||||
|
// 特码列表(与国际出港待记重页面同源:flag=1 国际,ieFlag 为空)
|
||||||
|
val spCodeList = MutableLiveData<List<KeyValue>>(emptyList())
|
||||||
|
|
||||||
// 业务类型列表
|
// 业务类型列表
|
||||||
val businessTypeList = MutableLiveData(
|
val businessTypeList = MutableLiveData(
|
||||||
listOf(
|
listOf(
|
||||||
@@ -141,7 +144,7 @@ class GjcQueryViewModel : BasePageViewModel() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 初始化筛选下拉列表(运单类型从字典接口获取,type=IO 国际出港)
|
* 初始化筛选下拉列表(运单类型、特码均从字典接口获取)
|
||||||
*/
|
*/
|
||||||
fun initFilterLists() {
|
fun initFilterLists() {
|
||||||
DictUtils.getWaybillTypeList(
|
DictUtils.getWaybillTypeList(
|
||||||
@@ -151,6 +154,15 @@ class GjcQueryViewModel : BasePageViewModel() {
|
|||||||
) {
|
) {
|
||||||
awbTypeList.postValue(it)
|
awbTypeList.postValue(it)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 特码列表(参数与国际出港待记重页面一致)
|
||||||
|
DictUtils.getSpecialCodeList(
|
||||||
|
flag = 1, // 国际
|
||||||
|
ieFlag = "", // 空字符串
|
||||||
|
parentcode = "" // 无父级
|
||||||
|
) {
|
||||||
|
spCodeList.postValue(it)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -43,8 +43,8 @@
|
|||||||
android:minWidth="20dp"
|
android:minWidth="20dp"
|
||||||
android:paddingHorizontal="4dp"
|
android:paddingHorizontal="4dp"
|
||||||
android:text="@{String.valueOf(bean.uldIndex)}"
|
android:text="@{String.valueOf(bean.uldIndex)}"
|
||||||
android:textColor="@color/c333333"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="13sp"
|
android:textSize="14sp"
|
||||||
android:visibility="@{bean.showIndex ? View.VISIBLE : View.GONE}"
|
android:visibility="@{bean.showIndex ? View.VISIBLE : View.GONE}"
|
||||||
tools:text="1" />
|
tools:text="1" />
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/text_gray"
|
android:textColor="@color/text_gray"
|
||||||
android:textSize="13sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 件数/重量 -->
|
<!-- 件数/重量 -->
|
||||||
<TextView
|
<TextView
|
||||||
@@ -105,8 +105,8 @@
|
|||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="12dp"
|
||||||
android:layout_marginEnd="28dp"
|
android:layout_marginEnd="28dp"
|
||||||
android:text='@{String.valueOf(bean.waybillPieces) + "/" + String.format("%.1f", bean.waybillWeight) + "kg"}'
|
android:text='@{String.valueOf(bean.waybillPieces) + "/" + String.format("%.1f", bean.waybillWeight) + "kg"}'
|
||||||
android:textColor="#e89e42"
|
android:textColor="@color/text_orange"
|
||||||
android:textSize="13sp" />
|
android:textSize="14sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -14,9 +14,9 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
android:paddingHorizontal="10dp">
|
android:paddingHorizontal="10dp">
|
||||||
@@ -27,13 +27,14 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
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"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 第一行数据:航班日期 | 航班号 | 航程 | 组装人 | 分配人 -->
|
<!-- 第一行数据:航班日期 | 航班号 | 航程 | 组装人 | 分配人 -->
|
||||||
@@ -53,14 +54,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="航班日期:" />
|
android:text="航班日期:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.fdate}"
|
android:text="@{bean.fdate}"
|
||||||
tools:text="2025-09-05" />
|
tools:text="2025-09-05"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -76,7 +79,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="航班号:" />
|
android:text="航班号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -84,7 +88,8 @@
|
|||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.fno}'
|
android:text='@{bean.fno}'
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
tools:text="MU2023" />
|
tools:text="MU2023"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -100,14 +105,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{3}"
|
completeSpace="@{3}"
|
||||||
android:text="航程:" />
|
android:text="航程:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.range ?? (bean.fdep + "-" + bean.fdest)}'
|
android:text='@{bean.range ?? (bean.fdep + "-" + bean.fdest)}'
|
||||||
tools:text="HFE - LAX" />
|
tools:text="HFE - LAX"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -123,14 +130,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="组装人:" />
|
android:text="组装人:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.abName ?? ``}"
|
android:text="@{bean.abName ?? ``}"
|
||||||
tools:text="徵远" />
|
tools:text="徵远"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -146,14 +155,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="分配人:" />
|
android:text="分配人:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.acName ?? ``}'
|
android:text='@{bean.acName ?? ``}'
|
||||||
tools:text="张三" />
|
tools:text="张三"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -171,14 +182,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="分配时间:" />
|
android:text="分配时间:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.acDate ?? ``}"
|
android:text="@{bean.acDate ?? ``}"
|
||||||
tools:text="2024-01-15 14:27:12" />
|
tools:text="2024-01-15 14:27:12"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<com.mcxtzhang.swipemenulib.SwipeMenuLayout
|
<com.mcxtzhang.swipemenulib.SwipeMenuLayout
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
android:paddingHorizontal="10dp">
|
android:paddingHorizontal="10dp">
|
||||||
@@ -35,12 +35,13 @@
|
|||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -61,7 +62,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="ULD编号:" />
|
android:text="ULD编号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -69,7 +71,8 @@
|
|||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.uld}"
|
android:text="@{bean.uld}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
tools:text="PMC12345MU" />
|
tools:text="PMC12345MU"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -85,14 +88,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="架子车号:" />
|
android:text="架子车号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.carId}'
|
android:text='@{bean.carId}'
|
||||||
tools:text="527" />
|
tools:text="527"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -108,14 +113,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="总重:" />
|
android:text="总重:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf(bean.totalWeight)}"
|
android:text="@{String.valueOf(bean.totalWeight)}"
|
||||||
tools:text="200" />
|
tools:text="200"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -131,14 +138,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="装机重量:" />
|
android:text="装机重量:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{String.valueOf(bean.netWeight)}'
|
android:text='@{String.valueOf(bean.netWeight)}'
|
||||||
tools:text="150" />
|
tools:text="150"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -154,14 +163,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="货重:" />
|
android:text="货重:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{String.valueOf(bean.cargoWeight)}'
|
android:text='@{String.valueOf(bean.cargoWeight)}'
|
||||||
tools:text="150" />
|
tools:text="150"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -185,14 +196,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="航班日期:" />
|
android:text="航班日期:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.fdate != null && bean.fdate.length() >= 10 ? bean.fdate.substring(0, 10) : (bean.fdate ?? ``)}'
|
android:text='@{bean.fdate != null && bean.fdate.length() >= 10 ? bean.fdate.substring(0, 10) : (bean.fdate ?? ``)}'
|
||||||
tools:text="2025-09-05" />
|
tools:text="2025-09-05"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -208,14 +221,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="航班号:" />
|
android:text="航班号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.fno}'
|
android:text='@{bean.fno}'
|
||||||
tools:text="MU2023" />
|
tools:text="MU2023"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -231,14 +246,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="目的港:" />
|
android:text="目的港:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.fdest}"
|
android:text="@{bean.fdest}"
|
||||||
tools:text="PEK" />
|
tools:text="PEK"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -254,14 +271,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="过磅人:" />
|
android:text="过磅人:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.wtUsername}'
|
android:text='@{bean.wtUsername}'
|
||||||
tools:text="张三" />
|
tools:text="张三"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -277,14 +296,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="过磅时间:" />
|
android:text="过磅时间:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.wtDate}'
|
android:text='@{bean.wtDate}'
|
||||||
tools:text="2024-01-15 14:27:12" />
|
tools:text="2024-01-15 14:27:12"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,9 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
android:paddingHorizontal="10dp">
|
android:paddingHorizontal="10dp">
|
||||||
@@ -29,13 +29,14 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
loadImage="@{bean.checked ? @drawable/img_plane_s : @drawable/img_plane}"
|
loadImage="@{bean.checked ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
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"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 第一行数据 -->
|
<!-- 第一行数据 -->
|
||||||
@@ -55,7 +56,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="运单号:" />
|
android:text="运单号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -63,7 +65,8 @@
|
|||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
tools:text="78109081212" />
|
tools:text="78109081212"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -79,14 +82,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="代理人:" />
|
android:text="代理人:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.agentCode}'
|
android:text='@{bean.agentCode}'
|
||||||
tools:text="SF" />
|
tools:text="SF"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -102,14 +107,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="特码:" />
|
android:text="特码:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.spCode}"
|
android:text="@{bean.spCode}"
|
||||||
tools:text="NOR" />
|
tools:text="NOR"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -125,14 +132,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="预配件数:" />
|
android:text="预配件数:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{String.valueOf(bean.pc)}'
|
android:text='@{String.valueOf(bean.pc)}'
|
||||||
tools:text="11" />
|
tools:text="11"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -148,14 +157,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="预配重量:" />
|
android:text="预配重量:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{String.valueOf(bean.weight)}'
|
android:text='@{String.valueOf(bean.weight)}'
|
||||||
tools:text="12" />
|
tools:text="12"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -179,14 +190,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="计划航班:" />
|
android:text="计划航班:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.flight}"
|
android:text="@{bean.flight}"
|
||||||
tools:text="20240216/MU2026" />
|
tools:text="20240216/MU2026"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -202,14 +215,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="航程:" />
|
android:text="航程:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.range}'
|
android:text='@{bean.range}'
|
||||||
tools:text="HFE - PEK" />
|
tools:text="HFE - PEK"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -225,14 +240,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="预计起飞:" />
|
android:text="预计起飞:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.scheduledTackOffHM}"
|
android:text="@{bean.scheduledTackOffHM}"
|
||||||
tools:text="09:12" />
|
tools:text="09:12"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvDayPlus"
|
android:id="@+id/tvDayPlus"
|
||||||
@@ -241,7 +258,8 @@
|
|||||||
android:layout_marginStart="4dp"
|
android:layout_marginStart="4dp"
|
||||||
android:text="+1"
|
android:text="+1"
|
||||||
android:textColor="@color/text_red"
|
android:textColor="@color/text_red"
|
||||||
android:visibility="@{bean.verifyScheduledTackOffNextDay() ? View.VISIBLE : View.GONE}" />
|
android:visibility="@{bean.verifyScheduledTackOffNextDay() ? View.VISIBLE : View.GONE}"
|
||||||
|
android:textSize="15sp" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -257,14 +275,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="业务类型:" />
|
android:text="业务类型:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.businessName}'
|
android:text='@{bean.businessName}'
|
||||||
tools:text="普通货物运输" />
|
tools:text="普通货物运输"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -280,7 +300,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="审核状态:" />
|
android:text="审核状态:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_status"
|
android:id="@+id/tv_status"
|
||||||
@@ -288,7 +309,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="已通过" />
|
tools:text="已通过"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/apk/res/android">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<data>
|
<data>
|
||||||
<variable
|
<variable
|
||||||
@@ -21,9 +21,9 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
android:paddingHorizontal="10dp">
|
android:paddingHorizontal="10dp">
|
||||||
@@ -32,13 +32,14 @@
|
|||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
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"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 第一行数据:运单号、件数、重量、代理人、入库时间 -->
|
<!-- 第一行数据:运单号、件数、重量、代理人、入库时间 -->
|
||||||
@@ -58,7 +59,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="运单号:"
|
android:text="运单号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -66,7 +68,8 @@
|
|||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="78109081212" />
|
tools:text="78109081212"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -82,14 +85,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="件数:"
|
android:text="件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{String.valueOf(bean.pc)}'
|
android:text='@{String.valueOf(bean.pc)}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="10" />
|
tools:text="10"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -105,14 +110,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{3}"
|
completeSpace="@{3}"
|
||||||
android:text="重量:"
|
android:text="重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{String.valueOf(bean.weight)}'
|
android:text='@{String.valueOf(bean.weight)}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="200" />
|
tools:text="200"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -128,14 +135,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="代理人:"
|
android:text="代理人:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{bean.agentName ?? bean.agentCode}'
|
android:text='@{bean.agentName ?? bean.agentCode}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="SF" />
|
tools:text="SF"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -151,14 +160,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="入库时间:"
|
android:text="入库时间:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{bean.opDate ?? ""}'
|
android:text='@{bean.opDate ?? ""}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="2024-05-13 17:10:22" />
|
tools:text="2024-05-13 17:10:22"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -182,14 +193,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="航班:"
|
android:text="航班:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.flight}"
|
android:text="@{bean.flight}"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="20240513/MU2026" />
|
tools:text="20240513/MU2026"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -205,14 +218,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="目的港:"
|
android:text="目的港:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.dest}"
|
android:text="@{bean.dest}"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="PEK" />
|
tools:text="PEK"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -228,14 +243,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{3}"
|
completeSpace="@{3}"
|
||||||
android:text="特码:"
|
android:text="特码:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.spCode}"
|
android:text="@{bean.spCode}"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="NOR" />
|
tools:text="NOR"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -251,14 +268,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="运单类型:"
|
android:text="运单类型:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{bean.awbName ?? bean.awbType}'
|
android:text='@{bean.awbName ?? bean.awbType}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="国际出港(直航)" />
|
tools:text="国际出港(直航)"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -274,14 +293,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="离港时间:"
|
android:text="离港时间:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{bean.fclose ?? ""}'
|
android:text='@{bean.fclose ?? ""}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="2024-05-13 17:10:22" />
|
tools:text="2024-05-13 17:10:22"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{String.valueOf(position + 1)}"
|
android:text="@{String.valueOf(position + 1)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 库位号 -->
|
<!-- 库位号 -->
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
android:layout_weight="1.5"
|
android:layout_weight="1.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.location ?? `--`}"
|
android:text="@{bean.location ?? `--`}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 入库人 -->
|
<!-- 入库人 -->
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.inOpId ?? `--`}"
|
android:text="@{bean.inOpId ?? `--`}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 入库时间 -->
|
<!-- 入库时间 -->
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
android:layout_weight="1.5"
|
android:layout_weight="1.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.inDate != null && String.valueOf(bean.inDate).length() >= 16 ? String.valueOf(bean.inDate).substring(0, 16) : (bean.inDate != null && String.valueOf(bean.inDate).length() > 0 ? String.valueOf(bean.inDate) : `--`)}"
|
android:text="@{bean.inDate != null && String.valueOf(bean.inDate).length() >= 16 ? String.valueOf(bean.inDate).substring(0, 16) : (bean.inDate != null && String.valueOf(bean.inDate).length() > 0 ? String.valueOf(bean.inDate) : `--`)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 出库人 -->
|
<!-- 出库人 -->
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.outOpId ?? `--`}"
|
android:text="@{bean.outOpId ?? `--`}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 出库时间 -->
|
<!-- 出库时间 -->
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
android:layout_weight="1.5"
|
android:layout_weight="1.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.outDate != null && String.valueOf(bean.outDate).length() >= 16 ? String.valueOf(bean.outDate).substring(0, 16) : (bean.outDate != null && String.valueOf(bean.outDate).length() > 0 ? String.valueOf(bean.outDate) : `--`)}"
|
android:text="@{bean.outDate != null && String.valueOf(bean.outDate).length() >= 16 ? String.valueOf(bean.outDate).substring(0, 16) : (bean.outDate != null && String.valueOf(bean.outDate).length() > 0 ? String.valueOf(bean.outDate) : `--`)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/line" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{String.valueOf(position + 1)}"
|
android:text="@{String.valueOf(position + 1)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 集装器 -->
|
<!-- 集装器 -->
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
android:layout_weight="1.2"
|
android:layout_weight="1.2"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.location}"
|
android:text="@{bean.location}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 件数 -->
|
<!-- 件数 -->
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
android:layout_weight="0.8"
|
android:layout_weight="0.8"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{String.valueOf(bean.pc)}"
|
android:text="@{String.valueOf(bean.pc)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 重量 -->
|
<!-- 重量 -->
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
android:layout_weight="0.8"
|
android:layout_weight="0.8"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{String.valueOf(bean.weight)}"
|
android:text="@{String.valueOf(bean.weight)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 航班日期 -->
|
<!-- 航班日期 -->
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.fdate}"
|
android:text="@{bean.fdate}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 航班号 -->
|
<!-- 航班号 -->
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.fno}"
|
android:text="@{bean.fno}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 航程 -->
|
<!-- 航程 -->
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
android:layout_weight="0.8"
|
android:layout_weight="0.8"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.range}"
|
android:text="@{bean.range}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 分批 -->
|
<!-- 分批 -->
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
android:layout_weight="0.8"
|
android:layout_weight="0.8"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{`1`}"
|
android:text="@{`1`}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/line" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -19,9 +19,9 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:background="@{bean.checkIn.equals(`2`) ? @drawable/bg_item_green : @drawable/bg_item}"
|
android:background="@{bean.checkIn.equals(`2`) ? @drawable/bg_item_green : @drawable/bg_white_radius_8}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
android:paddingHorizontal="10dp">
|
android:paddingHorizontal="10dp">
|
||||||
@@ -32,12 +32,13 @@
|
|||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -58,7 +59,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="运单号:" />
|
android:text="运单号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -66,7 +68,8 @@
|
|||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
tools:text="78109081212" />
|
tools:text="78109081212"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -82,7 +85,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="代理人:" />
|
android:text="代理人:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -92,7 +96,8 @@
|
|||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:text='@{bean.agentName}'
|
android:text='@{bean.agentName}'
|
||||||
tools:text="SF" />
|
tools:text="SF"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -108,14 +113,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="特码:" />
|
android:text="特码:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.spCode}"
|
android:text="@{bean.spCode}"
|
||||||
tools:text="NOR" />
|
tools:text="NOR"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -131,14 +138,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="预配件数:" />
|
android:text="预配件数:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{String.valueOf(bean.pc)}'
|
android:text='@{String.valueOf(bean.pc)}'
|
||||||
tools:text="11" />
|
tools:text="11"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -154,14 +163,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="预配重量:" />
|
android:text="预配重量:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{String.valueOf(bean.weight)}'
|
android:text='@{String.valueOf(bean.weight)}'
|
||||||
tools:text="12" />
|
tools:text="12"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -185,14 +196,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="计划航班:" />
|
android:text="计划航班:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.flight}"
|
android:text="@{bean.flight}"
|
||||||
tools:text="20240216/MU2026" />
|
tools:text="20240216/MU2026"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -208,14 +221,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="航程:" />
|
android:text="航程:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.range}'
|
android:text='@{bean.range}'
|
||||||
tools:text="HFE - PEK" />
|
tools:text="HFE - PEK"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -231,14 +246,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="预计起飞:" />
|
android:text="预计起飞:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.scheduledTackOffHM}"
|
android:text="@{bean.scheduledTackOffHM}"
|
||||||
tools:text="09:12" />
|
tools:text="09:12"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvDayPlus"
|
android:id="@+id/tvDayPlus"
|
||||||
@@ -247,7 +264,8 @@
|
|||||||
android:layout_marginStart="4dp"
|
android:layout_marginStart="4dp"
|
||||||
android:text="+1"
|
android:text="+1"
|
||||||
android:textColor="@color/text_red"
|
android:textColor="@color/text_red"
|
||||||
android:visibility="@{bean.verifyScheduledTackOffNextDay() ? View.VISIBLE : View.GONE}" />
|
android:visibility="@{bean.verifyScheduledTackOffNextDay() ? View.VISIBLE : View.GONE}"
|
||||||
|
android:textSize="15sp" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -263,14 +281,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="业务类型:" />
|
android:text="业务类型:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.businessName}'
|
android:text='@{bean.businessName}'
|
||||||
tools:text="普通货物运输" />
|
tools:text="普通货物运输"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -286,7 +306,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="品名(中):" />
|
android:text="品名(中):"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -296,7 +317,8 @@
|
|||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text='@{bean.goodsCn}'
|
android:text='@{bean.goodsCn}'
|
||||||
tools:text="电子元器件" />
|
tools:text="电子元器件"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
android:paddingHorizontal="10dp">
|
android:paddingHorizontal="10dp">
|
||||||
@@ -26,12 +26,13 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -52,7 +53,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单号:"
|
android:text="运单号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -60,7 +62,8 @@
|
|||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="78109081212" />
|
tools:text="78109081212"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -76,14 +79,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="预配件数:"
|
android:text="预配件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{String.valueOf(bean.pc)}'
|
android:text='@{String.valueOf(bean.pc)}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="10" />
|
tools:text="10"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -99,14 +104,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="预配重量:"
|
android:text="预配重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{String.valueOf((int)bean.weight)}'
|
android:text='@{String.valueOf((int)bean.weight)}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="100" />
|
tools:text="100"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -122,14 +129,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="入库件数:"
|
android:text="入库件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{String.valueOf(bean.checkInPc)}'
|
android:text='@{String.valueOf(bean.checkInPc)}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="11" />
|
tools:text="11"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -145,14 +154,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="入库重量:"
|
android:text="入库重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{String.valueOf(bean.checkInWeight)}'
|
android:text='@{String.valueOf(bean.checkInWeight)}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="12" />
|
tools:text="12"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -176,14 +187,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="代理人:"
|
android:text="代理人:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{bean.agentName}'
|
android:text='@{bean.agentName}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="顺丰" />
|
tools:text="顺丰"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -199,14 +212,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="特码:"
|
android:text="特码:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{bean.spCode}'
|
android:text='@{bean.spCode}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="NOR" />
|
tools:text="NOR"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -222,14 +237,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="收运人:"
|
android:text="收运人:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{bean.userName}'
|
android:text='@{bean.userName}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="张三" />
|
tools:text="张三"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -245,14 +262,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="入库时间:"
|
android:text="入库时间:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text='@{bean.opDate}'
|
android:text='@{bean.opDate}'
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="2024-02-16 09:12" />
|
tools:text="2024-02-16 09:12"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.uld}"
|
android:text="@{bean.uld}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:src="@drawable/img_plane"
|
android:src="@drawable/img_plane"
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}" />
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<!-- 数据信息区域 -->
|
<!-- 数据信息区域 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -108,7 +109,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.loadStatus}"
|
android:text="@{bean.loadStatus}"
|
||||||
android:textColor="@{`01`.equals(bean.loadStatus) ? @color/text_green : (`W`.equals(bean.loadStatus) ? @color/text_blue : @color/text_normal)}"
|
android:textColor="@{`01`.equals(bean.loadStatus) ? @color/text_green : (`W`.equals(bean.loadStatus) ? @color/text_blue : @color/text_normal)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,8 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<!-- 运单信息区域 -->
|
<!-- 运单信息区域 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -75,14 +76,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="运单号:" />
|
android:text="运单号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary" />
|
android:textColor="@color/colorPrimary"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -99,13 +102,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{3}"
|
completeSpace="@{3}"
|
||||||
android:text="件数:" />
|
android:text="件数:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf(bean.pc)}" />
|
android:text="@{String.valueOf(bean.pc)}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -122,13 +127,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="重量:" />
|
android:text="重量:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf((int)bean.weight)}" />
|
android:text="@{String.valueOf((int)bean.weight)}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -145,13 +152,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="承运人:" />
|
android:text="承运人:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.by1}" />
|
android:text="@{bean.by1}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -168,7 +177,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="运单类型:" />
|
android:text="运单类型:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -177,7 +187,8 @@
|
|||||||
android:text="@{bean.awbTypeName}"
|
android:text="@{bean.awbTypeName}"
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:ellipsize="end" />
|
android:ellipsize="end"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -204,7 +215,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="出运路径:" />
|
android:text="出运路径:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -213,7 +225,8 @@
|
|||||||
android:text='@{bean.range}'
|
android:text='@{bean.range}'
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:ellipsize="end" />
|
android:ellipsize="end"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -230,13 +243,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{3}"
|
completeSpace="@{3}"
|
||||||
android:text="特码:" />
|
android:text="特码:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.spCode}" />
|
android:text="@{bean.spCode}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -253,7 +268,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="代理人:" />
|
android:text="代理人:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -262,7 +278,8 @@
|
|||||||
android:text="@{bean.agentCode}"
|
android:text="@{bean.agentCode}"
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:ellipsize="end" />
|
android:ellipsize="end"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -279,13 +296,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="移交状态:" />
|
android:text="移交状态:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="14sp"
|
||||||
android:text="@{bean.moveState == 1 ? `已移交` : `未移交`}" />
|
android:text="@{bean.moveState == 1 ? `已移交` : `未移交`}"
|
||||||
|
android:textColor="@{bean.moveState == 1 ? @color/text_green : @color/text_gray}" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -302,7 +321,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="品名:" />
|
android:text="品名:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -311,7 +331,8 @@
|
|||||||
android:text="@{bean.goodsCn.isEmpty() ? bean.goods : bean.goodsCn}"
|
android:text="@{bean.goodsCn.isEmpty() ? bean.goods : bean.goodsCn}"
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:ellipsize="end" />
|
android:ellipsize="end"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,8 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<!-- ULD信息区域 -->
|
<!-- ULD信息区域 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -63,13 +64,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="ULD编码:"
|
android:text="ULD编码:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.uld}"
|
android:text="@{bean.uld}"
|
||||||
android:textSize="15sp"/>
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/colorPrimary"
|
||||||
|
android:textStyle="bold"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -86,13 +90,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="架子车号:"
|
android:text="架子车号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.carId}"
|
android:text="@{bean.carId}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -109,13 +115,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="装机重:"
|
android:text="装机重:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.netWeight)}"
|
android:text="@{String.valueOf((int)bean.netWeight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -132,13 +140,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="板型:"
|
android:text="板型:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.boardType}"
|
android:text="@{bean.boardType}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -155,13 +165,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="航班信息:"
|
android:text="航班信息:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.flight}"
|
android:text="@{bean.flight}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -178,14 +190,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="装机状态:"
|
android:text="装机状态:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.allowLoadText}"
|
android:text="@{bean.allowLoadText}"
|
||||||
android:textColor="@{bean.isAllowLoad() ? @color/text_green : @color/text_red}"
|
android:textColor="@{bean.isAllowLoad() ? @color/text_green : @color/text_red}"
|
||||||
android:textSize="15sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -212,13 +225,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="目的港:"
|
android:text="目的港:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.fdest}"
|
android:text="@{bean.fdest}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -235,13 +250,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="库位号:"
|
android:text="库位号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.transArea}"
|
android:text="@{bean.transArea}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -258,7 +275,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="IMP代码:"
|
android:text="IMP代码:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -282,13 +300,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="交接人:"
|
android:text="交接人:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.hoUserName}"
|
android:text="@{bean.hoUserName}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -305,13 +325,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="交接时间:"
|
android:text="交接时间:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.hoDate}"
|
android:text="@{bean.hoDate}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,6 @@
|
|||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_marginTop="0.5px"
|
android:layout_marginTop="0.5px"
|
||||||
android:layout_marginEnd="10dp"
|
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane" />
|
||||||
|
|
||||||
@@ -55,7 +54,8 @@
|
|||||||
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"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical"
|
||||||
|
android:layout_marginLeft="15dp">
|
||||||
|
|
||||||
<!-- 第一行:运单号、航班信息、航程、品名、重量 -->
|
<!-- 第一行:运单号、航班信息、航程、品名、重量 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -75,14 +75,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单号:"
|
android:text="运单号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -98,13 +100,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="航班信息:"
|
android:text="航班信息:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.flightInfo}"
|
android:text="@{bean.flightInfo}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -120,13 +124,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="航程:"
|
android:text="航程:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.range}"
|
android:text="@{bean.range}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -142,7 +148,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="品名(英):"
|
android:text="品名(英):"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -150,7 +157,8 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{bean.goods}"
|
android:text="@{bean.goods}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -166,13 +174,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="重量:"
|
android:text="重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.weight)}"
|
android:text="@{String.valueOf((int)bean.weight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -197,13 +207,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="代理人:"
|
android:text="代理人:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.agentCode}"
|
android:text="@{bean.agentCode}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -219,13 +231,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="件数:"
|
android:text="件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.pc)}"
|
android:text="@{String.valueOf(bean.pc)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -241,7 +255,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="清仓正常:"
|
android:text="清仓正常:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -268,13 +283,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="入库时间:"
|
android:text="入库时间:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.opDate}"
|
android:text="@{bean.opDate}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -290,13 +307,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="库位数:"
|
android:text="库位数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.storageUseNumber)}"
|
android:text="@{String.valueOf(bean.storageUseNumber)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -314,14 +333,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="备注:"
|
android:text="备注:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
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"
|
||||||
android:text="@{bean.clearRemark}"
|
android:text="@{bean.clearRemark}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -18,9 +18,9 @@
|
|||||||
<!-- 主要内容区域 -->
|
<!-- 主要内容区域 -->
|
||||||
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" android:orientation="horizontal" android:paddingVertical="20dp" android:paddingHorizontal="10dp">
|
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" android:orientation="horizontal" android:paddingVertical="20dp" android:paddingHorizontal="10dp">
|
||||||
<!-- 选中图标 -->
|
<!-- 选中图标 -->
|
||||||
<ImageView android:id="@+id/iv_icon" android:layout_width="40dp" android:layout_height="40dp" android:layout_marginTop="0.5px" android:layout_marginEnd="10dp" loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}" android:src="@drawable/img_plane"/>
|
<ImageView android:id="@+id/iv_icon" android:layout_width="40dp" android:layout_height="40dp" android:layout_marginTop="0.5px" loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}" android:src="@drawable/img_plane"/>
|
||||||
<!-- 数据展示区域 -->
|
<!-- 数据展示区域 -->
|
||||||
<LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical">
|
<LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" android:layout_marginLeft="15dp">
|
||||||
<!-- 第一行:运单号、状态、代理、件数、重量 -->
|
<!-- 第一行:运单号、状态、代理、件数、重量 -->
|
||||||
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal">
|
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal">
|
||||||
<!-- 运单号 (weight=1.5) -->
|
<!-- 运单号 (weight=1.5) -->
|
||||||
|
|||||||
@@ -56,15 +56,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 特码 -->
|
<!-- 特码(下拉选择,数据来源与国际出港待记重页面一致) -->
|
||||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="10dp"
|
android:layout_marginBottom="10dp"
|
||||||
hint='@{"请输入特码"}'
|
hint='@{"请选择特码"}'
|
||||||
|
list="@{viewModel.spCodeList}"
|
||||||
title='@{"特码"}'
|
title='@{"特码"}'
|
||||||
titleLength="@{4}"
|
titleLength="@{4}"
|
||||||
type="@{DataLayoutType.INPUT}"
|
type="@{DataLayoutType.SPINNER}"
|
||||||
value='@={viewModel.spCode}' />
|
value='@={viewModel.spCode}' />
|
||||||
|
|
||||||
<!-- 目的港 -->
|
<!-- 目的港 -->
|
||||||
|
|||||||
@@ -68,8 +68,11 @@ class IntImpLoadingListActivity :
|
|||||||
viewModel.onFlightNoInputComplete()
|
viewModel.onFlightNoInputComplete()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 初始加载数据
|
// 列表/汇总接口必须带航班(fid),仅在父页面已选航班并传入 fid 时才初始加载;
|
||||||
viewModel.refresh()
|
// 否则等用户输入航班号后手动查询,避免后端返回「请先选择航班」
|
||||||
|
if (viewModel.fid.isNotEmpty()) {
|
||||||
|
viewModel.refresh()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ package com.lukouguoji.gjj.viewModel
|
|||||||
|
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import androidx.lifecycle.MediatorLiveData
|
|
||||||
import androidx.lifecycle.MutableLiveData
|
import androidx.lifecycle.MutableLiveData
|
||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import androidx.recyclerview.widget.RecyclerView
|
import androidx.recyclerview.widget.RecyclerView
|
||||||
@@ -103,10 +102,12 @@ class GjjManifestAddViewModel : BaseViewModel(), IOnItemClickListener {
|
|||||||
fid = flight.fid.noNull()
|
fid = flight.fid.noNull()
|
||||||
departure.value = flight.fdep.noNull()
|
departure.value = flight.fdep.noNull()
|
||||||
destination.value = flight.fdest.noNull()
|
destination.value = flight.fdest.noNull()
|
||||||
|
range.value = flight.getHangCheng()
|
||||||
} else {
|
} else {
|
||||||
fid = ""
|
fid = ""
|
||||||
departure.value = ""
|
departure.value = ""
|
||||||
destination.value = ""
|
destination.value = ""
|
||||||
|
range.value = ""
|
||||||
showToast(it.msg.noNull("获取航班信息失败"))
|
showToast(it.msg.noNull("获取航班信息失败"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -114,6 +115,7 @@ class GjjManifestAddViewModel : BaseViewModel(), IOnItemClickListener {
|
|||||||
fid = ""
|
fid = ""
|
||||||
departure.value = ""
|
departure.value = ""
|
||||||
destination.value = ""
|
destination.value = ""
|
||||||
|
range.value = ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -142,15 +144,15 @@ class GjjManifestAddViewModel : BaseViewModel(), IOnItemClickListener {
|
|||||||
// 目的港
|
// 目的港
|
||||||
val destination = MutableLiveData("")
|
val destination = MutableLiveData("")
|
||||||
|
|
||||||
// 航程(自动拼接:始发站-目的站)
|
// 航程(航班起始站-航班目的站,仅随航班信息变化,不随用户修改始发站/目的站联动)
|
||||||
val range = MediatorLiveData<String>().apply {
|
val range = MutableLiveData("")
|
||||||
val update = {
|
|
||||||
val dep = departure.value ?: ""
|
/**
|
||||||
val dest = destination.value ?: ""
|
* 按航班起始站/目的站拼接航程,起始站为空时返回空
|
||||||
value = if (dep.isNotEmpty() || dest.isNotEmpty()) "$dep-$dest" else ""
|
*/
|
||||||
}
|
private fun buildRange(fdep: String?, fdest: String?): String {
|
||||||
addSource(departure) { update() }
|
if (fdep.isNullOrEmpty()) return ""
|
||||||
addSource(destination) { update() }
|
return "$fdep-${fdest ?: ""}"
|
||||||
}
|
}
|
||||||
|
|
||||||
// 品名(中)
|
// 品名(中)
|
||||||
@@ -204,6 +206,8 @@ class GjjManifestAddViewModel : BaseViewModel(), IOnItemClickListener {
|
|||||||
fid = intent.getStringExtra(Constant.Key.ID).noNull()
|
fid = intent.getStringExtra(Constant.Key.ID).noNull()
|
||||||
departure.value = intent.getStringExtra(Constant.Key.DEPARTURE).noNull()
|
departure.value = intent.getStringExtra(Constant.Key.DEPARTURE).noNull()
|
||||||
destination.value = intent.getStringExtra(Constant.Key.DESTINATION).noNull()
|
destination.value = intent.getStringExtra(Constant.Key.DESTINATION).noNull()
|
||||||
|
// 列表页传入的是航班的始发站/目的站,用于初始化航程
|
||||||
|
range.value = buildRange(departure.value, destination.value)
|
||||||
|
|
||||||
// 回填航班日期和航班号(从列表页传入)
|
// 回填航班日期和航班号(从列表页传入)
|
||||||
val passedFlightDate = intent.getStringExtra("flightDate").noNull()
|
val passedFlightDate = intent.getStringExtra("flightDate").noNull()
|
||||||
@@ -317,6 +321,7 @@ class GjjManifestAddViewModel : BaseViewModel(), IOnItemClickListener {
|
|||||||
billingWeight.value = manifest.cashWeight.toString()
|
billingWeight.value = manifest.cashWeight.toString()
|
||||||
departure.value = manifest.origin
|
departure.value = manifest.origin
|
||||||
destination.value = manifest.dest
|
destination.value = manifest.dest
|
||||||
|
range.value = buildRange(manifest.fdep, manifest.fdest)
|
||||||
goodsNameCn.value = manifest.goodsCn
|
goodsNameCn.value = manifest.goodsCn
|
||||||
goodsNameEn.value = manifest.goods
|
goodsNameEn.value = manifest.goods
|
||||||
unNumber.value = manifest.unNumber
|
unNumber.value = manifest.unNumber
|
||||||
@@ -362,6 +367,7 @@ class GjjManifestAddViewModel : BaseViewModel(), IOnItemClickListener {
|
|||||||
actualWeight.value = manifest.weight.toString()
|
actualWeight.value = manifest.weight.toString()
|
||||||
departure.value = manifest.origin
|
departure.value = manifest.origin
|
||||||
destination.value = manifest.dest
|
destination.value = manifest.dest
|
||||||
|
range.value = buildRange(manifest.fdep, manifest.fdest)
|
||||||
goodsNameCn.value = manifest.goodsCn
|
goodsNameCn.value = manifest.goodsCn
|
||||||
goodsNameEn.value = manifest.goods
|
goodsNameEn.value = manifest.goods
|
||||||
unNumber.value = manifest.unNumber
|
unNumber.value = manifest.unNumber
|
||||||
|
|||||||
@@ -63,8 +63,13 @@ class IntArrAirManifestViewModel : BasePageViewModel() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 搜索按钮点击
|
* 搜索按钮点击
|
||||||
|
* 航班号必填,校验通过后再请求列表与汇总(与国际进港舱单页面交互一致)
|
||||||
*/
|
*/
|
||||||
fun searchClick() {
|
fun searchClick() {
|
||||||
|
if (flightNo.value.isNullOrEmpty()) {
|
||||||
|
showToast("请输入航班号")
|
||||||
|
return
|
||||||
|
}
|
||||||
refresh()
|
refresh()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -139,6 +139,13 @@ class IntImpLoadingListViewModel : BasePageViewModel(), IOnItemClickListener {
|
|||||||
fun searchClick() {
|
fun searchClick() {
|
||||||
val fdate = flightDate.value
|
val fdate = flightDate.value
|
||||||
val fno = flightNo.value
|
val fno = flightNo.value
|
||||||
|
|
||||||
|
// 校验航班号必填(与国际进港舱单页面交互一致)
|
||||||
|
if (fno.isNullOrEmpty()) {
|
||||||
|
showToast("请输入航班号")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (!fdate.isNullOrEmpty() && !fno.isNullOrEmpty()) {
|
if (!fdate.isNullOrEmpty() && !fno.isNullOrEmpty()) {
|
||||||
val key = "$fdate-$fno"
|
val key = "$fdate-$fno"
|
||||||
if (key != lastQueriedFlight || fid.isEmpty()) {
|
if (key != lastQueriedFlight || fid.isEmpty()) {
|
||||||
@@ -299,6 +306,12 @@ class IntImpLoadingListViewModel : BasePageViewModel(), IOnItemClickListener {
|
|||||||
* 查询参数与父页面(国际进港舱单)保持一致:使用FID和FDGP
|
* 查询参数与父页面(国际进港舱单)保持一致:使用FID和FDGP
|
||||||
*/
|
*/
|
||||||
override fun getData() {
|
override fun getData() {
|
||||||
|
// 接口必须带航班(fid),未选航班时不请求,直接清空列表与汇总
|
||||||
|
if (fid.isEmpty()) {
|
||||||
|
clearListAndTotal()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// 构建搜索条件(与父页面一致:fid + fdep + wbNo)
|
// 构建搜索条件(与父页面一致:fid + fdep + wbNo)
|
||||||
val filterParams = mapOf(
|
val filterParams = mapOf(
|
||||||
"fid" to fid.ifEmpty { null },
|
"fid" to fid.ifEmpty { null },
|
||||||
@@ -332,4 +345,16 @@ class IntImpLoadingListViewModel : BasePageViewModel(), IOnItemClickListener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 无航班信息时清空列表与底部汇总,并结束刷新状态
|
||||||
|
*/
|
||||||
|
private fun clearListAndTotal() {
|
||||||
|
pageModel.handleDataList(emptyList())
|
||||||
|
pageModel.haveMore.postValue(false)
|
||||||
|
totalCount.value = "0"
|
||||||
|
totalPc.value = "0"
|
||||||
|
totalWeight.value = "0"
|
||||||
|
isAllChecked.value = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -586,6 +586,13 @@ class IntImpManifestViewModel : BasePageViewModel() {
|
|||||||
* 通过FID查询列表,而不是直接通过航班号和航班日期
|
* 通过FID查询列表,而不是直接通过航班号和航班日期
|
||||||
*/
|
*/
|
||||||
override fun getData() {
|
override fun getData() {
|
||||||
|
// 接口必须带航班(fid),未选航班时不请求,直接清空列表与汇总
|
||||||
|
// (如子页面装机单修改成功后广播 EVENT_REFRESH,本页尚未查航班也会被触发刷新)
|
||||||
|
if (fid.isEmpty()) {
|
||||||
|
clearListAndTotal()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// 构建搜索条件(使用FID代替fdate/fno)
|
// 构建搜索条件(使用FID代替fdate/fno)
|
||||||
val filterParams = mapOf(
|
val filterParams = mapOf(
|
||||||
"fid" to fid.ifEmpty { null },
|
"fid" to fid.ifEmpty { null },
|
||||||
@@ -620,6 +627,18 @@ class IntImpManifestViewModel : BasePageViewModel() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 无航班信息时清空列表与底部汇总,并结束刷新状态
|
||||||
|
*/
|
||||||
|
private fun clearListAndTotal() {
|
||||||
|
pageModel.handleDataList(emptyList())
|
||||||
|
pageModel.haveMore.postValue(false)
|
||||||
|
totalCount.value = "0"
|
||||||
|
totalPc.value = "0"
|
||||||
|
totalWeight.value = "0"
|
||||||
|
isAllChecked.value = false
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 加载主单下的分单列表(按需加载,加载完成后自动展开)
|
* 加载主单下的分单列表(按需加载,加载完成后自动展开)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 侧滑布局:白色卡片(含展开按钮)+ 侧滑菜单 -->
|
<!-- 侧滑布局:白色卡片(含展开按钮)+ 侧滑菜单 -->
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
<androidx.appcompat.widget.LinearLayoutCompat
|
<androidx.appcompat.widget.LinearLayoutCompat
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 主内容行 -->
|
<!-- 主内容行 -->
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -84,7 +84,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="运单号:" />
|
android:text="运单号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -108,12 +109,13 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="状态:" />
|
android:text="状态:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="14sp"
|
||||||
android:text="@{manifest.mftStatus ?? ``}"
|
android:text="@{manifest.mftStatus ?? ``}"
|
||||||
android:textColor="@{`01`.equals(manifest.mftStatus) ? @color/text_green : (`W`.equals(manifest.mftStatus) ? @color/text_blue : @color/text_normal)}" />
|
android:textColor="@{`01`.equals(manifest.mftStatus) ? @color/text_green : (`W`.equals(manifest.mftStatus) ? @color/text_blue : @color/text_normal)}" />
|
||||||
|
|
||||||
@@ -131,13 +133,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="代理:" />
|
android:text="代理:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{manifest.agentCode ?? ``}" />
|
android:text="@{manifest.agentCode ?? ``}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -153,13 +157,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="件数:" />
|
android:text="件数:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf((int)manifest.pc)}" />
|
android:text="@{String.valueOf((int)manifest.pc)}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -175,13 +181,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="重量:" />
|
android:text="重量:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf((int)manifest.weight)}" />
|
android:text="@{String.valueOf((int)manifest.weight)}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -205,13 +213,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="航班信息:" />
|
android:text="航班信息:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{manifest.getFlightSplit()}" />
|
android:text="@{manifest.getFlightSplit()}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -227,13 +237,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="始发站:" />
|
android:text="始发站:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{manifest.fdep ?? ``}" />
|
android:text="@{manifest.fdep ?? ``}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -249,13 +261,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="目的站:" />
|
android:text="目的站:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{manifest.fdest ?? ``}" />
|
android:text="@{manifest.fdest ?? ``}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -271,13 +285,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="运单类型:" />
|
android:text="运单类型:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{manifest.awbTypeName ?? ``}" />
|
android:text="@{manifest.awbTypeName ?? ``}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -293,13 +309,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="分单数:" />
|
android:text="分单数:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf(manifest.haWbNum)}" />
|
android:text="@{String.valueOf(manifest.haWbNum)}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -351,8 +369,8 @@
|
|||||||
visible="@{bean.showMore}"
|
visible="@{bean.showMore}"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:background="#e3f6e0"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:visibility="gone">
|
android:visibility="gone">
|
||||||
|
|
||||||
@@ -373,9 +391,10 @@
|
|||||||
android:id="@+id/ll_header"
|
android:id="@+id/ll_header"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginVertical="10dp"
|
android:background="@drawable/bg_arrive_sub_header"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingHorizontal="10dp">
|
android:paddingHorizontal="10dp"
|
||||||
|
android:paddingVertical="10dp">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
|||||||
@@ -76,8 +76,8 @@
|
|||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.mftStatus ?? ``}"
|
android:text="@{bean.mftStatus ?? ``}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@{`01`.equals(bean.mftStatus) ? @color/text_green : (`W`.equals(bean.mftStatus) ? @color/colorPrimary : @color/text_gray)}"
|
||||||
android:textSize="14sp" />
|
android:textSize="13sp" />
|
||||||
|
|
||||||
<!-- 品名(中) -->
|
<!-- 品名(中) -->
|
||||||
<TextView
|
<TextView
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="5dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 侧滑布局 -->
|
<!-- 侧滑布局 -->
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
@@ -43,13 +43,14 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:src="@drawable/img_plane"
|
android:src="@drawable/img_plane"
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}" />
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<!-- 中间内容区 -->
|
<!-- 中间内容区 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -71,13 +72,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="航班日期:"
|
android:text="航班日期:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}" />
|
completeSpace="@{5}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.fdate}"
|
android:text="@{bean.fdate}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -93,13 +96,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="始发站:"
|
android:text="始发站:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}" />
|
completeSpace="@{4}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.dep}"
|
android:text="@{bean.dep}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -115,13 +120,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单总件数:"
|
android:text="运单总件数:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{6}" />
|
completeSpace="@{6}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.pc)}"
|
android:text="@{String.valueOf(bean.pc)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -137,13 +144,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="不正常件数:"
|
android:text="不正常件数:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{6}" />
|
completeSpace="@{6}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.dpc)}"
|
android:text="@{String.valueOf(bean.dpc)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -159,14 +168,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单号:"
|
android:text="运单号:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}" />
|
completeSpace="@{5}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -191,13 +202,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="航班号:"
|
android:text="航班号:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}" />
|
completeSpace="@{5}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.fno}"
|
android:text="@{bean.fno}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -213,13 +226,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="目的站:"
|
android:text="目的站:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}" />
|
completeSpace="@{4}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.dest}"
|
android:text="@{bean.dest}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -235,13 +250,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单总重量:"
|
android:text="运单总重量:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{6}" />
|
completeSpace="@{6}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.weight)}"
|
android:text="@{String.valueOf(bean.weight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -257,13 +274,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="经办人:"
|
android:text="经办人:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{6}" />
|
completeSpace="@{6}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.opId}"
|
android:text="@{bean.opId}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -279,13 +298,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="经办时间:"
|
android:text="经办时间:"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}" />
|
completeSpace="@{5}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.opdate}"
|
android:text="@{bean.opdate}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -81,7 +81,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单号:"
|
android:text="运单号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -105,13 +106,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="始发站:"
|
android:text="始发站:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.origin}"
|
android:text="@{bean.origin}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -127,13 +130,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="目的站:"
|
android:text="目的站:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.dest}"
|
android:text="@{bean.dest}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -149,13 +154,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="总件数:"
|
android:text="总件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.totalPc)}"
|
android:text="@{String.valueOf(bean.totalPc)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -171,13 +178,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="实到件数:"
|
android:text="实到件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.pc)}"
|
android:text="@{String.valueOf(bean.pc)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -201,13 +210,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="实到重量:"
|
android:text="实到重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.weight)}"
|
android:text="@{String.valueOf((int)bean.weight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -223,13 +234,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="计费重量:"
|
android:text="计费重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.cashWeight)}"
|
android:text="@{String.valueOf((int)bean.cashWeight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -245,13 +258,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="代理:"
|
android:text="代理:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.agentCode}"
|
android:text="@{bean.agentCode}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -267,13 +282,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="特码:"
|
android:text="特码:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.spCode}"
|
android:text="@{bean.spCode}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -289,13 +306,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="分单数:"
|
android:text="分单数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.haWbNum)}"
|
android:text="@{String.valueOf(bean.haWbNum)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -388,7 +407,8 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="选项"
|
android:text="选项"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -397,7 +417,8 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="运单号"
|
android:text="运单号"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -406,7 +427,8 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="分单号"
|
android:text="分单号"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -415,7 +437,8 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="件数"
|
android:text="件数"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -424,7 +447,8 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="重量"
|
android:text="重量"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -433,7 +457,8 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="原始舱单"
|
android:text="原始舱单"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -442,7 +467,8 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="理货报告"
|
android:text="理货报告"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -451,7 +477,8 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="品名(中)"
|
android:text="品名(中)"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,9 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
@@ -31,13 +31,14 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<!-- 数据展示区域 -->
|
<!-- 数据展示区域 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -58,7 +59,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单号:"
|
android:text="运单号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -82,13 +84,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="代理人:"
|
android:text="代理人:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.agentCode}"
|
android:text="@{bean.agentCode}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -104,13 +108,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="航班信息:"
|
android:text="航班信息:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.flightInfo}"
|
android:text="@{bean.flightInfo}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -126,13 +132,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="件数:"
|
android:text="件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.pc)}"
|
android:text="@{String.valueOf(bean.pc)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -148,13 +156,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="重量:"
|
android:text="重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.weight)}"
|
android:text="@{String.valueOf((int)bean.weight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -178,13 +188,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="特码:"
|
android:text="特码:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.spCode}"
|
android:text="@{bean.spCode}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -200,13 +212,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="库位:"
|
android:text="库位:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.locationInStore}"
|
android:text="@{bean.locationInStore}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -222,13 +236,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="办理时间:"
|
android:text="办理时间:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.chargeTime}"
|
android:text="@{bean.chargeTime}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -244,7 +260,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="品名(中):"
|
android:text="品名(中):"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -253,7 +270,8 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{bean.goods}"
|
android:text="@{bean.goods}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 侧滑布局 -->
|
<!-- 侧滑布局 -->
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
@@ -44,13 +44,14 @@
|
|||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<!-- 数据展示区域 -->
|
<!-- 数据展示区域 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -71,14 +72,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单号:"
|
android:text="运单号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -94,13 +97,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="件数:"
|
android:text="件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.pc)}"
|
android:text="@{String.valueOf(bean.pc)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -116,13 +121,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="重量:"
|
android:text="重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.weight)}"
|
android:text="@{String.valueOf((int)bean.weight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -138,13 +145,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="计费重量:"
|
android:text="计费重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.cashWeight)}"
|
android:text="@{String.valueOf((int)bean.cashWeight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -160,13 +169,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="代理:"
|
android:text="代理:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.agentCode}"
|
android:text="@{bean.agentCode}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -190,13 +201,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="特码:"
|
android:text="特码:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.spCode}"
|
android:text="@{bean.spCode}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -212,13 +225,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="服务费:"
|
android:text="服务费:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.optCharge)}"
|
android:text="@{String.valueOf((int)bean.optCharge)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -234,13 +249,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="仓储费:"
|
android:text="仓储费:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.whsCharge)}"
|
android:text="@{String.valueOf((int)bean.whsCharge)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -256,13 +273,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="总金额:"
|
android:text="总金额:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.amount)}"
|
android:text="@{String.valueOf((int)bean.amount)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -278,13 +297,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="提取时间:"
|
android:text="提取时间:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.chargeTime}"
|
android:text="@{bean.chargeTime}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginVertical="5dp"
|
android:layout_marginTop="10dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<!-- 侧滑布局 -->
|
<!-- 侧滑布局 -->
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
android:id="@+id/ll"
|
android:id="@+id/ll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/bg_item"
|
android:background="@drawable/bg_white_radius_8"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingVertical="20dp"
|
android:paddingVertical="20dp"
|
||||||
android:paddingHorizontal="10dp">
|
android:paddingHorizontal="10dp">
|
||||||
@@ -36,12 +36,13 @@
|
|||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane"
|
||||||
|
android:layout_marginTop="0.5px" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -62,7 +63,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="运单号:" />
|
android:text="运单号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -70,7 +72,8 @@
|
|||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
tools:text="78109081212" />
|
tools:text="78109081212"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -86,14 +89,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{3}"
|
completeSpace="@{3}"
|
||||||
android:text="件数:" />
|
android:text="件数:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{String.valueOf(bean.inPc)}'
|
android:text='@{String.valueOf(bean.inPc)}'
|
||||||
tools:text="10" />
|
tools:text="10"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -109,14 +114,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="重量:" />
|
android:text="重量:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{String.valueOf(bean.inWeight)}'
|
android:text='@{String.valueOf(bean.inWeight)}'
|
||||||
tools:text="200" />
|
tools:text="200"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -132,14 +139,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="代理人:" />
|
android:text="代理人:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.agentName}'
|
android:text='@{bean.agentName}'
|
||||||
tools:text="SF" />
|
tools:text="SF"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -155,14 +164,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="航班信息:" />
|
android:text="航班信息:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.flight}'
|
android:text='@{bean.flight}'
|
||||||
tools:text="20240216/MU2026" />
|
tools:text="20240216/MU2026"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -186,14 +197,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="航程:" />
|
android:text="航程:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.range}"
|
android:text="@{bean.range}"
|
||||||
tools:text="LAX-HFE" />
|
tools:text="LAX-HFE"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -209,14 +222,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{3}"
|
completeSpace="@{3}"
|
||||||
android:text="特码:" />
|
android:text="特码:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.spCode}"
|
android:text="@{bean.spCode}"
|
||||||
tools:text="NOR" />
|
tools:text="NOR"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -232,14 +247,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="运单类型:" />
|
android:text="运单类型:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.awbName}'
|
android:text='@{bean.awbName}'
|
||||||
tools:text="国际进港" />
|
tools:text="国际进港"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -255,14 +272,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="入库时间:" />
|
android:text="入库时间:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.inDate}'
|
android:text='@{bean.inDate}'
|
||||||
tools:text="2024-05-13 17:10:22" />
|
tools:text="2024-05-13 17:10:22"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
@@ -278,14 +297,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="出库时间:" />
|
android:text="出库时间:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text='@{bean.dlvTime}'
|
android:text='@{bean.dlvTime}'
|
||||||
tools:text="2024-05-13 17:10:22" />
|
tools:text="2024-05-13 17:10:22"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{String.valueOf(position + 1)}"
|
android:text="@{String.valueOf(position + 1)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 库位号 -->
|
<!-- 库位号 -->
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
android:layout_weight="1.5"
|
android:layout_weight="1.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.location ?? `--`}"
|
android:text="@{bean.location ?? `--`}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 入库人 -->
|
<!-- 入库人 -->
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.inOpName != null ? bean.inOpName : (bean.inOpId ?? `--`)}"
|
android:text="@{bean.inOpName != null ? bean.inOpName : (bean.inOpId ?? `--`)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 入库时间 -->
|
<!-- 入库时间 -->
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
android:layout_weight="1.5"
|
android:layout_weight="1.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.inDate != null && bean.inDate.length() >= 16 ? bean.inDate.substring(0, 16) : (bean.inDate != null && bean.inDate.length() > 0 ? bean.inDate : `--`)}"
|
android:text="@{bean.inDate != null && bean.inDate.length() >= 16 ? bean.inDate.substring(0, 16) : (bean.inDate != null && bean.inDate.length() > 0 ? bean.inDate : `--`)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 出库人 -->
|
<!-- 出库人 -->
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.outOpName != null ? bean.outOpName : (bean.outOpId ?? `--`)}"
|
android:text="@{bean.outOpName != null ? bean.outOpName : (bean.outOpId ?? `--`)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 出库时间 -->
|
<!-- 出库时间 -->
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
android:layout_weight="1.5"
|
android:layout_weight="1.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.outDate != null && bean.outDate.length() >= 16 ? bean.outDate.substring(0, 16) : (bean.outDate ?? ``)}"
|
android:text="@{bean.outDate != null && bean.outDate.length() >= 16 ? bean.outDate.substring(0, 16) : (bean.outDate ?? ``)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/line" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{String.valueOf(position + 1)}"
|
android:text="@{String.valueOf(position + 1)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 件数 -->
|
<!-- 件数 -->
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
android:layout_weight="0.8"
|
android:layout_weight="0.8"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.pc != null ? String.valueOf(bean.pc) : ``}"
|
android:text="@{bean.pc != null ? String.valueOf(bean.pc) : ``}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 重量 -->
|
<!-- 重量 -->
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
android:layout_weight="0.8"
|
android:layout_weight="0.8"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.weight ?? ``}"
|
android:text="@{bean.weight ?? ``}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 航班日期 -->
|
<!-- 航班日期 -->
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.fdate ?? ``}"
|
android:text="@{bean.fdate ?? ``}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 航班号 -->
|
<!-- 航班号 -->
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.fno ?? ``}"
|
android:text="@{bean.fno ?? ``}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 分批 -->
|
<!-- 分批 -->
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
android:layout_weight="0.6"
|
android:layout_weight="0.6"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.splitFlag != null && bean.splitFlag.length() > 0 ? bean.splitFlag : `1`}"
|
android:text="@{bean.splitFlag != null && bean.splitFlag.length() > 0 ? bean.splitFlag : `1`}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<!-- 入库时间(取 opDate) -->
|
<!-- 入库时间(取 opDate) -->
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
android:layout_weight="1.3"
|
android:layout_weight="1.3"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@{bean.opDate != null && bean.opDate.length() >= 16 ? bean.opDate.substring(0, 16) : (bean.opDate ?? ``)}"
|
android:text="@{bean.opDate != null && bean.opDate.length() >= 16 ? bean.opDate.substring(0, 16) : (bean.opDate ?? ``)}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@color/text_normal"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/line" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -47,7 +47,6 @@
|
|||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_marginTop="0.5px"
|
android:layout_marginTop="0.5px"
|
||||||
android:layout_marginEnd="10dp"
|
|
||||||
android:src="@drawable/img_plane" />
|
android:src="@drawable/img_plane" />
|
||||||
|
|
||||||
<!-- 数据展示区域 -->
|
<!-- 数据展示区域 -->
|
||||||
@@ -55,7 +54,8 @@
|
|||||||
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"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical"
|
||||||
|
android:layout_marginLeft="15dp">
|
||||||
|
|
||||||
<!-- 第一行:运单号、航班信息、航程、品名、重量 -->
|
<!-- 第一行:运单号、航班信息、航程、品名、重量 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -75,14 +75,16 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="运单号:"
|
android:text="运单号:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.wbNo}"
|
android:text="@{bean.wbNo}"
|
||||||
android:textColor="@color/colorPrimary"
|
android:textColor="@color/colorPrimary"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -98,13 +100,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="航班信息:"
|
android:text="航班信息:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.flightInfo}"
|
android:text="@{bean.flightInfo}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -120,13 +124,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="航程:"
|
android:text="航程:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.range}"
|
android:text="@{bean.range}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -142,13 +148,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="件数:"
|
android:text="件数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.pcLabel ?? String.valueOf(bean.pc)}"
|
android:text="@{bean.pcLabel ?? String.valueOf(bean.pc)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -164,13 +172,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="重量:"
|
android:text="重量:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf((int)bean.weight)}"
|
android:text="@{String.valueOf((int)bean.weight)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -195,13 +205,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="代理人:"
|
android:text="代理人:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.agentCode}"
|
android:text="@{bean.agentCode}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -217,7 +229,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="品名(英):"
|
android:text="品名(英):"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -225,7 +238,8 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{bean.goods}"
|
android:text="@{bean.goods}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -242,7 +256,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="清仓正常:"
|
android:text="清仓正常:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -269,13 +284,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="入库时间:"
|
android:text="入库时间:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{bean.inDate}"
|
android:text="@{bean.inDate}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -291,13 +308,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="库位数:"
|
android:text="库位数:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@{String.valueOf(bean.storageUseNumber)}"
|
android:text="@{String.valueOf(bean.storageUseNumber)}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -315,14 +334,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="备注:"
|
android:text="备注:"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
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"
|
||||||
android:text="@{bean.clearRemark}"
|
android:text="@{bean.clearRemark}"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -86,14 +86,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="运单号:" />
|
android:text="运单号:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.getWaybillNo()}"
|
android:text="@{bean.getWaybillNo()}"
|
||||||
android:textColor="@color/colorPrimary" />
|
android:textColor="@color/colorPrimary"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -110,7 +112,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="状态:" />
|
android:text="状态:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -138,13 +141,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="代理:" />
|
android:text="代理:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.agentCode}" />
|
android:text="@{bean.agentCode}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -161,13 +166,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="件数:" />
|
android:text="件数:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf(bean.pc)}" />
|
android:text="@{String.valueOf(bean.pc)}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -184,13 +191,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="重量:" />
|
android:text="重量:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf((int)bean.weight)}" />
|
android:text="@{String.valueOf((int)bean.weight)}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -217,13 +226,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="航班信息:" />
|
android:text="航班信息:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.getFlightSplit()}" />
|
android:text="@{bean.getFlightSplit()}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -240,13 +251,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="始发站:" />
|
android:text="始发站:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.origin}" />
|
android:text="@{bean.origin}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -263,13 +276,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="目的站:" />
|
android:text="目的站:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.dest}" />
|
android:text="@{bean.dest}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -286,13 +301,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{5}"
|
completeSpace="@{5}"
|
||||||
android:text="运单类型:" />
|
android:text="运单类型:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{bean.awbTypeName}" />
|
android:text="@{bean.awbTypeName}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -309,13 +326,15 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
completeSpace="@{4}"
|
completeSpace="@{4}"
|
||||||
android:text="分单数:" />
|
android:text="分单数:"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:text="@{String.valueOf(bean.haWbNum)}" />
|
android:text="@{String.valueOf(bean.haWbNum)}"
|
||||||
|
android:textColor="@color/text_normal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -329,7 +348,8 @@
|
|||||||
android:layout_width="30dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="30dp"
|
android:layout_height="30dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:src="@drawable/img_pda_right" />
|
android:src="@drawable/img_pda_right"
|
||||||
|
android:layout_marginLeft="10dp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user