Commit ed10cc9d authored by lujunye's avatar lujunye

修复支付状态点击bug

parent 416f8e9d
......@@ -112,9 +112,12 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
self.bottomView.addSubview(btn)
}
}
if self.dataMdoel?.order_res?.order_status == 2 || self.dataMdoel?.order_res?.order_status == 5 {
self.isCaneditLatsData = false
}
if self.dataMdoel?.order_res!.pay_status_cn == "已付款"{
self.isCaneditLatsData = false
}
self.listView.reloadData()
......@@ -1156,7 +1159,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
break
case 6:
// str = "待发货"
titleArr = ["发货","取消订单"]
titleArr = ["取消订单","发货"]
if self.dataMdoel!.order_res?.pay_status == 0 {
titleArr = ["发货","取消订单","确认收款"]
if self.dataMdoel!.order_res?.goods_before_pay == 1 && lmIdx == 1{
......@@ -1169,7 +1172,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
break
case 7:
// str = "待收货"
titleArr = ["确认收货","退货退款","退款"]
titleArr = ["退款","确认收货"]
if self.dataMdoel!.order_res?.pay_status == 0 {
titleArr = ["确认收款","取消订单","确认收货"]
}
......@@ -1214,7 +1217,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
break
case 10:
// str = "订单关闭"str = "已取消" //用户取消(预售
titleArr = ["退货退款","查看订单"]
// titleArr = ["查看订单"]
if self.dataMdoel!.order_res?.pay_status == 0 {
titleArr = ["确认收款"]
}
......
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