feat: 国际出港 理货报告

This commit is contained in:
2025-12-30 12:34:03 +08:00
parent ca35757864
commit 04c3c08952
12 changed files with 849 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
package com.lukouguoji.gjj.holder
import android.view.View
import com.lukouguoji.gjj.databinding.ItemIntImpTallyBinding
import com.lukouguoji.module_base.base.BaseViewHolder
import com.lukouguoji.module_base.bean.GjjImportTally
/**
* 国际进港理货报告 ViewHolder
*/
class IntImpTallyViewHolder(view: View) :
BaseViewHolder<GjjImportTally, ItemIntImpTallyBinding>(view) {
override fun onBind(item: Any?, position: Int) {
val bean = getItemBean(item) ?: return
binding.bean = bean
binding.position = position
binding.executePendingBindings()
// 选中图标点击 - 切换选择状态
binding.ivIcon.setOnClickListener {
bean.checked.set(!bean.checked.get())
binding.executePendingBindings()
}
}
}