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
b92b6842
Commit
b92b6842
authored
7 years ago
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发运单收获金额计算
parent
4c20cc6d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
Info.plist
XFFruit/Info.plist
+2
-2
ReceiveProductViewController.m
...lers/Receiving/Controllers/ReceiveProductViewController.m
+1
-1
ReceiveProductCell.m
XFFruit/ViewControllers/Receiving/Views/ReceiveProductCell.m
+2
-1
NewTransportViewController.m
...ollers/Transport/Controllers/NewTransportViewController.m
+1
-1
No files found.
XFFruit/Info.plist
View file @
b92b6842
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.2.4
0
<
/string
>
<
string
>
1.2.4
1
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.2.4
0
<
/string
>
<
string
>
1.2.4
1
<
/string
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
NSAllowsArbitraryLoads
<
/k
e
y
>
<
k
e
y
>
NSAllowsArbitraryLoads
<
/k
e
y
>
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Receiving/Controllers/ReceiveProductViewController.m
View file @
b92b6842
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
TransferPdtDetail
*
billP
=
arrSection
[
indexPath
.
row
];
TransferPdtDetail
*
billP
=
arrSection
[
indexPath
.
row
];
[
cell
setBillProduct
:
billP
row
:
indexPath
.
row
defaultState
:
self
.
defaultState
[
indexPath
.
row
]];
[
cell
setBillProduct
:
billP
row
:
indexPath
.
row
defaultState
:
self
.
defaultState
[
indexPath
.
row
]];
}
}
cell
.
backgroundColor
=
[
UIColor
redColor
];
//
cell.backgroundColor = [UIColor redColor];
return
cell
;
return
cell
;
}
}
-
(
BOOL
)
isHaveIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
BOOL
)
isHaveIndexPath
:
(
NSIndexPath
*
)
indexPath
{
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Receiving/Views/ReceiveProductCell.m
View file @
b92b6842
...
@@ -186,7 +186,8 @@
...
@@ -186,7 +186,8 @@
self
.
showbzPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%.2f元"
,[
transferProduct
.
packprice
floatValue
]];
self
.
showbzPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%.2f元"
,[
transferProduct
.
packprice
floatValue
]];
self
.
showjcPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础单价:%.2f元"
,[
transferProduct
.
price
floatValue
]];
self
.
showjcPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础单价:%.2f元"
,[
transferProduct
.
price
floatValue
]];
self
.
showshTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额[实收]:%.2f元"
,
transferProduct
.
rctTotal
?[
transferProduct
.
rctTotal
floatValue
]:
0
.
00
f
];
self
.
showshTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额[实收]:%.2f元"
,
transferProduct
.
rctQty
.
doubleValue
*
transferProduct
.
packprice
.
doubleValue
];
if
(
transferProduct
.
rctTotal
==
nil
)
{
if
(
transferProduct
.
rctTotal
==
nil
)
{
self
.
showshTotalLabel
.
text
=
@"总金额[实收]:空"
;
self
.
showshTotalLabel
.
text
=
@"总金额[实收]:空"
;
}
}
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Transport/Controllers/NewTransportViewController.m
View file @
b92b6842
...
@@ -549,7 +549,7 @@ typedef enum : NSUInteger {
...
@@ -549,7 +549,7 @@ typedef enum : NSUInteger {
billProduct
.
packprice
=
[
NSNumber
numberWithFloat
:[
shopDetail
.
packageUnitPrice
floatValue
]];
billProduct
.
packprice
=
[
NSNumber
numberWithFloat
:[
shopDetail
.
packageUnitPrice
floatValue
]];
billProduct
.
price
=
[
NSNumber
numberWithFloat
:[
shopDetail
.
foundationUnitPrice
floatValue
]];
billProduct
.
price
=
[
NSNumber
numberWithFloat
:[
shopDetail
.
foundationUnitPrice
floatValue
]];
billProduct
.
baseQty
=
[
NSNumber
numberWithFloat
:[
shopDetail
.
foundationQuantity
floatValue
]];
billProduct
.
baseQty
=
[
NSNumber
numberWithFloat
:[
shopDetail
.
foundationQuantity
floatValue
]];
billProduct
.
total
=
[
NSNumber
numberWithFloat
:[
shopDetail
.
totalMoney
floatValue
]];
//
billProduct.total = [NSNumber numberWithFloat:[shopDetail.totalMoney floatValue]];
billProduct
.
note
=
shopDetail
.
remark
;
billProduct
.
note
=
shopDetail
.
remark
;
billProduct
.
qpcStr
=
shopDetail
.
packageQpcStr
?
shopDetail
.
packageQpcStr
:
@"无"
;
billProduct
.
qpcStr
=
shopDetail
.
packageQpcStr
?
shopDetail
.
packageQpcStr
:
@"无"
;
billProduct
.
baseUnit
=
shopDetail
.
packageQpcUnit
;
billProduct
.
baseUnit
=
shopDetail
.
packageQpcUnit
;
...
...
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