Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
xffruit
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
张杰
xffruit
Commits
95dae9b2
Commit
95dae9b2
authored
Mar 02, 2018
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改发运单金额显示
parent
268e9a05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ReceiveProductCell.m
XFFruit/ViewControllers/Receiving/Views/ReceiveProductCell.m
+6
-6
No files found.
XFFruit/ViewControllers/Receiving/Views/ReceiveProductCell.m
View file @
95dae9b2
...
@@ -204,10 +204,10 @@
...
@@ -204,10 +204,10 @@
if
(
transferProduct
.
rctBaseQty
==
nil
)
{
if
(
transferProduct
.
rctBaseQty
==
nil
)
{
self
.
showshjcCountLabel
.
text
=
@"基础数量[实收]:空"
;
self
.
showshjcCountLabel
.
text
=
@"基础数量[实收]:空"
;
}
}
self
.
showbzPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%.
2
f元"
,[
transferProduct
.
packprice
floatValue
]];
self
.
showbzPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%.
4
f元"
,[
transferProduct
.
packprice
floatValue
]];
self
.
showjcPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础单价:%.
2
f元"
,[
transferProduct
.
price
floatValue
]];
self
.
showjcPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础单价:%.
4
f元"
,[
transferProduct
.
price
floatValue
]];
self
.
showshTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额[实收]:%.
2
f元"
,
self
.
showshTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额[实收]:%.
4
f元"
,
transferProduct
.
rctQty
.
doubleValue
*
transferProduct
.
packprice
.
doubleValue
];
transferProduct
.
rctQty
.
doubleValue
*
transferProduct
.
packprice
.
doubleValue
];
if
(
transferProduct
.
rctTotal
==
nil
)
{
if
(
transferProduct
.
rctTotal
==
nil
)
{
self
.
showshTotalLabel
.
text
=
@"总金额[实收]:空"
;
self
.
showshTotalLabel
.
text
=
@"总金额[实收]:空"
;
...
@@ -215,12 +215,12 @@
...
@@ -215,12 +215,12 @@
self
.
showCounterNum
.
text
=
[
NSString
stringWithFormat
:
@"柜号:%@"
,
transferProduct
.
vnum
?
transferProduct
.
vnum
:
@""
];
self
.
showCounterNum
.
text
=
[
NSString
stringWithFormat
:
@"柜号:%@"
,
transferProduct
.
vnum
?
transferProduct
.
vnum
:
@""
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%.
2
f元"
,
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%.
4
f元"
,
transferProduct
.
packprice
.
doubleValue
*
transferProduct
.
qty
.
doubleValue
];
transferProduct
.
packprice
.
doubleValue
*
transferProduct
.
qty
.
doubleValue
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
transferProduct
.
note
?
transferProduct
.
note
:
@"无"
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
transferProduct
.
note
?
transferProduct
.
note
:
@"无"
];
self
.
showCheckPrice
.
text
=
[
NSString
stringWithFormat
:
@"考核单价:%.
2
f元"
,
transferProduct
.
checkPrice
.
doubleValue
];
self
.
showCheckPrice
.
text
=
[
NSString
stringWithFormat
:
@"考核单价:%.
4
f元"
,
transferProduct
.
checkPrice
.
doubleValue
];
self
.
showCheckTotal
.
text
=
[
NSString
stringWithFormat
:
@"考核总金额:%.
2
f元"
,
transferProduct
.
checkTotal
.
doubleValue
];
self
.
showCheckTotal
.
text
=
[
NSString
stringWithFormat
:
@"考核总金额:%.
4
f元"
,
transferProduct
.
checkTotal
.
doubleValue
];
if
([
state
isEqualToString
:
@"YES"
])
{
if
([
state
isEqualToString
:
@"YES"
])
{
if
([
transferProduct
.
qty
floatValue
]
>
[
transferProduct
.
rctQty
floatValue
])
{
if
([
transferProduct
.
qty
floatValue
]
>
[
transferProduct
.
rctQty
floatValue
])
{
...
...
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