Commit d9ae6b49 authored by lujunye's avatar lujunye

按私服撒旦撒旦法

parent 8824f785
......@@ -31,7 +31,7 @@ let SERVERCE_ImageHost = "https://z.gelifood.com/"
let SERVERCE_HOST = "https://z.gelifood.com/admin/"
//let SERVERCE_ImageHost = "https://zx.gelifood.com/"
//let SERVERCE_HOST = "https://zx.gelifood.com/admin/"
////online
//online
//视图常量
let IS_IPHONE_X = __CGSizeEqualToSize(CGSize(width: 375.0, height: 812.0),UIScreen.main.bounds.size) || __CGSizeEqualToSize(CGSize(width: 812.0, height: 375.0),UIScreen.main.bounds.size) || __CGSizeEqualToSize(CGSize(width: 414.0, height: 896.0),UIScreen.main.bounds.size ) || __CGSizeEqualToSize(CGSize(width: 896.0, height: 414.0),UIScreen.main.bounds.size)
......
......@@ -312,11 +312,13 @@ class orderDetailsData_model: Mappable {
var pay_time:String? //支付时间
var pph_info :pph_info_data?
var freight :Float? //实际运费
var pay_type:String?
required init?( map: Map) {
}
func mapping(map: Map) {
order_sn <- map["order_sn"]
pay_type <- map["pay_type"]
sale_plat <- map["sale_plat"]
delivery_status <- map["delivery_status"]
freight <- map["freight"]
......
......@@ -10,6 +10,7 @@ import UIKit
class PPH_XQ_Cell: UITableViewCell {
@IBOutlet weak var pay_type_lbl: UILabel!
@IBOutlet weak var time_lbl: UILabel!
@IBOutlet weak var cost_lbl: UILabel!
@IBOutlet weak var order_lbl: UILabel!
......
......@@ -159,6 +159,7 @@
<outlet property="cost_lbl" destination="p8t-oj-5gF" id="NpM-hi-qgS"/>
<outlet property="driver_lbl" destination="hcd-7G-dIO" id="E53-GK-kqw"/>
<outlet property="order_lbl" destination="6y7-JH-fI5" id="A7i-D9-KI5"/>
<outlet property="pay_type_lbl" destination="ofn-Zg-CyK" id="DxA-kg-6Gz"/>
<outlet property="plan_lbl" destination="Kiz-Dd-7Y9" id="kB2-JI-PdB"/>
<outlet property="time_lbl" destination="7Tx-2i-pY4" id="rK9-EV-kNx"/>
</connections>
......
......@@ -33,6 +33,7 @@ class PPH_YDXQ_VC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
var id:Int = -1
var userToken = ""
var wb_no = ""
var payType = "格利支付"
@IBAction func cancel_action(_ sender: Any) {
if btm_title_lbl.text == "取消订单" {
......@@ -136,7 +137,7 @@ class PPH_YDXQ_VC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
}
cost = \(modelData!.freight!)"
pay_time = (modelData?.pay_time!)!
payType = modelData!.pay_type!
list_view.reloadData()
} failture: { (err) in
......@@ -173,6 +174,7 @@ class PPH_YDXQ_VC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
cell.order_lbl.text = order
cell.cost_lbl.text = cost
cell.time_lbl.text = pay_time
cell.pay_type_lbl.text = payType
return cell
}
let cell = tableView.dequeueReusableCell(withIdentifier: "PPH_Detail_Cell") as! PPH_Detail_Cell
......
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