Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HDMall-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
张杰
HDMall-iOS
Commits
bc1e4887
Commit
bc1e4887
authored
Aug 07, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【我的】界面完善
parent
aec37142
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
38 additions
and
7 deletions
+38
-7
BusinessCollectionViewController.m
...s/Main/ViewControllers/BusinessCollectionViewController.m
+1
-1
SaleInputAddViewController.m
...ss/SaleInput/ViewControllers/SaleInputAddViewController.m
+1
-0
SaleInputDetailViewController.m
...SaleInput/ViewControllers/SaleInputDetailViewController.m
+1
-0
SaleInputViewModel.m
...eClass/Business/SaleInput/ViewModels/SaleInputViewModel.m
+2
-2
MineTableViewController.m
.../CodeClass/Mine/ViewControllers/MineTableViewController.m
+11
-4
Contents.json
... Files/Assets.xcassets/SystemImage.imageset/Contents.json
+22
-0
SystemImage.png
...iles/Assets.xcassets/SystemImage.imageset/SystemImage.png
+0
-0
SystemImage@2x.png
...s/Assets.xcassets/SystemImage.imageset/SystemImage@2x.png
+0
-0
No files found.
HDMall/CodeClass/Business/Main/ViewControllers/BusinessCollectionViewController.m
View file @
bc1e4887
...
...
@@ -22,7 +22,7 @@ static NSString *const reuseIdentifier = @"Cell";
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
tabBarController
.
title
=
@"业务"
;
self
.
layout
.
itemSize
=
CGSizeMake
((
kWidth
-
5
*
10
)
/
4
,
(
kWidth
-
5
*
10
)
/
4
+
25
);
self
.
layout
.
minimumLineSpacing
=
10
;
self
.
layout
.
minimumInteritemSpacing
=
10
;
...
...
HDMall/CodeClass/Business/SaleInput/ViewControllers/SaleInputAddViewController.m
View file @
bc1e4887
...
...
@@ -16,6 +16,7 @@
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
title
=
@"新建销售录入"
;
self
.
tableView
.
contentInset
=
UIEdgeInsetsMake
(
0
,
0
,
84
,
0
);
UIBarButtonItem
*
rightBtn
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
@"历史查询"
style
:
UIBarButtonItemStylePlain
target
:
self
action
:
@selector
(
actionGoHistory
)];
self
.
navigationItem
.
rightBarButtonItem
=
rightBtn
;
...
...
HDMall/CodeClass/Business/SaleInput/ViewControllers/SaleInputDetailViewController.m
View file @
bc1e4887
...
...
@@ -16,6 +16,7 @@
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
title
=
@"销售录入详情"
;
self
.
viewModel
.
type
=
SaleInputTypeReadOnly
;
self
.
viewModel
.
picVM
.
type
=
kPicCellTypeRead
;
self
.
topView
.
right1
.
hidden
=
YES
;
...
...
HDMall/CodeClass/Business/SaleInput/ViewModels/SaleInputViewModel.m
View file @
bc1e4887
...
...
@@ -45,7 +45,7 @@
// self.request.tenant = [HMSaleInputDetail_tenant modelWithDic:AppGlobal.user.tenant.toDictionary];
self
.
request
.
receiver
=
@"contract"
;
self
.
request
.
balance
=
false
;
self
.
request
.
saleDate
=
[[
NSDate
date
]
httpParameter
String
];
self
.
request
.
saleDate
=
[[
NSDate
date
]
yearMonthDay
String
];
self
.
request
.
payments
=
(
id
)[
NSMutableArray
array
];
for
(
HMSaleInputDetail_payments
*
payments
in
self
.
arrPayments
)
{
HMSaleInputDetail_payments
*
paymentsCopy
=
[
HMSaleInputDetail_payments
modelWithDic
:
payments
.
toDictionary
];
...
...
@@ -60,7 +60,7 @@
for
(
UIImage
*
img
in
self
.
picVM
.
arrPics
)
{
ZJBaseFileModel
*
file
=
[
ZJBaseFileModel
new
];
file
.
data
=
[
img
imageDataForUpload
];
file
.
name
=
[
file
.
data
md5String
];
file
.
name
=
[
[
file
.
data
md5String
]
stringByAppendingString
:
@".jpg"
];
file
.
keyName
=
@"file"
;
file
.
mimeType
=
@"image/jpeg"
;
[
arrImage
addObject
:
file
];
...
...
HDMall/CodeClass/Mine/ViewControllers/MineTableViewController.m
View file @
bc1e4887
...
...
@@ -20,13 +20,20 @@
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
// self.imgViewTopIcon.image = APP_ICON;
self
.
tabBarController
.
title
=
@"我的"
;
self
.
imgViewTopIcon
.
image
=
APP_ICON
;
self
.
tenant
.
text
=
[
NSString
stringWithFormat
:
@"公司:%@"
,
AppGlobal
.
user
.
tenant
.
name
?
AppGlobal
.
user
.
tenant
.
name
:
@"总部"
];
self
.
userName
.
text
=
[
NSString
stringWithFormat
:
@"用户:%@"
,
AppGlobal
.
user
.
name
];
self
.
userCode
.
text
=
[
NSString
stringWithFormat
:
@"用户代码:%@"
,
AppGlobal
.
user
.
code
];
}
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
[
super
viewWillAppear
:
animated
];
// self.navigationController.navigationBar.barTintColor = kMainBlueColor
;
[
self
.
navigationController
setNavigationBarHidden
:
NO
animated
:
NO
]
;
}
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
[
tableView
deselectRowAtIndexPath
:
indexPath
animated
:
YES
];
...
...
HDMall/Supporting Files/Assets.xcassets/SystemImage.imageset/Contents.json
0 → 100644
View file @
bc1e4887
{
"images"
:
[
{
"idiom"
:
"universal"
,
"filename"
:
"SystemImage.png"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"SystemImage@2x.png"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
HDMall/Supporting Files/Assets.xcassets/SystemImage.imageset/SystemImage.png
0 → 100644
View file @
bc1e4887
54.7 KB
HDMall/Supporting Files/Assets.xcassets/SystemImage.imageset/SystemImage@2x.png
0 → 100644
View file @
bc1e4887
178 KB
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