Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-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
张杰
Opple-iOS
Commits
9f2814d8
Commit
9f2814d8
authored
Aug 02, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化生成订单,attachmentUrl字段
parent
18dacf69
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
ExperienceCentreViewController.m
...eriencecentre/Controller/ExperienceCentreViewController.m
+5
-2
ProductLibraryViewController.m
...roductLibraryVC/Controller/ProductLibraryViewController.m
+0
-1
GenerateOrdersViewController.m
...ss/Shoppingcart/Controller/GenerateOrdersViewController.m
+1
-0
opple_objc_json_client.h
Lighting/Tools/Jastor/opple_objc_json_client.h
+4
-0
No files found.
Lighting/Class/Experiencecentre/Controller/ExperienceCentreViewController.m
View file @
9f2814d8
...
...
@@ -226,7 +226,7 @@
}
else
{
[
self
.
shareGoodsArray
addObject
:
model
];
[
self
.
lampArray
addObject
:
imageView
];
[
self
.
lampArray
addObject
:
imageView
];
}
NSArray
*
imags
=
[
model
.
pictures
componentsSeparatedByString
:
@","
];
[
imageView
sd_setImageWithURL
:[
NSURL
URLWithString
:[
imags
firstObject
]]
placeholderImage
:
REPLACEIMAGE
];
...
...
@@ -264,7 +264,6 @@
-
(
void
)
dismissController
{
self
.
shoppingbagButton
.
selected
=
NO
;
}
-
(
void
)
addToShoppingCar
:
(
NSArray
<
ShopcarModel
*>
*
)
selectGoods
finish
:
(
void
(
^
)(
NSString
*
))
completed
...
...
@@ -359,6 +358,10 @@
{
if
(
error
!=
NULL
)
{
[
XBLoadingView
showHUDViewWithText
:
@"保存相册失败"
];
}
else
{
for
(
UIImageView
*
imageView
in
self
.
selectedGoodsArray
)
{
[
imageView
setHidden
:
NO
];
}
}
}
...
...
Lighting/Class/RIghtVC/ProductLibraryVC/Controller/ProductLibraryViewController.m
View file @
9f2814d8
...
...
@@ -223,7 +223,6 @@
}
#pragma mark -获取商品列表数据
-
(
void
)
getGoodsListdatas
:
(
GoodsCondition
*
)
conditon
completed
:
(
void
(
^
)(
GoodsResponse
*
result
))
completed
{
...
...
Lighting/Class/Shoppingcart/Controller/GenerateOrdersViewController.m
View file @
9f2814d8
...
...
@@ -351,6 +351,7 @@
orderGoods
.
goodsPrice
=
model
.
costPrice
;
orderGoods
.
remark
=
model
.
goods
.
spec
;
orderGoods
.
goodsUnit
=
model
.
goods
.
unit
;
orderGoods
.
attachmentUrl
=
model
.
attachmentUrl
;
//总价
allPrice
+=
model
.
goodsNum
*
[
model
.
costPrice
floatValue
];
//总数量
...
...
Lighting/Tools/Jastor/opple_objc_json_client.h
View file @
9f2814d8
...
...
@@ -3816,6 +3816,8 @@ extern NSString * const GRADEMETHOD_MANUL;
*
*/
@property
(
nonatomic
,
strong
)
NSNumber
*
costPrice
;
@property
(
nonatomic
,
copy
)
NSString
*
attachmentUrl
;
@end
/* interface TOShopcartEntity */
...
...
@@ -5022,6 +5024,8 @@ extern NSString * const GRADEMETHOD_MANUL;
*
*/
@property
(
nonatomic
,
copy
)
NSString
*
remark
;
@property
(
nonatomic
,
copy
)
NSString
*
attachmentUrl
;
@end
/* interface TOOrderdetailEntity */
...
...
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