Commit 8bd6e879 authored by 刘俊宏's avatar 刘俊宏

596 ios:订单详情,格利食品网前端下单(APP、小程序、官网)的订单,支付方式修改禁用,点击时提示“线上支付无法修改”,不进入支付方式选择浮层。

parent b68de025
......@@ -576,6 +576,11 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
break
}
//追加pay_type
if self.dataMdoel?.order_res?.pay_type == 1 || self.dataMdoel?.order_res?.pay_type == 2 || self.dataMdoel?.order_res?.pay_type == 6 {
cell.arrowImg.isHidden = true
cell.contentRight.constant = 15
}
if !isCaneditLatsData {
cell.arrowImg.isHidden = true
......@@ -713,7 +718,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
break
case "支付方式":
if self.dataMdoel?.order_res?.pay_type == 11 || self.dataMdoel?.order_res?.pay_type == 12 {
if self.dataMdoel?.order_res?.pay_type == 11 || self.dataMdoel?.order_res?.pay_type == 12 || self.dataMdoel?.order_res?.pay_type == 1 || self.dataMdoel?.order_res?.pay_type == 2 || self.dataMdoel?.order_res?.pay_type == 6{
return
}
......@@ -735,7 +740,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
//无需处理:根据网络变更
break
case "定金支付方式":
if self.dataMdoel?.order_res?.sale_res?.dj_pay_type == 11 || self.dataMdoel?.order_res?.sale_res?.dj_pay_type == 12 {
if self.dataMdoel?.order_res?.sale_res?.dj_pay_type == 11 || self.dataMdoel?.order_res?.sale_res?.dj_pay_type == 12 || self.dataMdoel?.order_res?.sale_res?.dj_pay_type == 1 || self.dataMdoel?.order_res?.sale_res?.dj_pay_type == 2 || self.dataMdoel?.order_res?.sale_res?.dj_pay_type == 6{
return
}
......@@ -753,7 +758,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
break
case "尾款支付方式":
if self.dataMdoel?.order_res?.sale_res?.wk_pay_type == 11 || self.dataMdoel?.order_res?.sale_res?.wk_pay_type == 12 {
if self.dataMdoel?.order_res?.sale_res?.wk_pay_type == 11 || self.dataMdoel?.order_res?.sale_res?.wk_pay_type == 12 || self.dataMdoel?.order_res?.sale_res?.wk_pay_type == 1 || self.dataMdoel?.order_res?.sale_res?.wk_pay_type == 2 || self.dataMdoel?.order_res?.sale_res?.wk_pay_type == 6{
return
}
print("尾款支付方式")
......
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