Commit 93d7c8c4 authored by shiyl's avatar shiyl

改来改去,又改回来了,支持门店新增和多选

parent de9d1f70
......@@ -60,13 +60,10 @@ class ChooseStoreActivity : BaseActivity<ActivityChooseStoreBinding>() {
if (shopList.isNullOrEmpty()) {
viewBind.rvStore.hide()
viewBind.pvEmptyPage.show()
viewBind.include.tvMenu.show()
return@getShopList
} else {
viewBind.rvStore.show()
viewBind.pvEmptyPage.hide()
// 暂时隐藏,目前只支持新增一家门店
viewBind.include.tvMenu.hide()
}
// 勾选上次选中的门店的
if (!lastSelectStoreList.isNullOrEmpty()) {
......
......@@ -51,13 +51,10 @@ class StoreManagementActivity : BaseActivity<ActivityStoreManagementBinding>() {
if (it.isNullOrEmpty()) {
viewBind.storeList.hide()
viewBind.pvEmptyPage.show()
viewBind.addStoreBtn.show()
return@getShopList
} else {
viewBind.storeList.show()
viewBind.pvEmptyPage.hide()
// 暂时隐藏,目前只支持新增一家门店
viewBind.addStoreBtn.hide()
}
adapter.setData(it)
}
......
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