feat: 国际进港查询详情页面(三Tab:运单/仓库/库位信息)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 11:34:20 +08:00
parent edb1f576b7
commit baaa9c5615
21 changed files with 1417 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
package com.lukouguoji.gjj.holder
import android.view.View
import com.lukouguoji.gjj.databinding.ItemIntImpQueryStorageBinding
import com.lukouguoji.module_base.base.BaseViewHolder
import com.lukouguoji.module_base.bean.GjjStorageUse
/**
* 国际进港查询详情-库位信息ViewHolder
*/
class IntImpQueryStorageViewHolder(view: View) :
BaseViewHolder<GjjStorageUse, ItemIntImpQueryStorageBinding>(view) {
override fun onBind(item: Any?, position: Int) {
val bean = getItemBean(item) ?: return
binding.bean = bean
binding.position = position
binding.executePendingBindings()
}
}

View File

@@ -15,5 +15,8 @@ class IntImpQueryViewHolder(view: View) :
val bean = getItemBean(item)!!
binding.bean = bean
binding.executePendingBindings()
// 注册整行点击事件
notifyItemClick(position, binding.ll)
}
}

View File

@@ -0,0 +1,20 @@
package com.lukouguoji.gjj.holder
import android.view.View
import com.lukouguoji.gjj.databinding.ItemIntImpQueryWarehouseBinding
import com.lukouguoji.module_base.base.BaseViewHolder
import com.lukouguoji.module_base.bean.GjjWarehouse
/**
* 国际进港查询详情-仓库信息ViewHolder
*/
class IntImpQueryWarehouseViewHolder(view: View) :
BaseViewHolder<GjjWarehouse, ItemIntImpQueryWarehouseBinding>(view) {
override fun onBind(item: Any?, position: Int) {
val bean = getItemBean(item) ?: return
binding.bean = bean
binding.position = position
binding.executePendingBindings()
}
}