Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
680fd596
Commit
680fd596
authored
May 27, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改仓库管理详情ing
parent
994bcf9e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/SceneDelegate.swift
GeliBusinessPlatform/SceneDelegate.swift
+1
-1
GeliBusinessPlatform/ViewController/新增、编辑(查看)仓库/CheckWareHourseViewController.swift
...ontroller/新增、编辑(查看)仓库/CheckWareHourseViewController.swift
+4
-5
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
680fd596
No preview for this file type
GeliBusinessPlatform/SceneDelegate.swift
View file @
680fd596
...
@@ -95,7 +95,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, UITabBarControllerDeleg
...
@@ -95,7 +95,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, UITabBarControllerDeleg
tabBarController
.
viewControllers
=
[
v1
,
v2
,
v3
,
v4
,
v5
]
tabBarController
.
viewControllers
=
[
v1
,
v2
,
v3
,
v4
,
v5
]
//
tabBarController.selectedIndex = 2
tabBarController
.
selectedIndex
=
2
...
...
GeliBusinessPlatform/ViewController/新增、编辑(查看)仓库/CheckWareHourseViewController.swift
View file @
680fd596
...
@@ -113,6 +113,8 @@ class CheckWareHourseViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -113,6 +113,8 @@ class CheckWareHourseViewController: BaseViewController,UITableViewDelegate,UITa
cell
.
detailTF
.
placeholder
=
placeHArr
[
indexPath
.
row
]
cell
.
detailTF
.
placeholder
=
placeHArr
[
indexPath
.
row
]
cell
.
btnImg
.
isHidden
=
true
cell
.
btnImg
.
isHidden
=
true
cell
.
detailTF
.
returnKeyType
=
.
done
cell
.
detailTF
.
returnKeyType
=
.
done
//cell ui 布局
self
.
setCellLayout
(
cell
:
cell
,
indexPath
:
indexPath
)
switch
indexPath
.
row
{
switch
indexPath
.
row
{
case
0
:
case
0
:
cell
.
detailTF
.
text
=
cangKuName
cell
.
detailTF
.
text
=
cangKuName
...
@@ -146,8 +148,7 @@ class CheckWareHourseViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -146,8 +148,7 @@ class CheckWareHourseViewController: BaseViewController,UITableViewDelegate,UITa
default
:
default
:
break
break
}
}
//cell ui 布局
self
.
setCellLayout
(
cell
:
cell
,
indexPath
:
indexPath
)
}
else
{
//默认仓库
}
else
{
//默认仓库
cell
.
titleLbl
.
text
=
"默认仓库"
cell
.
titleLbl
.
text
=
"默认仓库"
if
btnTitleLbl
.
text
==
"编辑"
{
if
btnTitleLbl
.
text
==
"编辑"
{
...
@@ -436,9 +437,7 @@ class CheckWareHourseViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -436,9 +437,7 @@ class CheckWareHourseViewController: BaseViewController,UITableViewDelegate,UITa
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
49
return
49
}
}
func
textFieldShouldReturn
(
_
textField
:
UITextField
)
->
Bool
{
IQKeyboardManager
.
shared
.
resignFirstResponder
()
}
func
KuWeiDataArr
(
sender
:
Array
<
Any
>
)
{
func
KuWeiDataArr
(
sender
:
Array
<
Any
>
)
{
if
(
titleStr
?
.
contains
(
"新增"
))
!
{
if
(
titleStr
?
.
contains
(
"新增"
))
!
{
kuWeiArr
=
sender
as!
Array
<
ShopWarehouseDetailDataPositionModel
>
kuWeiArr
=
sender
as!
Array
<
ShopWarehouseDetailDataPositionModel
>
...
...
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