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
e91feef6
Commit
e91feef6
authored
Sep 06, 2015
by
zhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6c8790c8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
10 deletions
+15
-10
Podfile.lock
Podfile.lock
+1
-1
ICRHTTPController.m
XFFruit/Controllers/HTTPController/ICRHTTPController.m
+3
-0
ICRAppMacro.h
XFFruit/Macro/ICRAppMacro.h
+4
-4
PurchaseNoticeViewController.m
...PurchaseNotice/Controllers/PurchaseNoticeViewController.m
+7
-5
No files found.
Podfile.lock
View file @
e91feef6
...
...
@@ -60,4 +60,4 @@ SPEC CHECKSUMS:
SDWebImage: 71b7cdc1d1721d6a82ed62889030225f2c249e29
SSKeychain: 3f42991739c6c60a9cf1bbd4dff6c0d3694bcf3d
COCOAPODS: 0.3
7.1
COCOAPODS: 0.3
8.2
XFFruit/Controllers/HTTPController/ICRHTTPController.m
View file @
e91feef6
...
...
@@ -86,6 +86,9 @@ typedef NS_ENUM(NSUInteger, ICRHTTPAction) {
//加工单
XFFHttp_QueryProcess
,
XFFHttp_GetProcess
,
//采购通知单
XFFHttp_PurchaseNoticeSave
,
// 保存采购通知单(写)
//采购单
XFFHttp_PurchaseSave
,
...
...
XFFruit/Macro/ICRAppMacro.h
View file @
e91feef6
...
...
@@ -49,11 +49,11 @@
//颜色
#define GXF_LABLE_TINT_COLOR HexColor(@"444444")
#define GXF_LABLE_BG_COLOR XXFBgColor
#define
GXF_GREEN_COLOR HexColor(@"50bd62")
#define
GXF_ORIGIN_COLOR HexColor(@"f69100")
#define
GXF_GRAY_COLOR HexColor(@"444444")
#define GXF_GREEN_COLOR HexColor(@"50bd62")
#define GXF_ORIGIN_COLOR HexColor(@"f69100")
#define GXF_GRAY_COLOR HexColor(@"444444")
//字体大小
#define GXF_LABLE_FONT FontSize(15)
#define
GXF_LABLE_FONT FontSize(15)
// 高度
...
...
XFFruit/ViewControllers/PurchaseNotice/Controllers/PurchaseNoticeViewController.m
View file @
e91feef6
...
...
@@ -52,7 +52,6 @@ typedef enum : NSUInteger {
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
view
.
backgroundColor
=
XXFBgColor
;
[
self
initData
];
[
self
createTableView
];
[
self
createRefresh
];
...
...
@@ -62,6 +61,7 @@ typedef enum : NSUInteger {
}
-
(
void
)
initData
{
self
.
view
.
backgroundColor
=
XXFBgColor
;
self
.
dataArr
=
[
NSMutableArray
array
];
for
(
NSInteger
i
=
0
;
i
<
6
;
i
++
)
{
PurchaseBill
*
bill
=
[
PurchaseBill
new
];
...
...
@@ -91,10 +91,10 @@ typedef enum : NSUInteger {
}
}
-
(
void
)
getData
{
[
ICRUserUtil
sharedInstance
].
needFresh
=
NO
;
__weak
typeof
(
self
)
weakSelf
=
self
;
void
(
^
succ
)(
id
)
=
^
(
id
data
)
{
[
IBTLoadingView
hideHUDWithText
:
nil
];
[
ICRUserUtil
sharedInstance
].
needFresh
=
NO
;
__weak
typeof
(
self
)
weakSelf
=
self
;
void
(
^
succ
)(
id
)
=
^
(
id
data
)
{
[
IBTLoadingView
hideHUDWithText
:
nil
];
__strong
__typeof
(
weakSelf
)
strongSelf
=
weakSelf
;
[
strongSelf
fetchtPuchaseList
:
data
];
};
...
...
@@ -149,6 +149,7 @@ typedef enum : NSUInteger {
[
orderArr
addObject
:[
order
dictForCommit
]];
}
// 网络请求
NSDictionary
*
dict
=
@{
@"billNumberLike"
:
billObject
,
@"state"
:
stateObject
,
...
...
@@ -161,6 +162,7 @@ typedef enum : NSUInteger {
@"pageSize"
:
@
(
20
)};
[[
ICRHTTPController
sharedController
]
queryPurchaseWithData
:
dict
success
:
succ
failure
:
fail
];
}
//刷新列表
-
(
void
)
fetchtPuchaseList
:
(
id
)
data
{
if
(
data
)
{
NSInteger
success
=
[
data
[
@"success"
]
integerValue
];
...
...
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