Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
b5a399f0
Commit
b5a399f0
authored
Jul 07, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增采购列表cell
parent
952b06f9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
563 additions
and
5 deletions
+563
-5
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+8
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/Cell/CGDListCell2.swift
GeliBusinessPlatform/View/Cell/CGDListCell2.swift
+298
-0
GeliBusinessPlatform/View/Cell/CGDListCell2.xib
GeliBusinessPlatform/View/Cell/CGDListCell2.xib
+252
-0
GeliBusinessPlatform/ViewController/采购单列表/CGDListVC.swift
GeliBusinessPlatform/ViewController/采购单列表/CGDListVC.swift
+5
-5
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
b5a399f0
...
...
@@ -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 */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
b5a399f0
No preview for this file type
GeliBusinessPlatform/View/Cell/CGDListCell2.swift
0 → 100644
View file @
b5a399f0
//
// CGDListCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/6/10.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
protocol
CGDListCell2Delegate
{
func
allBtnSubmit
(
sender
:
UIButton
)
}
class
CGDListCell2
:
UITableViewCell
{
//销售下单图标
@IBOutlet
weak
var
formLbl
:
UILabel
!
///预售图标
@IBOutlet
weak
var
yuShouStatus
:
UILabel
!
///标题左间距
@IBOutlet
weak
var
nameLblLeft
:
NSLayoutConstraint
!
///图标
@IBOutlet
weak
var
leftIcon
:
UIImageView
!
///列表底图
@IBOutlet
weak
var
listBgView
:
UIView
!
///按钮底图
@IBOutlet
weak
var
btnBgView
:
UIView
!
///数量
@IBOutlet
weak
var
countLbl
:
UILabel
!
///价格
@IBOutlet
weak
var
priceLbl
:
UILabel
!
///状态
@IBOutlet
weak
var
statusLbl
:
UILabel
!
///标题
@IBOutlet
weak
var
nameLbl
:
UILabel
!
///时间
@IBOutlet
weak
var
timeLbl
:
UILabel
!
var
delegate
:
CGDListCellDelegate
?
//订单列表数据
var
dataArr
:
Array
<
OrderListGoodsModel
>
?
//采购列表数据
var
cgDataArr
:
Array
<
PurchaseOrderListDataItemsModel
>
?
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
// Initialization code
}
override
func
layoutIfNeeded
()
{
if
dataArr
!=
nil
{
setListView
(
arr
:
dataArr
!
)
}
if
cgDataArr
!=
nil
{
setCGDListView
(
arr
:
cgDataArr
!
)
}
super
.
layoutIfNeeded
()
}
func
setCGDBtnUI
(
arr
:
Array
<
String
>
,
index
:
Int
){
//按钮
btnBgView
.
subviews
.
forEach
{
(
view
)
in
view
.
removeFromSuperview
()
}
var
tempBtn
:
UIButton
?
=
nil
arr
.
forEach
{
(
str
)
in
let
rightBtn
=
UIButton
(
type
:
.
custom
)
rightBtn
.
layer
.
borderWidth
=
1
rightBtn
.
tag
=
index
rightBtn
.
backgroundColor
=
UIColor
.
white
rightBtn
.
layer
.
borderColor
=
UIColor
.
init
(
named
:
"按钮渐变色上"
)?
.
cgColor
rightBtn
.
setTitleColor
(
UIColor
.
init
(
named
:
"按钮渐变色上"
),
for
:
.
normal
)
rightBtn
.
titleLabel
?
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
rightBtn
.
layer
.
cornerRadius
=
2
rightBtn
.
isUserInteractionEnabled
=
true
if
str
==
"查看详情"
{
rightBtn
.
setTitle
(
str
,
for
:
.
normal
)
rightBtn
.
isUserInteractionEnabled
=
false
}
else
if
str
==
"修改信息"
||
str
==
"通过"
{
rightBtn
.
setTitle
(
str
,
for
:
.
normal
)
rightBtn
.
setTitleColor
(
UIColor
.
white
,
for
:
.
normal
)
rightBtn
.
backgroundColor
=
UIColor
.
init
(
named
:
"按钮渐变色上"
)
rightBtn
.
layer
.
borderColor
=
UIColor
.
init
(
named
:
"按钮渐变色上"
)?
.
cgColor
}
else
if
str
==
"取消"
{
rightBtn
.
setTitle
(
str
,
for
:
.
normal
)
}
else
if
str
==
"撤销入库"
{
rightBtn
.
setTitle
(
str
,
for
:
.
normal
)
}
else
if
str
==
"入库"
{
rightBtn
.
setTitle
(
str
,
for
:
.
normal
)
}
else
if
str
==
"补录入库"
{
rightBtn
.
setTitle
(
str
,
for
:
.
normal
)
}
else
if
str
==
"不通过"
{
rightBtn
.
setTitle
(
str
,
for
:
.
normal
)
}
btnBgView
.
addSubview
(
rightBtn
)
if
tempBtn
==
nil
{
rightBtn
.
snp
.
makeConstraints
{
(
make
)
in
make
.
width
.
equalTo
(
82*
glscale
)
make
.
height
.
equalTo
(
30
)
make
.
right
.
equalTo
(
0
)
make
.
top
.
equalTo
(
0
)
}
}
else
{
rightBtn
.
snp
.
makeConstraints
{
(
make
)
in
make
.
width
.
equalTo
(
82*
glscale
)
make
.
height
.
equalTo
(
30
)
make
.
right
.
equalTo
(
tempBtn
!.
snp_left
)
.
offset
(
-
15
)
make
.
top
.
equalTo
(
0
)
}
}
rightBtn
.
addTarget
(
self
,
action
:
#selector(
btnAction(sender:)
)
,
for
:
.
touchUpInside
)
tempBtn
=
rightBtn
}
}
//订单列表设置底部按钮
func
setBtnView
(
arr
:
Array
<
String
>
,
index
:
Int
){
//按钮
btnBgView
.
subviews
.
forEach
{
(
view
)
in
view
.
removeFromSuperview
()
}
var
tempBtn
:
UIButton
?
=
nil
arr
.
forEach
{
(
str
)
in
let
rightBtn
=
UIButton
(
type
:
.
custom
)
rightBtn
.
layer
.
borderWidth
=
1
rightBtn
.
tag
=
index
rightBtn
.
backgroundColor
=
UIColor
.
white
rightBtn
.
layer
.
borderColor
=
UIColor
.
init
(
named
:
"按钮渐变色上"
)?
.
cgColor
rightBtn
.
setTitleColor
(
UIColor
.
init
(
named
:
"按钮渐变色上"
),
for
:
.
normal
)
rightBtn
.
titleLabel
?
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
rightBtn
.
layer
.
cornerRadius
=
2
if
str
==
"查看详情"
{
rightBtn
.
setTitle
(
"查看详情"
,
for
:
.
normal
)
}
else
if
str
==
"确认订单"
{
rightBtn
.
setTitle
(
"确认订单"
,
for
:
.
normal
)
rightBtn
.
setTitleColor
(
UIColor
.
white
,
for
:
.
normal
)
rightBtn
.
backgroundColor
=
UIColor
.
init
(
named
:
"按钮渐变色上"
)
rightBtn
.
layer
.
borderColor
=
UIColor
.
init
(
named
:
"按钮渐变色上"
)?
.
cgColor
}
else
if
str
==
"取消订单"
{
rightBtn
.
setTitle
(
"取消订单"
,
for
:
.
normal
)
}
else
if
str
==
"付款码"
{
rightBtn
.
setTitle
(
"付款码"
,
for
:
.
normal
)
}
btnBgView
.
addSubview
(
rightBtn
)
if
tempBtn
==
nil
{
rightBtn
.
snp
.
makeConstraints
{
(
make
)
in
make
.
width
.
equalTo
(
82*
glscale
)
make
.
height
.
equalTo
(
30
)
make
.
right
.
equalTo
(
0
)
make
.
top
.
equalTo
(
0
)
}
}
else
{
rightBtn
.
snp
.
makeConstraints
{
(
make
)
in
make
.
width
.
equalTo
(
82*
glscale
)
make
.
height
.
equalTo
(
30
)
make
.
right
.
equalTo
(
tempBtn
!.
snp_left
)
.
offset
(
-
15
)
make
.
top
.
equalTo
(
0
)
}
}
rightBtn
.
addTarget
(
self
,
action
:
#selector(
btnAction(sender:)
)
,
for
:
.
touchUpInside
)
tempBtn
=
rightBtn
}
}
//订单列表底部按钮方法
@objc
func
btnAction
(
sender
:
UIButton
){
self
.
delegate
?
.
allBtnSubmit
(
sender
:
sender
)
}
//订单列表设置数据
func
setCGDListView
(
arr
:
Array
<
PurchaseOrderListDataItemsModel
>
){
//列表
listBgView
.
subviews
.
forEach
{
(
view
)
in
view
.
removeFromSuperview
()
}
if
arr
.
count
>
0
{
var
num
=
0
if
arr
.
count
>
4
{
num
=
4
}
else
{
num
=
arr
.
count
}
for
i
in
0
..<
num
{
let
model
=
arr
[
i
]
let
view
=
UIView
()
listBgView
.
addSubview
(
view
)
view
.
backgroundColor
=
UIColor
.
white
view
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
i
*
49
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
49
)
}
if
i
!=
num
-
1
{
let
dotLine
=
UIImageView
()
view
.
addSubview
(
dotLine
)
dotLine
.
image
=
UIImage
(
named
:
"dotLine"
)
dotLine
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
15
)
make
.
bottom
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
1
)
}
}
let
lbl
=
UILabel
()
lbl
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
lbl
.
textColor
=
UIColor
(
named
:
"灰色字体颜色"
)
lbl
.
text
=
model
.
goods_name
view
.
addSubview
(
lbl
)
lbl
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
15
)
make
.
bottom
.
top
.
equalTo
(
0
)
make
.
right
.
equalTo
(
-
80*
glscale
)
}
let
lbl2
=
UILabel
()
lbl2
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
lbl2
.
textColor
=
UIColor
(
named
:
"灰色字体颜色"
)
lbl2
.
text
=
"x"
+
"
\(
model
.
num
!
)
"
lbl2
.
textAlignment
=
.
right
view
.
addSubview
(
lbl2
)
lbl2
.
snp
.
makeConstraints
{
(
make
)
in
make
.
right
.
equalTo
(
-
15
)
make
.
bottom
.
left
.
top
.
equalTo
(
0
)
}
}
}
}
//订单列表设置数据
func
setListView
(
arr
:
Array
<
OrderListGoodsModel
>
){
//列表
listBgView
.
subviews
.
forEach
{
(
view
)
in
view
.
removeFromSuperview
()
}
if
arr
.
count
>
0
{
var
num
=
0
if
arr
.
count
>
4
{
num
=
4
}
else
{
num
=
arr
.
count
}
for
i
in
0
..<
num
{
let
model
=
arr
[
i
]
let
view
=
UIView
()
listBgView
.
addSubview
(
view
)
view
.
backgroundColor
=
UIColor
.
white
view
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
i
*
49
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
49
)
}
if
i
!=
num
-
1
{
let
dotLine
=
UIImageView
()
view
.
addSubview
(
dotLine
)
dotLine
.
image
=
UIImage
(
named
:
"dotLine"
)
dotLine
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
15
)
make
.
bottom
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
1
)
}
}
let
lbl
=
UILabel
()
lbl
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
lbl
.
textColor
=
UIColor
(
named
:
"灰色字体颜色"
)
lbl
.
text
=
model
.
goods_name
view
.
addSubview
(
lbl
)
lbl
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
15
)
make
.
bottom
.
top
.
equalTo
(
0
)
make
.
right
.
equalTo
(
-
80*
glscale
)
}
let
lbl2
=
UILabel
()
lbl2
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
lbl2
.
textColor
=
UIColor
(
named
:
"灰色字体颜色"
)
lbl2
.
text
=
"x"
+
"
\(
model
.
goods_number
!
)
"
lbl2
.
textAlignment
=
.
right
view
.
addSubview
(
lbl2
)
lbl2
.
snp
.
makeConstraints
{
(
make
)
in
make
.
right
.
equalTo
(
-
15
)
make
.
bottom
.
left
.
top
.
equalTo
(
0
)
}
}
}
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
}
GeliBusinessPlatform/View/Cell/CGDListCell2.xib
0 → 100644
View file @
b5a399f0
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<tableViewCell
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
id=
"KGk-i7-Jjw"
customClass=
"CGDListCell2"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"172"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"KGk-i7-Jjw"
id=
"H2p-sc-9uM"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"172"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"时间"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3yk-m6-Ebz"
>
<rect
key=
"frame"
x=
"0.0"
y=
"157"
width=
"375"
height=
"15"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"15"
id=
"c2Y-cH-Ffb"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"个人中心灰色字体"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"xNb-6a-mWT"
>
<rect
key=
"frame"
x=
"15"
y=
"15"
width=
"345"
height=
"137"
/>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"kehu"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"HVh-eU-WcT"
>
<rect
key=
"frame"
x=
"15"
y=
"15"
width=
"15"
height=
"17.5"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"15"
id=
"crS-yy-uqC"
/>
<constraint
firstAttribute=
"height"
constant=
"17.5"
id=
"q0W-cG-7kX"
/>
</constraints>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"标题"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"CPQ-JB-dO9"
>
<rect
key=
"frame"
x=
"35"
y=
"16"
width=
"27"
height=
"16"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"状态"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2ga-12-xdH"
>
<rect
key=
"frame"
x=
"303"
y=
"16"
width=
"27"
height=
"16"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"#F57575"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"7hI-Mv-St2"
>
<rect
key=
"frame"
x=
"0.0"
y=
"47.5"
width=
"345"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"oSf-C9-7Bu"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"wn2-a8-osu"
>
<rect
key=
"frame"
x=
"0.0"
y=
"48.5"
width=
"345"
height=
"88.5"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"af6-jB-Vui"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"345"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"f0l-Vm-Nba"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"金额"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"gXv-WF-NRU"
>
<rect
key=
"frame"
x=
"303"
y=
"11"
width=
"27"
height=
"18.5"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"18.5"
id=
"5rE-x3-Uxn"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"#F57575"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"件,金额:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"aXp-oN-Cl6"
>
<rect
key=
"frame"
x=
"236.5"
y=
"12.5"
width=
"66.5"
height=
"16"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"件"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"J1p-oh-7KC"
>
<rect
key=
"frame"
x=
"212.5"
y=
"12.5"
width=
"14"
height=
"16"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"#F57575"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"共"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Fv7-Qm-wPF"
>
<rect
key=
"frame"
x=
"188.5"
y=
"12.5"
width=
"14"
height=
"16"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"KO3-dv-aSL"
>
<rect
key=
"frame"
x=
"15"
y=
"43.5"
width=
"315"
height=
"30"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"30"
id=
"MiX-0n-brC"
/>
</constraints>
</view>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstItem=
"aXp-oN-Cl6"
firstAttribute=
"leading"
secondItem=
"J1p-oh-7KC"
secondAttribute=
"trailing"
constant=
"10"
id=
"2ki-px-UcJ"
/>
<constraint
firstItem=
"Fv7-Qm-wPF"
firstAttribute=
"centerY"
secondItem=
"J1p-oh-7KC"
secondAttribute=
"centerY"
id=
"3db-dH-3ub"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"af6-jB-Vui"
secondAttribute=
"trailing"
id=
"Cnv-3g-kB6"
/>
<constraint
firstItem=
"af6-jB-Vui"
firstAttribute=
"leading"
secondItem=
"wn2-a8-osu"
secondAttribute=
"leading"
id=
"DTm-bN-EPt"
/>
<constraint
firstItem=
"af6-jB-Vui"
firstAttribute=
"top"
secondItem=
"wn2-a8-osu"
secondAttribute=
"top"
id=
"Nmq-m0-EW7"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"gXv-WF-NRU"
secondAttribute=
"trailing"
constant=
"15"
id=
"Tdo-O5-wyT"
/>
<constraint
firstAttribute=
"height"
constant=
"88.5"
id=
"Ylm-gS-js9"
/>
<constraint
firstItem=
"J1p-oh-7KC"
firstAttribute=
"leading"
secondItem=
"Fv7-Qm-wPF"
secondAttribute=
"trailing"
constant=
"10"
id=
"b43-p1-5Zg"
/>
<constraint
firstItem=
"KO3-dv-aSL"
firstAttribute=
"top"
secondItem=
"J1p-oh-7KC"
secondAttribute=
"bottom"
constant=
"15"
id=
"dfn-NZ-e5n"
/>
<constraint
firstItem=
"J1p-oh-7KC"
firstAttribute=
"centerY"
secondItem=
"aXp-oN-Cl6"
secondAttribute=
"centerY"
id=
"iAf-xT-2J7"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"KO3-dv-aSL"
secondAttribute=
"trailing"
constant=
"15"
id=
"k9b-gf-KIS"
/>
<constraint
firstItem=
"gXv-WF-NRU"
firstAttribute=
"top"
secondItem=
"af6-jB-Vui"
secondAttribute=
"bottom"
constant=
"10"
id=
"mPQ-UT-IsZ"
/>
<constraint
firstItem=
"aXp-oN-Cl6"
firstAttribute=
"centerY"
secondItem=
"gXv-WF-NRU"
secondAttribute=
"centerY"
id=
"nhU-dI-6vF"
/>
<constraint
firstItem=
"gXv-WF-NRU"
firstAttribute=
"leading"
secondItem=
"aXp-oN-Cl6"
secondAttribute=
"trailing"
id=
"ri8-3x-KS8"
/>
<constraint
firstItem=
"KO3-dv-aSL"
firstAttribute=
"leading"
secondItem=
"wn2-a8-osu"
secondAttribute=
"leading"
constant=
"15"
id=
"w8g-dV-0Of"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ZEQ-bR-jNZ"
>
<rect
key=
"frame"
x=
"0.0"
y=
"48.5"
width=
"345"
height=
"0.0"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
</view>
<label
hidden=
"YES"
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"预售"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ekx-rs-uaM"
>
<rect
key=
"frame"
x=
"67"
y=
"15"
width=
"32"
height=
"18"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"32"
id=
"LHh-n4-Z7e"
/>
<constraint
firstAttribute=
"height"
constant=
"18"
id=
"aij-u3-5HC"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"企业、预售字体"
/>
<nil
key=
"highlightedColor"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"borderColor"
>
<color
key=
"value"
name=
"企业、预售字体"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"borderWidth"
>
<real
key=
"value"
value=
"1"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"2"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</label>
<label
hidden=
"YES"
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"销售下单"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Zir-Fk-Cq5"
>
<rect
key=
"frame"
x=
"67"
y=
"15"
width=
"54"
height=
"18"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"54"
id=
"78U-nU-5I5"
/>
<constraint
firstAttribute=
"height"
constant=
"18"
id=
"tPz-Tv-vSH"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"蓝色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"borderColor"
>
<color
key=
"value"
name=
"蓝色字体颜色"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"borderWidth"
>
<real
key=
"value"
value=
"1"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"2"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</label>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstItem=
"ZEQ-bR-jNZ"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
id=
"3H6-Mf-efn"
/>
<constraint
firstItem=
"HVh-eU-WcT"
firstAttribute=
"top"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"top"
constant=
"15"
id=
"3vl-Na-tUS"
/>
<constraint
firstItem=
"wn2-a8-osu"
firstAttribute=
"top"
secondItem=
"ZEQ-bR-jNZ"
secondAttribute=
"bottom"
id=
"4nM-v6-4eY"
/>
<constraint
firstItem=
"ekx-rs-uaM"
firstAttribute=
"leading"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"trailing"
constant=
"5"
id=
"5O5-f0-Pp7"
/>
<constraint
firstItem=
"ekx-rs-uaM"
firstAttribute=
"centerY"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"centerY"
id=
"66g-c2-yre"
/>
<constraint
firstItem=
"CPQ-JB-dO9"
firstAttribute=
"centerY"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"centerY"
id=
"6qc-GO-WUG"
/>
<constraint
firstItem=
"Zir-Fk-Cq5"
firstAttribute=
"leading"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"trailing"
constant=
"5"
id=
"ANa-Hm-2AY"
/>
<constraint
firstItem=
"Zir-Fk-Cq5"
firstAttribute=
"centerY"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"centerY"
id=
"Ds1-Oi-62z"
/>
<constraint
firstItem=
"CPQ-JB-dO9"
firstAttribute=
"leading"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"trailing"
constant=
"5"
id=
"F2c-jm-aNc"
/>
<constraint
firstItem=
"HVh-eU-WcT"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
constant=
"15"
id=
"I5S-Pm-VYW"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"7hI-Mv-St2"
secondAttribute=
"trailing"
id=
"OFd-nP-Oac"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"wn2-a8-osu"
secondAttribute=
"bottom"
id=
"RkH-CY-G70"
/>
<constraint
firstItem=
"wn2-a8-osu"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
id=
"WxW-JQ-CYI"
/>
<constraint
firstItem=
"2ga-12-xdH"
firstAttribute=
"centerY"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"centerY"
id=
"aRg-N2-bld"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"2ga-12-xdH"
secondAttribute=
"trailing"
constant=
"15"
id=
"ghl-EH-oVU"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ZEQ-bR-jNZ"
secondAttribute=
"trailing"
id=
"qLc-bo-y4p"
/>
<constraint
firstItem=
"ZEQ-bR-jNZ"
firstAttribute=
"top"
secondItem=
"7hI-Mv-St2"
secondAttribute=
"bottom"
id=
"tlx-vS-U17"
/>
<constraint
firstItem=
"7hI-Mv-St2"
firstAttribute=
"top"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"bottom"
constant=
"15"
id=
"tp0-bW-35O"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"wn2-a8-osu"
secondAttribute=
"trailing"
id=
"vCW-9V-dfX"
/>
<constraint
firstItem=
"7hI-Mv-St2"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
id=
"zgN-X2-PS5"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"10"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<constraints>
<constraint
firstItem=
"3yk-m6-Ebz"
firstAttribute=
"top"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"bottom"
constant=
"5"
id=
"IqZ-aY-RL3"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"3yk-m6-Ebz"
secondAttribute=
"trailing"
id=
"R6B-k0-DTx"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"trailing"
constant=
"15"
id=
"bCl-C9-R84"
/>
<constraint
firstItem=
"3yk-m6-Ebz"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
id=
"bnC-o8-hZN"
/>
<constraint
firstItem=
"xNb-6a-mWT"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
constant=
"15"
id=
"cvz-wH-Giy"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"3yk-m6-Ebz"
secondAttribute=
"bottom"
id=
"gTq-FH-uqM"
/>
<constraint
firstItem=
"xNb-6a-mWT"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"hMZ-Hc-nFG"
/>
</constraints>
</tableViewCellContentView>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"btnBgView"
destination=
"KO3-dv-aSL"
id=
"FKG-4d-9rD"
/>
<outlet
property=
"countLbl"
destination=
"J1p-oh-7KC"
id=
"brI-AH-qUH"
/>
<outlet
property=
"formLbl"
destination=
"Zir-Fk-Cq5"
id=
"umP-9h-1on"
/>
<outlet
property=
"leftIcon"
destination=
"HVh-eU-WcT"
id=
"dMO-qL-wPe"
/>
<outlet
property=
"listBgView"
destination=
"ZEQ-bR-jNZ"
id=
"tlg-VJ-Qsv"
/>
<outlet
property=
"nameLbl"
destination=
"CPQ-JB-dO9"
id=
"iu0-NX-a71"
/>
<outlet
property=
"nameLblLeft"
destination=
"F2c-jm-aNc"
id=
"HWs-sw-XVh"
/>
<outlet
property=
"priceLbl"
destination=
"gXv-WF-NRU"
id=
"VRb-af-Nta"
/>
<outlet
property=
"statusLbl"
destination=
"2ga-12-xdH"
id=
"rf1-RB-YLe"
/>
<outlet
property=
"timeLbl"
destination=
"3yk-m6-Ebz"
id=
"vn8-8A-1YE"
/>
<outlet
property=
"yuShouStatus"
destination=
"ekx-rs-uaM"
id=
"O20-FR-ggQ"
/>
</connections>
<point
key=
"canvasLocation"
x=
"131.15942028985509"
y=
"96.428571428571431"
/>
</tableViewCell>
</objects>
<resources>
<image
name=
"kehu"
width=
"17"
height=
"18.5"
/>
<namedColor
name=
"#F57575"
>
<color
red=
"0.96100002527236938"
green=
"0.45899999141693115"
blue=
"0.45899999141693115"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"app底色"
>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"个人中心灰色字体"
>
<color
red=
"0.3919999897480011"
green=
"0.3919999897480011"
blue=
"0.3919999897480011"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"企业、预售字体"
>
<color
red=
"1"
green=
"0.68999999761581421"
blue=
"0.47099998593330383"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色分界线"
>
<color
red=
"0.92941176470588238"
green=
"0.92941176470588238"
blue=
"0.92941176470588238"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"蓝色字体颜色"
>
<color
red=
"0.27843137254901962"
green=
"0.5607843137254902"
blue=
"0.8901960784313725"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/采购单列表/CGDListVC.swift
View file @
b5a399f0
...
...
@@ -9,7 +9,7 @@
import
UIKit
import
ViewAnimator
//cell动效
class
CGDListVC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
GeliAlertViewDelegate
,
CGDListCell
Delegate
,
CGDXQVcDelegate
,
XinCaiGouViewControllerDelegate
,
NewRKVcDelegate
,
GeliAlertTextView
Delegate
{
class
CGDListVC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
GeliAlertViewDelegate
,
CGDListCell
2Delegate
,
CGDXQVcDelegate
,
XinCaiGouViewControllerDelegate
,
NewRKVcDelegate
,
GeliAlertTextViewDelegate
,
CGDListCell
Delegate
{
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
:
"CGDListCell
2"
)
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
:
"CGDListCell
2"
,
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底色"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment