Commit c15e0e34 authored by yinjiacheng's avatar yinjiacheng

fix SHQBD-489 商品管理被驳回列表编辑按钮失效

parent 6af676fb
......@@ -181,6 +181,7 @@ class CommodityListAdapter(private val context: Context, private val status: Com
}
is CommodityRejectItemViewHolder -> {
holder.binding.setVariable(BR.data, data)
holder.binding.setVariable(BR.vm, CommodityListItemViewModel())
}
is CommodityOfflineItemViewHolder -> {
holder.binding.setVariable(BR.data, data)
......
......@@ -116,8 +116,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/dp25"
android:clickable="true"
android:focusable="true"
android:onClick="@{() -> vm.commodityOffline(data)}"
android:text="@string/down_shelves"
android:textColor="@color/color_333333"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment