Commit dd199079 authored by lujunye's avatar lujunye

点击bug

parent ec7743ef
...@@ -99,7 +99,6 @@ class CRKCell: UITableViewCell { ...@@ -99,7 +99,6 @@ class CRKCell: UITableViewCell {
leftBtn.backgroundColor = UIColor.white leftBtn.backgroundColor = UIColor.white
leftBtn.setTitle("通过", for: .normal) leftBtn.setTitle("通过", for: .normal)
leftBtn.setTitleColor(UIColor.white, for: .normal) leftBtn.setTitleColor(UIColor.white, for: .normal)
leftBtn.isUserInteractionEnabled = false
leftBtn.backgroundColor = UIColor(named: "蓝色字体颜色") leftBtn.backgroundColor = UIColor(named: "蓝色字体颜色")
leftBtn.layer.cornerRadius = 3 leftBtn.layer.cornerRadius = 3
}else{ //通过,不通过 }else{ //通过,不通过
......
...@@ -136,6 +136,7 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi ...@@ -136,6 +136,7 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi
} }
func PiCiXuanZeCellRefreshCount() { func PiCiXuanZeCellRefreshCount() {
totalCount = 0 totalCount = 0
print("0 == ",selectArr)
for item in selectArr{ for item in selectArr{
let data = dataArray[item] let data = dataArray[item]
if data.chuHuoLiang != nil { if data.chuHuoLiang != nil {
...@@ -165,6 +166,7 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi ...@@ -165,6 +166,7 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi
} }
totalCount = 0 totalCount = 0
print("0 == ",selectArr)
for item in recordArr{ for item in recordArr{
if item.chuHuoLiang != nil { if item.chuHuoLiang != nil {
totalCount += item.chuHuoLiang! totalCount += item.chuHuoLiang!
......
...@@ -387,18 +387,14 @@ class CRKListVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,CR ...@@ -387,18 +387,14 @@ class CRKListVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,CR
alertView.titileLbl.text = "是否通过审核?" alertView.titileLbl.text = "是否通过审核?"
alertView.rightBtn.setAttributedTitle(NSAttributedString(string: "确定"), for: .normal) alertView.rightBtn.setAttributedTitle(NSAttributedString(string: "确定"), for: .normal)
self.view.window?.addSubview(alertView) self.view.window?.addSubview(alertView)
return
} }
if io_type == 2 { if io_type == 2 {
print("1",cell.tag)
let alterView = GeliAlertTextView(frame: self.view.window!.bounds) let alterView = GeliAlertTextView(frame: self.view.window!.bounds)
alterView.delegate = self alterView.delegate = self
self.view.window?.addSubview(alterView) self.view.window?.addSubview(alterView)
isPass = true isPass = true
} }
}else{//不通过 }else{//不通过
print("2",cell.tag)
let alterView = GeliAlertTextView(frame: self.view.window!.bounds) let alterView = GeliAlertTextView(frame: self.view.window!.bounds)
alterView.delegate = self alterView.delegate = self
self.view.window?.addSubview(alterView) self.view.window?.addSubview(alterView)
......
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