Compare commits
5 Commits
753e88b2c7
...
a1bd9b330a
| Author | SHA1 | Date | |
|---|---|---|---|
| a1bd9b330a | |||
| 2949f59800 | |||
| 338cffc633 | |||
| 02773b3f90 | |||
| 7c4d1cebe3 |
@@ -138,7 +138,9 @@
|
|||||||
"Bash(sed -i '' '/@Deprecated\\(\"旧版国内出港收运开始,使用 GncShouYunUnListActivity 替代\"\\)/d' /Users/kid/Development/Fusion/Projects/aerologic-app/module_gnc/src/main/java/com/lukouguoji/gnc/activity/GoutStartCotActivity.kt)",
|
"Bash(sed -i '' '/@Deprecated\\(\"旧版国内出港收运开始,使用 GncShouYunUnListActivity 替代\"\\)/d' /Users/kid/Development/Fusion/Projects/aerologic-app/module_gnc/src/main/java/com/lukouguoji/gnc/activity/GoutStartCotActivity.kt)",
|
||||||
"Bash(cp \"/Users/kid/Downloads/Desktop/进港舱单.png\" /Users/kid/Development/Fusion/Projects/aerologic-app/module_gjj/src/main/res/mipmap-mdpi/gjj_jin_gang_cang_dan_icon.png)",
|
"Bash(cp \"/Users/kid/Downloads/Desktop/进港舱单.png\" /Users/kid/Development/Fusion/Projects/aerologic-app/module_gjj/src/main/res/mipmap-mdpi/gjj_jin_gang_cang_dan_icon.png)",
|
||||||
"Bash(cp \"/Users/kid/Downloads/Desktop/原始舱单.png\" /Users/kid/Development/Fusion/Projects/aerologic-app/module_gjj/src/main/res/mipmap-mdpi/gjj_yuan_shi_cang_dan_icon.png)",
|
"Bash(cp \"/Users/kid/Downloads/Desktop/原始舱单.png\" /Users/kid/Development/Fusion/Projects/aerologic-app/module_gjj/src/main/res/mipmap-mdpi/gjj_yuan_shi_cang_dan_icon.png)",
|
||||||
"Bash(cp \"/Users/kid/Downloads/Desktop/提取记录.png\" /Users/kid/Development/Fusion/Projects/aerologic-app/module_gjj/src/main/res/mipmap-mdpi/gjj_ti_qu_ji_lu_icon.png)"
|
"Bash(cp \"/Users/kid/Downloads/Desktop/提取记录.png\" /Users/kid/Development/Fusion/Projects/aerologic-app/module_gjj/src/main/res/mipmap-mdpi/gjj_ti_qu_ji_lu_icon.png)",
|
||||||
|
"mcp__api-doc__get_project_overview",
|
||||||
|
"mcp__plugin_claude-mem_mcp-search__get_observations"
|
||||||
],
|
],
|
||||||
"deny": [],
|
"deny": [],
|
||||||
"ask": []
|
"ask": []
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class LogDetailActivity : BaseBindingActivity<ActivityLogDetailBinding, LogDetai
|
|||||||
val dotSize = dp(10)
|
val dotSize = dp(10)
|
||||||
val lineHeight = dp(2)
|
val lineHeight = dp(2)
|
||||||
val labelHPadding = dp(6)
|
val labelHPadding = dp(6)
|
||||||
val alignBase = dp(15)
|
val alignBase = dp(27)
|
||||||
|
|
||||||
// 按"四个汉字 label"估算节点 label 宽度(含左右各 6dp padding)
|
// 按"四个汉字 label"估算节点 label 宽度(含左右各 6dp padding)
|
||||||
val labelTextSizePx = TypedValue.applyDimension(
|
val labelTextSizePx = TypedValue.applyDimension(
|
||||||
|
|||||||
@@ -877,7 +877,7 @@ class HomeFragment : Fragment() {
|
|||||||
list.add(
|
list.add(
|
||||||
RightMenu(
|
RightMenu(
|
||||||
Constant.AuthName.IntImpAccidentVisa,
|
Constant.AuthName.IntImpAccidentVisa,
|
||||||
R.drawable.img_gj_shiguqianzheng,
|
R.drawable.gjj_jgqz,
|
||||||
"事故签证"
|
"事故签证"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -67,7 +67,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_marginStart="30dp"
|
||||||
|
android:layout_marginEnd="15dp"
|
||||||
android:layout_marginVertical="12dp"
|
android:layout_marginVertical="12dp"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
@@ -162,7 +163,8 @@
|
|||||||
android:id="@+id/ll_steps"
|
android:id="@+id/ll_steps"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="15dp"
|
android:layout_marginStart="23dp"
|
||||||
|
android:layout_marginEnd="15dp"
|
||||||
android:layout_marginVertical="12dp"
|
android:layout_marginVertical="12dp"
|
||||||
android:orientation="horizontal" />
|
android:orientation="horizontal" />
|
||||||
|
|
||||||
@@ -213,6 +215,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:layout_marginBottom="12dp"
|
android:layout_marginBottom="12dp"
|
||||||
|
android:paddingStart="8dp"
|
||||||
android:nestedScrollingEnabled="false"
|
android:nestedScrollingEnabled="false"
|
||||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
package com.lukouguoji.module_base
|
package com.lukouguoji.module_base
|
||||||
|
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.content.res.Configuration
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.view.Gravity
|
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.widget.EditText
|
import android.widget.EditText
|
||||||
import android.widget.Spinner
|
import android.widget.Spinner
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
<color name="color_bottom_layout">#5c6890</color>
|
<color name="color_bottom_layout">#5c6890</color>
|
||||||
<color name="color_f2">#F2F2F2</color>
|
<color name="color_f2">#F2F2F2</color>
|
||||||
<color name="line">#EEEEEE</color>
|
<color name="line">#EEEEEE</color>
|
||||||
|
<color name="sub_list_divider">#DDDDDD</color>
|
||||||
<color name="transparent">#00000000</color>
|
<color name="transparent">#00000000</color>
|
||||||
|
|
||||||
<color name="bottom_tool_tips_text_color">#797979</color>
|
<color name="bottom_tool_tips_text_color">#797979</color>
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
package com.lukouguoji.gjc.dialog
|
||||||
|
|
||||||
|
import android.content.Context
|
||||||
|
import androidx.lifecycle.MutableLiveData
|
||||||
|
import com.lukouguoji.gjc.R
|
||||||
|
import com.lukouguoji.gjc.databinding.DialogIntExpLoadResetBinding
|
||||||
|
import com.lukouguoji.module_base.base.BaseDialogModel
|
||||||
|
import com.lukouguoji.module_base.ktx.verifyNullOrEmpty
|
||||||
|
import dev.utils.app.info.KeyValue
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 国际出港装载 - 状态重置对话框
|
||||||
|
*/
|
||||||
|
class IntExpLoadResetDialogModel(
|
||||||
|
private val callback: (IntExpLoadResetDialogModel) -> Unit
|
||||||
|
) : BaseDialogModel<DialogIntExpLoadResetBinding>(DIALOG_TYPE_CENTER) {
|
||||||
|
|
||||||
|
val resetStatusList = MutableLiveData<List<KeyValue>>()
|
||||||
|
val selectedResetStatus = MutableLiveData("")
|
||||||
|
var resetStatusCode: String? = null
|
||||||
|
|
||||||
|
override fun layoutId(): Int = R.layout.dialog_int_exp_load_reset
|
||||||
|
|
||||||
|
override fun onDialogCreated(context: Context) {
|
||||||
|
binding.model = this
|
||||||
|
initResetStatusList()
|
||||||
|
selectedResetStatus.observeForever { value ->
|
||||||
|
resetStatusCode = when (value) {
|
||||||
|
"01" -> "01"
|
||||||
|
"02" -> null
|
||||||
|
else -> null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun initResetStatusList() {
|
||||||
|
resetStatusList.value = listOf(
|
||||||
|
KeyValue("正常", "01"),
|
||||||
|
KeyValue("未申报", "02")
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
fun onSaveClick() {
|
||||||
|
if (selectedResetStatus.value.verifyNullOrEmpty("请选择重置状态")) return
|
||||||
|
dismiss()
|
||||||
|
callback(this)
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -17,6 +17,7 @@ import com.lukouguoji.module_base.ktx.toRequestBody
|
|||||||
import com.lukouguoji.module_base.model.BluetoothDialogModel
|
import com.lukouguoji.module_base.model.BluetoothDialogModel
|
||||||
import com.lukouguoji.module_base.model.ScanModel
|
import com.lukouguoji.module_base.model.ScanModel
|
||||||
import com.lukouguoji.module_base.util.PrinterUtils
|
import com.lukouguoji.module_base.util.PrinterUtils
|
||||||
|
import dev.utils.app.info.KeyValue
|
||||||
import dev.utils.common.DateUtils
|
import dev.utils.common.DateUtils
|
||||||
import com.lukouguoji.module_base.ktx.formatDate
|
import com.lukouguoji.module_base.ktx.formatDate
|
||||||
|
|
||||||
@@ -28,7 +29,14 @@ class GjcBoxWeighingViewModel : BasePageViewModel() {
|
|||||||
// 搜索条件
|
// 搜索条件
|
||||||
val flightDate = MutableLiveData<String>(DateUtils.getCurrentTime().formatDate()) // 航班日期
|
val flightDate = MutableLiveData<String>(DateUtils.getCurrentTime().formatDate()) // 航班日期
|
||||||
val flightNo = MutableLiveData("") // 航班号
|
val flightNo = MutableLiveData("") // 航班号
|
||||||
val dest = MutableLiveData("") // 目的站
|
val wtStatus = MutableLiveData("") // 过磅状态(""=全部 / "0"=未过磅 / "1"=已过磅)
|
||||||
|
val wtStatusList = MutableLiveData( // 过磅状态选项
|
||||||
|
listOf(
|
||||||
|
KeyValue("全部", ""),
|
||||||
|
KeyValue("未过磅", "0"),
|
||||||
|
KeyValue("已过磅", "1")
|
||||||
|
)
|
||||||
|
)
|
||||||
val carId = MutableLiveData("") // 架子车号
|
val carId = MutableLiveData("") // 架子车号
|
||||||
val uld = MutableLiveData("") // ULD编号
|
val uld = MutableLiveData("") // ULD编号
|
||||||
|
|
||||||
@@ -111,7 +119,7 @@ class GjcBoxWeighingViewModel : BasePageViewModel() {
|
|||||||
"pageSize" to pageModel.limit,
|
"pageSize" to pageModel.limit,
|
||||||
"fdate" to flightDate.value!!.ifEmpty { null },
|
"fdate" to flightDate.value!!.ifEmpty { null },
|
||||||
"fno" to flightNo.value!!.ifEmpty { null },
|
"fno" to flightNo.value!!.ifEmpty { null },
|
||||||
"fdest" to dest.value!!.ifEmpty { null },
|
"wtStatus" to wtStatus.value!!.ifEmpty { null },
|
||||||
"carId" to carId.value!!.ifEmpty { null },
|
"carId" to carId.value!!.ifEmpty { null },
|
||||||
"uld" to uld.value!!.ifEmpty { null },
|
"uld" to uld.value!!.ifEmpty { null },
|
||||||
).toRequestBody()
|
).toRequestBody()
|
||||||
@@ -120,7 +128,7 @@ class GjcBoxWeighingViewModel : BasePageViewModel() {
|
|||||||
val totalParams = mapOf(
|
val totalParams = mapOf(
|
||||||
"fdate" to flightDate.value!!.ifEmpty { null },
|
"fdate" to flightDate.value!!.ifEmpty { null },
|
||||||
"fno" to flightNo.value!!.ifEmpty { null },
|
"fno" to flightNo.value!!.ifEmpty { null },
|
||||||
"fdest" to dest.value!!.ifEmpty { null },
|
"wtStatus" to wtStatus.value!!.ifEmpty { null },
|
||||||
"carId" to carId.value!!.ifEmpty { null },
|
"carId" to carId.value!!.ifEmpty { null },
|
||||||
"uld" to uld.value!!.ifEmpty { null },
|
"uld" to uld.value!!.ifEmpty { null },
|
||||||
).toRequestBody()
|
).toRequestBody()
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import androidx.lifecycle.MutableLiveData
|
|||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import com.lukouguoji.gjc.R
|
import com.lukouguoji.gjc.R
|
||||||
import com.lukouguoji.gjc.dialog.IntExpLoadDeleteDialogModel
|
import com.lukouguoji.gjc.dialog.IntExpLoadDeleteDialogModel
|
||||||
|
import com.lukouguoji.gjc.dialog.IntExpLoadResetDialogModel
|
||||||
import com.lukouguoji.gjc.holder.IntExpLoadViewHolder
|
import com.lukouguoji.gjc.holder.IntExpLoadViewHolder
|
||||||
import com.lukouguoji.module_base.base.BasePageViewModel
|
import com.lukouguoji.module_base.base.BasePageViewModel
|
||||||
import com.lukouguoji.module_base.bean.GjcCheckInPage
|
import com.lukouguoji.module_base.bean.GjcCheckInPage
|
||||||
@@ -84,7 +85,7 @@ class IntExpLoadViewModel : BasePageViewModel() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 状态重置 (批量操作)
|
* 状态重置 (批量操作) — 弹框选状态后调接口
|
||||||
*/
|
*/
|
||||||
fun resetDeclare() {
|
fun resetDeclare() {
|
||||||
val list = pageModel.rv?.commonAdapter()?.items as? List<GjcExportLoad> ?: return
|
val list = pageModel.rv?.commonAdapter()?.items as? List<GjcExportLoad> ?: return
|
||||||
@@ -95,18 +96,26 @@ class IntExpLoadViewModel : BasePageViewModel() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
val param = GjcDeclareParam(loadList = selectedItems)
|
val dialog = IntExpLoadResetDialogModel { dialogModel ->
|
||||||
val requestData = param.toRequestBody()
|
val params = mutableMapOf<String, Any?>(
|
||||||
|
"loadList" to selectedItems
|
||||||
|
)
|
||||||
|
if (dialogModel.resetStatusCode != null) {
|
||||||
|
params["restStatus"] = dialogModel.resetStatusCode
|
||||||
|
}
|
||||||
|
val requestData = params.toRequestBody()
|
||||||
|
|
||||||
launchLoadingCollect({ NetApply.api.resetDeclare(requestData) }) {
|
launchLoadingCollect({ NetApply.api.resetDeclare(requestData) }) {
|
||||||
onSuccess = {
|
onSuccess = {
|
||||||
showToast("状态重置成功")
|
showToast("状态重置成功")
|
||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
FlowBus.with<String>(ConstantEvent.EVENT_REFRESH).emit("refresh")
|
FlowBus.with<String>(ConstantEvent.EVENT_REFRESH).emit("refresh")
|
||||||
|
}
|
||||||
|
refresh()
|
||||||
}
|
}
|
||||||
refresh()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
dialog.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
BIN
module_gjc/src/main/res/drawable-mdpi/gjj_jgqz.png
Normal file
BIN
module_gjc/src/main/res/drawable-mdpi/gjj_jgqz.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@@ -49,14 +49,15 @@
|
|||||||
value="@={viewModel.flightNo}"
|
value="@={viewModel.flightNo}"
|
||||||
setUpperCaseAlphanumeric="@{true}" />
|
setUpperCaseAlphanumeric="@{true}" />
|
||||||
|
|
||||||
<!-- 目的站 -->
|
<!-- 过磅状态 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
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"
|
||||||
hint='@{"请输入目的站"}'
|
hint='@{"请选择过磅状态"}'
|
||||||
type="@{SearchLayoutType.INPUT}"
|
list="@{viewModel.wtStatusList}"
|
||||||
value="@={viewModel.dest}" />
|
type="@{SearchLayoutType.SPINNER}"
|
||||||
|
value="@={viewModel.wtStatus}" />
|
||||||
|
|
||||||
<!-- 架子车号 -->
|
<!-- 架子车号 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
|
|||||||
87
module_gjc/src/main/res/layout/dialog_int_exp_load_reset.xml
Normal file
87
module_gjc/src/main/res/layout/dialog_int_exp_load_reset.xml
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<data>
|
||||||
|
<import type="com.lukouguoji.module_base.ui.weight.search.layout.SearchLayoutType"/>
|
||||||
|
|
||||||
|
<variable
|
||||||
|
name="model"
|
||||||
|
type="com.lukouguoji.gjc.dialog.IntExpLoadResetDialogModel" />
|
||||||
|
|
||||||
|
</data>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="600dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@drawable/bg_dialog_f2_radius_10"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<!-- 标题栏 -->
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="50dp"
|
||||||
|
android:background="@drawable/bg_primary_radius_top_10"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="状态重置"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<!-- 表单内容 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginHorizontal="30dp"
|
||||||
|
android:layout_marginTop="30dp"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<!-- 重置状态 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
completeSpace="@{5}"
|
||||||
|
android:text="重置状态:"
|
||||||
|
android:textColor="@color/text_normal"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
type="@{SearchLayoutType.SPINNER}"
|
||||||
|
hint='@{"请选择重置状态"}'
|
||||||
|
list="@{model.resetStatusList}"
|
||||||
|
value="@={model.selectedResetStatus}" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 底部按钮 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="40dp"
|
||||||
|
android:layout_marginBottom="20dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
style="@style/tv_bottom_btn"
|
||||||
|
android:onClick="@{()->model.dismiss()}"
|
||||||
|
android:text="取消" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
style="@style/tv_bottom_btn"
|
||||||
|
android:onClick="@{()->model.onSaveClick()}"
|
||||||
|
android:text="保存" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</layout>
|
||||||
@@ -466,7 +466,7 @@
|
|||||||
<com.google.android.material.divider.MaterialDivider
|
<com.google.android.material.divider.MaterialDivider
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
<!-- 子列表 RecyclerView -->
|
<!-- 子列表 RecyclerView -->
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
<com.google.android.material.divider.MaterialDivider
|
<com.google.android.material.divider.MaterialDivider
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -509,7 +509,7 @@
|
|||||||
visible="@{bean.hasWaybillDetails && !bean.isLoading.get()}"
|
visible="@{bean.hasWaybillDetails && !bean.isLoading.get()}"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999"
|
android:background="@color/sub_list_divider"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
<!-- 子列表 RecyclerView (有数据时显示) -->
|
<!-- 子列表 RecyclerView (有数据时显示) -->
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
<com.google.android.material.divider.MaterialDivider
|
<com.google.android.material.divider.MaterialDivider
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -394,7 +394,7 @@
|
|||||||
<com.google.android.material.divider.MaterialDivider
|
<com.google.android.material.divider.MaterialDivider
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
<!-- 子列表 RecyclerView -->
|
<!-- 子列表 RecyclerView -->
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
<com.google.android.material.divider.MaterialDivider
|
<com.google.android.material.divider.MaterialDivider
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999"/>
|
android:background="@color/sub_list_divider"/>
|
||||||
<!-- 子列表 RecyclerView -->
|
<!-- 子列表 RecyclerView -->
|
||||||
<androidx.recyclerview.widget.RecyclerView android:id="@+id/rv_sub" android:layout_width="match_parent" android:layout_height="wrap_content" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"/>
|
<androidx.recyclerview.widget.RecyclerView android:id="@+id/rv_sub" android:layout_width="match_parent" android:layout_height="wrap_content" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
<com.google.android.material.divider.MaterialDivider
|
<com.google.android.material.divider.MaterialDivider
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -443,7 +443,7 @@
|
|||||||
<com.google.android.material.divider.MaterialDivider
|
<com.google.android.material.divider.MaterialDivider
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
<!-- 子列表 RecyclerView -->
|
<!-- 子列表 RecyclerView -->
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|||||||
@@ -455,7 +455,7 @@
|
|||||||
android:id="@+id/divider_header"
|
android:id="@+id/divider_header"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
<!-- 子列表 RecyclerView -->
|
<!-- 子列表 RecyclerView -->
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|||||||
@@ -395,7 +395,7 @@
|
|||||||
<com.google.android.material.divider.MaterialDivider
|
<com.google.android.material.divider.MaterialDivider
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
<!-- 子列表 RecyclerView -->
|
<!-- 子列表 RecyclerView -->
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|||||||
@@ -468,7 +468,7 @@
|
|||||||
android:id="@+id/divider_header"
|
android:id="@+id/divider_header"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1px"
|
android:layout_height="1px"
|
||||||
android:background="@color/c999999" />
|
android:background="@color/sub_list_divider" />
|
||||||
|
|
||||||
<!-- 子列表 RecyclerView -->
|
<!-- 子列表 RecyclerView -->
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|||||||
Reference in New Issue
Block a user