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
494fb8bb
Commit
494fb8bb
authored
Jun 24, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
veron:1.4 build:1.24
parent
f38c44e2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
76 additions
and
51 deletions
+76
-51
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+4
-4
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/IDEFindNavigatorScopes.plist
...userdata/junyelu.xcuserdatad/IDEFindNavigatorScopes.plist
+5
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Info.plist
GeliBusinessPlatform/Info.plist
+2
-2
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
...essPlatform/ViewController/工作中心/WorkCViewController.swift
+8
-8
GeliBusinessPlatform/ViewController/采购单列表/CGDListViewController.swift
...Platform/ViewController/采购单列表/CGDListViewController.swift
+48
-37
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
+9
-0
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
494fb8bb
...
...
@@ -3499,7 +3499,7 @@
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_ENTITLEMENTS
=
GeliBusinessPlatform/GeliBusinessPlatform.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
1.2
3
;
CURRENT_PROJECT_VERSION
=
1.2
4
;
DEFINES_MODULE
=
NO
;
DEVELOPMENT_ASSET_PATHS
=
"\"GeliBusinessPlatform/Preview Content\""
;
DEVELOPMENT_TEAM
=
K48346UACH
;
...
...
@@ -3544,7 +3544,7 @@
"$(PROJECT_DIR)/GeliBusinessPlatform/Define/融云"
,
"$(PROJECT_DIR)/GeliBusinessPlatform/Other/JPush/Lib"
,
);
MARKETING_VERSION
=
1.
3
;
MARKETING_VERSION
=
1.
4
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
@@ -3631,7 +3631,7 @@
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_ENTITLEMENTS
=
GeliBusinessPlatform/GeliBusinessPlatform.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
1.2
3
;
CURRENT_PROJECT_VERSION
=
1.2
4
;
DEFINES_MODULE
=
NO
;
DEVELOPMENT_ASSET_PATHS
=
"\"GeliBusinessPlatform/Preview Content\""
;
DEVELOPMENT_TEAM
=
K48346UACH
;
...
...
@@ -3676,7 +3676,7 @@
"$(PROJECT_DIR)/GeliBusinessPlatform/Define/融云"
,
"$(PROJECT_DIR)/GeliBusinessPlatform/Other/JPush/Lib"
,
);
MARKETING_VERSION
=
1.
3
;
MARKETING_VERSION
=
1.
4
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/IDEFindNavigatorScopes.plist
0 → 100644
View file @
494fb8bb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<array/>
</plist>
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
494fb8bb
No preview for this file type
GeliBusinessPlatform/Info.plist
View file @
494fb8bb
...
...
@@ -43,10 +43,10 @@
<string>
我们需要通过您同意获取地理位置,查询周边的相关数据
</string>
<key>
NSMicrophoneUsageDescription
</key>
<string>
我们需要通过您同意使用麦克风,才能与你进行语音交流
</string>
<key>
NSPhotoLibraryUsageDescription
</key>
<string>
我们需要通过您同意使用相册,才能获取相关数据
</string>
<key>
NSPhotoLibraryAddUsageDescription
</key>
<string>
我们需要通过您同意使用相册,才能添加相关数据
</string>
<key>
NSPhotoLibraryUsageDescription
</key>
<string>
我们需要通过您同意使用相册,才能获取相关数据
</string>
<key>
UIBackgroundModes
</key>
<array/>
<key>
UILaunchImageFile
</key>
...
...
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
View file @
494fb8bb
...
...
@@ -490,16 +490,16 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
HUD
.
flash
(
.
label
(
"敬请期待"
),
delay
:
1.2
)
return
case
77
:
//应收账款
//
HUD.flash(.label("敬请期待"),delay: 1.2)
let
vc
=
YingFuZKListViewController
()
vc
.
barTitle
=
"应收账款"
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
HUD
.
flash
(
.
label
(
"敬请期待"
),
delay
:
1.2
)
//
let vc = YingFuZKListViewController()
//
vc.barTitle = "应收账款"
//
self.navigationController?.pushViewController(vc, animated: true)
return
case
78
:
//应付账款
//
HUD.flash(.label("敬请期待"),delay: 1.2)
let
vc
=
YingFuZKListViewController
()
vc
.
barTitle
=
"应付账款"
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
HUD
.
flash
(
.
label
(
"敬请期待"
),
delay
:
1.2
)
//
let vc = YingFuZKListViewController()
//
vc.barTitle = "应付账款"
//
self.navigationController?.pushViewController(vc, animated: true)
return
case
80
:
//客户列表
// HUD.flash(.label("敬请期待"),delay: 1.2)
...
...
GeliBusinessPlatform/ViewController/采购单列表/CGDListViewController.swift
View file @
494fb8bb
...
...
@@ -44,21 +44,32 @@ class CGDListViewController: BaseViewController ,UISearchBarDelegate, SearchBar
vc
.
delegate
=
self
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
var
vc1Refresh
=
false
var
vc2Refresh
=
false
@objc
func
updateXQ
(
nofi
:
Notification
){
vc1Refresh
=
true
vc2Refresh
=
true
let
vc1
=
viewControllers
[
1
]
if
vc1
.
listView
!=
nil
{
vc1
.
listView
.
mj_header
?
.
beginRefreshing
()
if
vc1Refresh
{
let
vc1
=
viewControllers
[
1
]
if
vc1
.
listView
!=
nil
{
vc1
.
listView
.
mj_header
?
.
beginRefreshing
{
self
.
vc1Refresh
=
false
}
}
}
let
vc3
=
viewControllers
[
3
]
if
vc3
.
listView
!=
nil
{
vc3
.
listView
.
mj_header
?
.
beginRefreshing
()
if
vc2Refresh
{
let
vc3
=
viewControllers
[
3
]
if
vc3
.
listView
!=
nil
{
vc3
.
listView
.
mj_header
?
.
beginRefreshing
{
self
.
vc2Refresh
=
false
}
}
}
}
deinit
{
/// 移除通知
NotificationCenter
.
default
.
removeObserver
(
self
)
/// 移除通知
NotificationCenter
.
default
.
removeObserver
(
self
)
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
@@ -104,34 +115,34 @@ class CGDListViewController: BaseViewController ,UISearchBarDelegate, SearchBar
pagingVC
?
.
select
(
index
:
selectIndex
)
}
//MARK:--搜索按钮代理
var
keyword
=
""
func
searchBarSearchButtonClicked
(
_
searchBar
:
UISearchBar
)
{
print
(
"点击搜索进行--"
)
searchBar
.
resignFirstResponder
()
keyword
=
searchBar
.
text
!
viewControllers
.
forEach
{
(
vc
)
in
vc
.
keyword
=
keyword
vc
.
isUpData
=
false
}
let
vc
=
viewControllers
[
selectIndex
]
vc
.
listView
.
mj_header
?
.
beginRefreshing
()
}
//MARK:--取消搜索代理
func
searchBarTextDidEndEditing
(
_
searchBar
:
UISearchBar
)
{
print
(
"编辑即将结束了--"
)
removeBlackBtnView
()
if
searchBar
.
text
?
.
count
==
0
&&
keyword
.
count
!=
0
{
keyword
=
searchBar
.
text
!
viewControllers
.
forEach
{
(
vc
)
in
vc
.
keyword
=
keyword
vc
.
isUpData
=
false
}
let
vc
=
viewControllers
[
selectIndex
]
vc
.
listView
.
mj_header
?
.
beginRefreshing
()
}
}
//MARK:--搜索按钮代理
var
keyword
=
""
func
searchBarSearchButtonClicked
(
_
searchBar
:
UISearchBar
)
{
print
(
"点击搜索进行--"
)
searchBar
.
resignFirstResponder
()
keyword
=
searchBar
.
text
!
viewControllers
.
forEach
{
(
vc
)
in
vc
.
keyword
=
keyword
vc
.
isUpData
=
false
}
let
vc
=
viewControllers
[
selectIndex
]
vc
.
listView
.
mj_header
?
.
beginRefreshing
()
}
//MARK:--取消搜索代理
func
searchBarTextDidEndEditing
(
_
searchBar
:
UISearchBar
)
{
print
(
"编辑即将结束了--"
)
removeBlackBtnView
()
if
searchBar
.
text
?
.
count
==
0
&&
keyword
.
count
!=
0
{
keyword
=
searchBar
.
text
!
viewControllers
.
forEach
{
(
vc
)
in
vc
.
keyword
=
keyword
vc
.
isUpData
=
false
}
let
vc
=
viewControllers
[
selectIndex
]
vc
.
listView
.
mj_header
?
.
beginRefreshing
()
}
}
//MAKR:--调起搜索后添加个蒙版本
var
blackBtnView
:
UIButton
!
=
nil
func
searchBarShouldBeginEditing
(
_
searchBar
:
UISearchBar
)
->
Bool
{
...
...
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
View file @
494fb8bb
...
...
@@ -337,6 +337,15 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndBtnCell"
)
as!
TitleAndBtnCell
cell
.
nameLbl
.
text
=
titleArr
[
indexPath
.
row
]
cell
.
contentLbl
.
text
=
holderArr
[
indexPath
.
row
]
if
indexPath
.
row
==
6
{
if
cell
.
contentLbl
.
text
==
"已付款"
{
cell
.
arrowImg
.
isHidden
=
true
cell
.
contentRight
.
constant
=
15
}
else
{
cell
.
arrowImg
.
isHidden
=
false
cell
.
contentRight
.
constant
=
32
}
}
cell
.
btn
.
isUserInteractionEnabled
=
false
if
model
?
.
order_status
==
1
{
cell
.
arrowImg
.
isHidden
=
true
...
...
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