Commit b5a399f0 authored by lujunye's avatar lujunye

新增采购列表cell

parent 952b06f9
......@@ -162,6 +162,8 @@
E06524FE24581BD900CA22E2 /* PiCiXuanZeViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E06524FC24581BD900CA22E2 /* PiCiXuanZeViewController.xib */; };
E0706EF424B40BE800D8251C /* TitleAndTfYuanCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0706EF224B40BE800D8251C /* TitleAndTfYuanCell.swift */; };
E0706EF524B40BE800D8251C /* TitleAndTfYuanCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0706EF324B40BE800D8251C /* TitleAndTfYuanCell.xib */; };
E0706EF824B4796400D8251C /* CGDListCell2.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0706EF624B4796400D8251C /* CGDListCell2.swift */; };
E0706EF924B4796400D8251C /* CGDListCell2.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0706EF724B4796400D8251C /* CGDListCell2.xib */; };
E0707DB8246244EB00E039A8 /* AMapFoundationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E0707DB6246244EA00E039A8 /* AMapFoundationKit.framework */; };
E0707DB9246244EB00E039A8 /* AMapLocationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E0707DB7246244EA00E039A8 /* AMapLocationKit.framework */; };
E0707DBB2462453200E039A8 /* ExternalAccessory.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E0707DBA2462453200E039A8 /* ExternalAccessory.framework */; };
......@@ -737,6 +739,8 @@
E0706EF124B4088500D8251C /* Bridge_Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Bridge_Header.h; sourceTree = "<group>"; };
E0706EF224B40BE800D8251C /* TitleAndTfYuanCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TitleAndTfYuanCell.swift; sourceTree = "<group>"; };
E0706EF324B40BE800D8251C /* TitleAndTfYuanCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = TitleAndTfYuanCell.xib; sourceTree = "<group>"; };
E0706EF624B4796400D8251C /* CGDListCell2.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGDListCell2.swift; sourceTree = "<group>"; };
E0706EF724B4796400D8251C /* CGDListCell2.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = CGDListCell2.xib; sourceTree = "<group>"; };
E0707DB6246244EA00E039A8 /* AMapFoundationKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AMapFoundationKit.framework; sourceTree = "<group>"; };
E0707DB7246244EA00E039A8 /* AMapLocationKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AMapLocationKit.framework; sourceTree = "<group>"; };
E0707DBA2462453200E039A8 /* ExternalAccessory.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ExternalAccessory.framework; path = System/Library/Frameworks/ExternalAccessory.framework; sourceTree = SDKROOT; };
......@@ -2287,6 +2291,8 @@
F9023F642449A3AE00DD5A63 /* Cell */ = {
isa = PBXGroup;
children = (
E0706EF624B4796400D8251C /* CGDListCell2.swift */,
E0706EF724B4796400D8251C /* CGDListCell2.xib */,
E042F732245274F200CDFA12 /* YunDanLieBiaoCell.swift */,
E042F733245274F200CDFA12 /* YunDanLieBiaoCell.xib */,
E042F73A245288F800CDFA12 /* WenDuCell.swift */,
......@@ -3134,6 +3140,7 @@
E0273DDE24551D4500B3FCAE /* OnlyLabelCell.xib in Resources */,
E00D85E5244561FE00F5F816 /* Assets.xcassets in Resources */,
E0206331246CE303007A40C4 /* OrderDViewSumFooter.xib in Resources */,
E0706EF924B4796400D8251C /* CGDListCell2.xib in Resources */,
E0A320C72456D01D00AF321C /* DaiKeXiaDanFooterView.xib in Resources */,
F94A315824628AC600FEC38E /* WorkItemCollectionViewCell.xib in Resources */,
);
......@@ -3400,6 +3407,7 @@
E0DDCB0F244AD8C500DF54C7 /* DaiQueRenCell.swift in Sources */,
E042F74024528CD500CDFA12 /* TitleAndOnlyBtnCell.swift in Sources */,
E0571C6E248DD4DE00E85711 /* AdressInterface.swift in Sources */,
E0706EF824B4796400D8251C /* CGDListCell2.swift in Sources */,
F969BF07244EC38000C79953 /* GoodsCollectionViewCell.swift in Sources */,
F9531F462465108800724BEE /* JXPhotoBrowser.swift in Sources */,
E08A7ADC246505F000F934F2 /* KeHuListViewController.swift in Sources */,
......
This diff is collapsed.
This diff is collapsed.
......@@ -9,7 +9,7 @@
import UIKit
import ViewAnimator //cell动效
class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource, GeliAlertViewDelegate,CGDListCellDelegate,CGDXQVcDelegate,XinCaiGouViewControllerDelegate,NewRKVcDelegate,GeliAlertTextViewDelegate{
class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource, GeliAlertViewDelegate,CGDListCell2Delegate,CGDXQVcDelegate,XinCaiGouViewControllerDelegate,NewRKVcDelegate,GeliAlertTextViewDelegate, CGDListCellDelegate{
var po_id:Int?
func sureGeliAlertTextViewAction(sender: String) {
if isPass == false {
......@@ -133,11 +133,11 @@ class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource
var isGm = false
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "CGDListCell") as! CGDListCell
let cell = tableView.dequeueReusableCell(withIdentifier: "CGDListCell2") as! CGDListCell2
let model = datas[indexPath.row]
cell.cgDataArr = model.goods_res
cell.nameLbl.text = model.user_name!
cell.orderNumerLbl.text = model.po_no!
cell.nameLbl.text = model.po_no!
// cell.orderNumerLbl.text = model.po_no!
cell.statusLbl.isHidden = true
var status = ""
if orderStatus == 2 {
......@@ -337,7 +337,7 @@ class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource
listView.delegate = self
listView.dataSource = self
listView.separatorStyle = .none
listView?.register(UINib(nibName: "CGDListCell", bundle: nil), forCellReuseIdentifier: "CGDListCell")
listView?.register(UINib(nibName: "CGDListCell2", bundle: nil), forCellReuseIdentifier: "CGDListCell2")
let footerTbV = UIView(frame: CGRect(x: 0, y: 0, width: view.frame.size.width, height: 15*glscale))
footerTbV.backgroundColor = UIColor.init(named: "app底色")
......
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