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 }