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
e593fd68
Commit
e593fd68
authored
Mar 07, 2016
by
管鹏飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
『新建采购单』增加费用明细、提交请求 Sandy
parent
8c03c5a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
NewPurchaseViewController.m
...trollers/Purchase/Controllers/NewPurchaseViewController.m
+8
-1
No files found.
XFFruit/ViewControllers/Purchase/Controllers/NewPurchaseViewController.m
View file @
e593fd68
...
...
@@ -18,6 +18,7 @@
#import "NoticeProduct.h"
#import "BottomPurchaseView.h"
#import "NewCostViewController.h"
#import "FeeAcountDetail.h"
#define TopHeight 328
#define BottomHeight 300
#define SpaceHeight 20
...
...
@@ -314,6 +315,11 @@ typedef enum : NSUInteger {
for
(
PurchaseBillProduct
*
billProduct
in
_aBottomView
.
productVC
.
productArr
)
{
[
billProducts
addObject
:[
billProduct
dictForCommit
]];
}
self
.
state
=
state
;
NSMutableArray
*
costs
=
[
NSMutableArray
array
];
for
(
FeeAcountDetail
*
fee
in
_aBottomView
.
costVC
.
costArr
)
{
[
costs
addObject
:[
fee
dictForCommit
]];
}
NSDictionary
*
dict
=
@{
@"uuid"
:
uuidObject
,
@"version"
:
versionObject
,
@"billnumber"
:
billNumberObject
,
...
...
@@ -330,7 +336,8 @@ typedef enum : NSUInteger {
@"total"
:
_purchaseView
.
total
,
@"charge"
:
_purchaseView
.
chargePurchase
,
@"remark"
:
[
IBTCommon
checkString
:
_purchaseView
.
remark
],
@"products"
:
billProducts
};
@"products"
:
billProducts
,
@"accountDetails"
:
costs0
};
[
IBTLoadingView
showProgressLabel
:
msg
];
[[
ICRHTTPController
sharedController
]
savePurchaseWithData
:
dict
success
:
succ
failure
:
fail
];
}
...
...
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