Commit 494fb8bb authored by lujunye's avatar lujunye

veron:1.4 build:1.24

parent f38c44e2
...@@ -3499,7 +3499,7 @@ ...@@ -3499,7 +3499,7 @@
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements; CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1.23; CURRENT_PROJECT_VERSION = 1.24;
DEFINES_MODULE = NO; DEFINES_MODULE = NO;
DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\"";
DEVELOPMENT_TEAM = K48346UACH; DEVELOPMENT_TEAM = K48346UACH;
...@@ -3544,7 +3544,7 @@ ...@@ -3544,7 +3544,7 @@
"$(PROJECT_DIR)/GeliBusinessPlatform/Define/融云", "$(PROJECT_DIR)/GeliBusinessPlatform/Define/融云",
"$(PROJECT_DIR)/GeliBusinessPlatform/Other/JPush/Lib", "$(PROJECT_DIR)/GeliBusinessPlatform/Other/JPush/Lib",
); );
MARKETING_VERSION = 1.3; MARKETING_VERSION = 1.4;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
"-ObjC", "-ObjC",
...@@ -3631,7 +3631,7 @@ ...@@ -3631,7 +3631,7 @@
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements; CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1.23; CURRENT_PROJECT_VERSION = 1.24;
DEFINES_MODULE = NO; DEFINES_MODULE = NO;
DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\"";
DEVELOPMENT_TEAM = K48346UACH; DEVELOPMENT_TEAM = K48346UACH;
...@@ -3676,7 +3676,7 @@ ...@@ -3676,7 +3676,7 @@
"$(PROJECT_DIR)/GeliBusinessPlatform/Define/融云", "$(PROJECT_DIR)/GeliBusinessPlatform/Define/融云",
"$(PROJECT_DIR)/GeliBusinessPlatform/Other/JPush/Lib", "$(PROJECT_DIR)/GeliBusinessPlatform/Other/JPush/Lib",
); );
MARKETING_VERSION = 1.3; MARKETING_VERSION = 1.4;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
"-ObjC", "-ObjC",
......
<?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>
...@@ -43,10 +43,10 @@ ...@@ -43,10 +43,10 @@
<string>我们需要通过您同意获取地理位置,查询周边的相关数据</string> <string>我们需要通过您同意获取地理位置,查询周边的相关数据</string>
<key>NSMicrophoneUsageDescription</key> <key>NSMicrophoneUsageDescription</key>
<string>我们需要通过您同意使用麦克风,才能与你进行语音交流</string> <string>我们需要通过您同意使用麦克风,才能与你进行语音交流</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>我们需要通过您同意使用相册,才能获取相关数据</string>
<key>NSPhotoLibraryAddUsageDescription</key> <key>NSPhotoLibraryAddUsageDescription</key>
<string>我们需要通过您同意使用相册,才能添加相关数据</string> <string>我们需要通过您同意使用相册,才能添加相关数据</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>我们需要通过您同意使用相册,才能获取相关数据</string>
<key>UIBackgroundModes</key> <key>UIBackgroundModes</key>
<array/> <array/>
<key>UILaunchImageFile</key> <key>UILaunchImageFile</key>
......
...@@ -490,16 +490,16 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD ...@@ -490,16 +490,16 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
HUD.flash(.label("敬请期待"),delay: 1.2) HUD.flash(.label("敬请期待"),delay: 1.2)
return return
case 77: //应收账款 case 77: //应收账款
// HUD.flash(.label("敬请期待"),delay: 1.2) HUD.flash(.label("敬请期待"),delay: 1.2)
let vc = YingFuZKListViewController() // let vc = YingFuZKListViewController()
vc.barTitle = "应收账款" // vc.barTitle = "应收账款"
self.navigationController?.pushViewController(vc, animated: true) // self.navigationController?.pushViewController(vc, animated: true)
return return
case 78: //应付账款 case 78: //应付账款
// HUD.flash(.label("敬请期待"),delay: 1.2) HUD.flash(.label("敬请期待"),delay: 1.2)
let vc = YingFuZKListViewController() // let vc = YingFuZKListViewController()
vc.barTitle = "应付账款" // vc.barTitle = "应付账款"
self.navigationController?.pushViewController(vc, animated: true) // self.navigationController?.pushViewController(vc, animated: true)
return return
case 80: //客户列表 case 80: //客户列表
// HUD.flash(.label("敬请期待"),delay: 1.2) // HUD.flash(.label("敬请期待"),delay: 1.2)
......
...@@ -44,21 +44,32 @@ class CGDListViewController: BaseViewController ,UISearchBarDelegate, SearchBar ...@@ -44,21 +44,32 @@ class CGDListViewController: BaseViewController ,UISearchBarDelegate, SearchBar
vc.delegate = self vc.delegate = self
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
} }
var vc1Refresh = false
var vc2Refresh = false
@objc func updateXQ(nofi : Notification){ @objc func updateXQ(nofi : Notification){
vc1Refresh = true
vc2Refresh = true
let vc1 = viewControllers[1] if vc1Refresh {
if vc1.listView != nil { let vc1 = viewControllers[1]
vc1.listView.mj_header?.beginRefreshing() if vc1.listView != nil {
vc1.listView.mj_header?.beginRefreshing {
self.vc1Refresh = false
}
}
} }
let vc3 = viewControllers[3] if vc2Refresh {
if vc3.listView != nil { let vc3 = viewControllers[3]
vc3.listView.mj_header?.beginRefreshing() if vc3.listView != nil {
vc3.listView.mj_header?.beginRefreshing {
self.vc2Refresh = false
}
}
} }
} }
deinit { deinit {
/// 移除通知 /// 移除通知
NotificationCenter.default.removeObserver(self) NotificationCenter.default.removeObserver(self)
} }
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
...@@ -104,34 +115,34 @@ class CGDListViewController: BaseViewController ,UISearchBarDelegate, SearchBar ...@@ -104,34 +115,34 @@ class CGDListViewController: BaseViewController ,UISearchBarDelegate, SearchBar
pagingVC?.select(index: selectIndex) pagingVC?.select(index: selectIndex)
} }
//MARK:--搜索按钮代理 //MARK:--搜索按钮代理
var keyword = "" var keyword = ""
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) { func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
print("点击搜索进行--") print("点击搜索进行--")
searchBar.resignFirstResponder() searchBar.resignFirstResponder()
keyword = searchBar.text! keyword = searchBar.text!
viewControllers.forEach { (vc) in viewControllers.forEach { (vc) in
vc.keyword = keyword vc.keyword = keyword
vc.isUpData = false vc.isUpData = false
} }
let vc = viewControllers[selectIndex] let vc = viewControllers[selectIndex]
vc.listView.mj_header?.beginRefreshing() vc.listView.mj_header?.beginRefreshing()
} }
//MARK:--取消搜索代理 //MARK:--取消搜索代理
func searchBarTextDidEndEditing(_ searchBar: UISearchBar) { func searchBarTextDidEndEditing(_ searchBar: UISearchBar) {
print("编辑即将结束了--") print("编辑即将结束了--")
removeBlackBtnView() removeBlackBtnView()
if searchBar.text?.count == 0 && keyword.count != 0{ if searchBar.text?.count == 0 && keyword.count != 0{
keyword = searchBar.text! keyword = searchBar.text!
viewControllers.forEach { (vc) in viewControllers.forEach { (vc) in
vc.keyword = keyword vc.keyword = keyword
vc.isUpData = false vc.isUpData = false
} }
let vc = viewControllers[selectIndex] let vc = viewControllers[selectIndex]
vc.listView.mj_header?.beginRefreshing() vc.listView.mj_header?.beginRefreshing()
} }
} }
//MAKR:--调起搜索后添加个蒙版本 //MAKR:--调起搜索后添加个蒙版本
var blackBtnView:UIButton! = nil var blackBtnView:UIButton! = nil
func searchBarShouldBeginEditing(_ searchBar: UISearchBar) -> Bool { func searchBarShouldBeginEditing(_ searchBar: UISearchBar) -> Bool {
......
...@@ -337,6 +337,15 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl ...@@ -337,6 +337,15 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndBtnCell") as! TitleAndBtnCell let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndBtnCell") as! TitleAndBtnCell
cell.nameLbl.text = titleArr[indexPath.row] cell.nameLbl.text = titleArr[indexPath.row]
cell.contentLbl.text = holderArr[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 cell.btn.isUserInteractionEnabled = false
if model?.order_status == 1 { if model?.order_status == 1 {
cell.arrowImg.isHidden = true cell.arrowImg.isHidden = true
......
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