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
cc71cc49
Commit
cc71cc49
authored
Jul 21, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化客户地址显示异常
parent
e33e60a5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
80 deletions
+56
-80
PersonInformationTableViewCell.h
...Client/Orderdetails/View/PersonInformationTableViewCell.h
+0
-22
PersonInformationTableViewCell.m
...Client/Orderdetails/View/PersonInformationTableViewCell.m
+2
-2
GenerateOrdersViewController.m
...ss/Shoppingcart/Controller/GenerateOrdersViewController.m
+0
-2
OppleMain.storyboard
Lighting/StoryBoards/OppleMain.storyboard
+54
-54
No files found.
Lighting/Class/MyClient/Orderdetails/View/PersonInformationTableViewCell.h
View file @
cc71cc49
...
...
@@ -20,38 +20,16 @@
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
customerName
;
/**
* 公司名称
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
companyName
;
/**
* 电子邮箱
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
emailName
;
/**
* 公司地址
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
companyLocation
;
/**
* 手机号码
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
customerPhoneNumber
;
/**
* 电话号码
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
customerNumbers
;
/**
* QQ
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
customerQQNumber
;
/**
* 订单数据
*/
...
...
Lighting/Class/MyClient/Orderdetails/View/PersonInformationTableViewCell.m
View file @
cc71cc49
...
...
@@ -19,7 +19,7 @@
self
.
customerName
.
text
=
model
.
name
;
self
.
companyName
.
text
=
model
.
company
;
self
.
customerPhoneNumber
.
text
=
model
.
mobile
;
self
.
c
ompanyLocation
.
text
=
[
BaseViewController
isMunicipality
:
model
.
province
withCity
:
model
.
city
withCountry
:
model
.
country
withDetailAddress
:
model
.
address
];
self
.
c
ustomerAddress
.
text
=
[
BaseViewController
isMunicipality
:
model
.
province
withCity
:
model
.
city
withCountry
:
model
.
country
withDetailAddress
:
model
.
address
];
}
-
(
void
)
setModel
:
(
TOConsumerEntity
*
)
model
...
...
@@ -29,7 +29,7 @@
self
.
customerName
.
text
=
_model
.
name
;
self
.
companyName
.
text
=
_model
.
company
;
self
.
customerPhoneNumber
.
text
=
_model
.
mobile
;
self
.
c
ompanyLocation
.
text
=
[
BaseViewController
isMunicipality
:
model
.
province
withCity
:
model
.
city
withCountry
:
model
.
country
withDetailAddress
:
model
.
address
];
self
.
c
ustomerAddress
.
text
=
[
BaseViewController
isMunicipality
:
model
.
province
withCity
:
model
.
city
withCountry
:
model
.
country
withDetailAddress
:
model
.
address
];
}
...
...
Lighting/Class/Shoppingcart/Controller/GenerateOrdersViewController.m
View file @
cc71cc49
...
...
@@ -138,9 +138,7 @@
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
if
(
indexPath
.
section
==
0
&&
indexPath
.
row
==
0
)
{
PersonInformationTableViewCell
*
cell
=
[
tableView
dequeueReusableCellWithIdentifier
:
@"secondcell"
forIndexPath
:
indexPath
];
cell
.
selectionStyle
=
UITableViewCellSelectionStyleNone
;
return
cell
;
...
...
Lighting/StoryBoards/OppleMain.storyboard
View file @
cc71cc49
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