Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
Opple-iOS
Commits
0bac9789
Commit
0bac9789
authored
May 24, 2016
by
勾芒
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
2b97d8ec
44fcdda1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
28 deletions
+34
-28
CustomerOrderTableViewCell.m
Lighting/Class/CustomerOrderTableViewCell.m
+7
-1
StoryboardwithCYX.storyboard
Lighting/Lighting/StoryboardwithCYX.storyboard
+27
-27
No files found.
Lighting/Class/CustomerOrderTableViewCell.m
View file @
0bac9789
...
@@ -44,17 +44,23 @@
...
@@ -44,17 +44,23 @@
self
.
customerName
.
text
=
_model
.
consumer
.
name
;
self
.
customerName
.
text
=
_model
.
consumer
.
name
;
[
self
.
customerHeader
sd_setImageWithURL
:[
NSURL
URLWithString
:
_model
.
consumer
.
picture
]
placeholderImage
:
ReplaceImage
];
[
self
.
customerHeader
sd_setImageWithURL
:[
NSURL
URLWithString
:
_model
.
consumer
.
picture
]
placeholderImage
:
ReplaceImage
];
self
.
orderStatus
.
text
=
_model
.
order
.
orderState
;
self
.
orderStatus
.
text
=
_model
.
order
.
orderState
;
self
.
styleNumber
.
text
=
_model
.
order
.
goodsNum
;
//
self.styleNumber.text = _model.order.goodsNum;
self
.
consigneeName
.
text
=
_model
.
order
.
receiverName
;
self
.
consigneeName
.
text
=
_model
.
order
.
receiverName
;
self
.
consigneePhoneNumber
.
text
=
_model
.
order
.
receiverMobile
;
self
.
consigneePhoneNumber
.
text
=
_model
.
order
.
receiverMobile
;
self
.
phoneNumber
.
text
=
_model
.
consumer
.
mobile
;
self
.
phoneNumber
.
text
=
_model
.
consumer
.
mobile
;
self
.
consigneeAddress
.
text
=
_model
.
order
.
receiverAddress
;
self
.
consigneeAddress
.
text
=
_model
.
order
.
receiverAddress
;
NSInteger
goodsAllprice
=
0
;
NSInteger
goodsAllprice
=
0
;
NSInteger
goodsAllnum
=
0
;
for
(
TOOrderdetailEntity
*
goodslist
in
_model
.
orderdetailList
)
{
for
(
TOOrderdetailEntity
*
goodslist
in
_model
.
orderdetailList
)
{
goodsAllprice
+=
[
goodslist
.
goodsTotalPrice
integerValue
];
goodsAllprice
+=
[
goodslist
.
goodsTotalPrice
integerValue
];
goodsAllnum
+=
[
goodslist
.
goodsNum
integerValue
];
}
}
self
.
orderTotalPrice
.
text
=
[
NSString
stringWithFormat
:
@"%ld"
,
goodsAllprice
];
self
.
orderTotalPrice
.
text
=
[
NSString
stringWithFormat
:
@"%ld"
,
goodsAllprice
];
self
.
styleNumber
.
text
=
[
NSString
stringWithFormat
:
@"%ld"
,
goodsAllnum
];
//撤销订单、去支付
//撤销订单、去支付
if
([
_model
.
order
.
orderState
isEqualToString
:
@"001"
])
{
if
([
_model
.
order
.
orderState
isEqualToString
:
@"001"
])
{
self
.
delecteOrder
.
hidden
=
NO
;
self
.
delecteOrder
.
hidden
=
NO
;
...
...
Lighting/Lighting/StoryboardwithCYX.storyboard
View file @
0bac9789
This diff is collapsed.
Click to expand it.
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