Commit 1217db54 authored by lujunye's avatar lujunye

隐藏掉退定金

parent f51634c4
......@@ -234,9 +234,9 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
if rowModel.shipping_status == 1 && rowModel.pay_status == 0 {
btnStr = ["退货"]
}
if rowModel.shipping_status == 0 && rowModel.pay_status == 12 {
btnStr = ["退定金"]
}
// if rowModel.shipping_status == 0 && rowModel.pay_status == 12 {
// btnStr = ["退定金"]
// }
break
case 5://交易完成
btnStr = ["查看详情"]
......@@ -304,8 +304,6 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
alertView.rightBtn.setAttributedTitle(NSAttributedString(string: "同意"), for: .normal)
alertView.rightBtn.tag = rowModel.order_id!
self.view.window?.addSubview(alertView)
}else if sender.titleLabel?.text == "拒绝接单"{
isSrueOrder = 2
......@@ -325,6 +323,8 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
alertView.rightBtn.setAttributedTitle(NSAttributedString(string: "确认"), for: .normal)
alertView.rightBtn.tag = rowModel.order_id!
self.view.window?.addSubview(alertView)
}else if sender.titleLabel?.text == "退定金"{
}else if sender.titleLabel?.text == "同意退款" || sender.titleLabel?.text == "同意退款退货" || sender.titleLabel?.text == "同意退货"{
isSrueOrder = 5
......
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