feat: opt 进港查询

This commit is contained in:
2026-03-22 16:04:44 +08:00
parent 6c4e97945b
commit 072df758db
8 changed files with 16 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ class IntImpQueryFilterDialogModel(
val spCode: MutableLiveData<String>,
val spCodeList: MutableLiveData<List<KeyValue>>,
val flightNo: MutableLiveData<String>,
val dest: MutableLiveData<String>,
val origin: MutableLiveData<String>,
val awbType: MutableLiveData<String>,
val businessType: MutableLiveData<String>,
val goodsCn: MutableLiveData<String>,
@@ -75,7 +75,7 @@ class IntImpQueryFilterDialogModel(
fun onResetClick() {
spCode.value = ""
flightNo.value = ""
dest.value = ""
origin.value = ""
awbType.value = ""
businessType.value = ""
goodsCn.value = ""

View File

@@ -62,7 +62,7 @@ class IntImpQueryViewModel : BasePageViewModel(), IOnItemClickListener {
// ==================== 筛选条件 ====================
val spCode = MutableLiveData("")
val flightNo = MutableLiveData("")
val dest = MutableLiveData("")
val origin = MutableLiveData("")
val awbType = MutableLiveData("")
val businessType = MutableLiveData("")
val goodsCn = MutableLiveData("")
@@ -84,7 +84,7 @@ class IntImpQueryViewModel : BasePageViewModel(), IOnItemClickListener {
spCode = spCode,
spCodeList = spCodeList,
flightNo = flightNo,
dest = dest,
origin = origin,
awbType = awbType,
businessType = businessType,
goodsCn = goodsCn,
@@ -104,7 +104,7 @@ class IntImpQueryViewModel : BasePageViewModel(), IOnItemClickListener {
"wbNo" to waybillNo.value!!.ifEmpty { null },
"spCode" to spCode.value!!.ifEmpty { null },
"fno" to flightNo.value!!.ifEmpty { null },
"dest" to dest.value!!.ifEmpty { null },
"origin" to origin.value!!.ifEmpty { null },
"awbType" to awbType.value!!.ifEmpty { null },
"businessType" to businessType.value!!.ifEmpty { null },
"goods" to goodsCn.value!!.ifEmpty { null }
@@ -118,7 +118,7 @@ class IntImpQueryViewModel : BasePageViewModel(), IOnItemClickListener {
"wbNo" to waybillNo.value!!.ifEmpty { null },
"spCode" to spCode.value!!.ifEmpty { null },
"fno" to flightNo.value!!.ifEmpty { null },
"dest" to dest.value!!.ifEmpty { null },
"origin" to origin.value!!.ifEmpty { null },
"awbType" to awbType.value!!.ifEmpty { null },
"businessType" to businessType.value!!.ifEmpty { null },
"goods" to goodsCn.value!!.ifEmpty { null }

View File

@@ -63,13 +63,13 @@
android:layout_height="wrap_content"
android:layout_marginBottom="10dp" />
<!-- 目的-->
<!-- 始发-->
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
hint='@{"请输入目的港"}'
title='@{"目的港"}'
hint='@{"请输入始发港"}'
title='@{"始发港"}'
titleLength="@{4}"
type="@{DataLayoutType.INPUT}"
value='@={model.dest}'
value='@={model.origin}'
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp" />

View File

@@ -88,7 +88,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text='@{String.valueOf(bean.awbPc)}'
android:text='@{String.valueOf(bean.inPc)}'
tools:text="10" />
</androidx.appcompat.widget.LinearLayoutCompat>
@@ -109,7 +109,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text='@{String.valueOf(bean.awbWeight)}'
android:text='@{String.valueOf(bean.inWeight)}'
tools:text="200" />
</androidx.appcompat.widget.LinearLayoutCompat>