Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
ShenghuoquanBusiness
Commits
93d7c8c4
Commit
93d7c8c4
authored
Jul 14, 2021
by
shiyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改来改去,又改回来了,支持门店新增和多选
parent
de9d1f70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
ChooseStoreActivity.kt
.../shenghuoquan/newscontent/ui/store/ChooseStoreActivity.kt
+0
-3
StoreManagementActivity.kt
...nghuoquan/newscontent/ui/store/StoreManagementActivity.kt
+0
-3
No files found.
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/store/ChooseStoreActivity.kt
View file @
93d7c8c4
...
...
@@ -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
())
{
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/store/StoreManagementActivity.kt
View file @
93d7c8c4
...
...
@@ -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
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment