Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
53785cda
Commit
53785cda
authored
Feb 05, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片展示修改完成
parent
4ab3e84a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
11 deletions
+14
-11
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Model/OrderManageModel/OrderDetailModel.swift
...essPlatform/Model/OrderManageModel/OrderDetailModel.swift
+1
-1
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageDetailViewController.swift
...wController/分销订单管理/RetailManageDetailViewController.swift
+2
-3
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.swift
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.swift
+2
-2
GeliBusinessPlatform/ViewController/溯源/S_Y_View.swift
GeliBusinessPlatform/ViewController/溯源/S_Y_View.swift
+2
-1
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
+2
-1
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
...ssPlatform/ViewController/订单详情/OrderDViewController.swift
+5
-3
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
53785cda
No preview for this file type
GeliBusinessPlatform/Model/OrderManageModel/OrderDetailModel.swift
View file @
53785cda
...
...
@@ -283,7 +283,7 @@ class OrderDetailGoodsSourceModel: Mappable {
var
report_id
:
Int
?
//检测报告id
var
ven_name
:
String
?
//供应商名称
var
report_picture
:
String
?
//检测报告
var
report_picture
:
Array
<
String
>
?
//检测报告
var
product_origin
:
String
?
//产品产地
...
...
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageDetailViewController.swift
View file @
53785cda
...
...
@@ -16,14 +16,13 @@ class RetailManageDetailViewController: BaseViewController ,UITableViewDelegate,
}
let
browser
=
JXPhotoBrowser
()
browser
.
numberOfItems
=
{
1
(
view
.
data
?
.
report_picture
!.
count
)
!
}
browser
.
pageIndex
=
0
browser
.
reloadCellAtIndex
=
{
context
in
let
browserCell
=
context
.
cell
as?
JXPhotoBrowserImageCell
let
url
=
URL
(
string
:
SERVERCE_ImageHost
+
(
view
.
data
?
.
report_picture
)
!
)
let
url
=
URL
(
string
:
SERVERCE_ImageHost
+
(
view
.
data
?
.
report_picture
!
[
context
.
index
]
)
!
)
browserCell
?
.
imageView
.
sd_setImage
(
with
:
url
,
placeholderImage
:
nil
,
options
:
[],
completed
:
{
(
_
,
_
,
_
,
_
)
in
browserCell
?
.
setNeedsLayout
()
})
}
...
...
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.swift
View file @
53785cda
...
...
@@ -28,7 +28,7 @@ class Add_Report_View: UIView {
item
.
removeFromSuperview
()
}
btm_view
.
addSubview
(
scrollView
)
btm_view
.
insertSubview
(
scrollView
,
at
:
btm_view
.
subviews
.
count
-
1
)
scrollView
.
frame
=
CGRect
(
x
:
15
,
y
:
add_img_btn
.
frame
.
maxY
+
20
,
width
:
ScreenWidth
-
30
,
height
:
100.5
)
...
...
@@ -111,7 +111,7 @@ class Add_Report_View: UIView {
}
@IBOutlet
weak
var
select_img
:
UIImageView
!
@IBAction
func
select_type_action
(
_
sender
:
UIButton
)
{
select_view
.
isHidden
=
false
select_view
.
isHidden
=
!
select_view
.
isHidden
}
@IBAction
func
close_action
(
_
sender
:
UIButton
)
{
self
.
removeFromSuperview
()
...
...
GeliBusinessPlatform/ViewController/溯源/S_Y_View.swift
View file @
53785cda
...
...
@@ -22,7 +22,8 @@ class S_Y_View: UIView {
ru_ku_time_lbl
.
text
=
data
?
.
add_time
pi_ci_number_lbl
.
text
=
StringByInt
(
number
:(
data
?
.
batch_id
)
!
)
gys_name_lbl
.
text
=
data
?
.
ven_name
check_img
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
((
data
?
.
report_picture
)
!
)
!
))
check_img
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
((
data
?
.
report_picture
?
.
first
)
!
)
!
))
}
}
}
...
...
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
View file @
53785cda
...
...
@@ -518,7 +518,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
alertView
.
saveImgID
=
rowModel
.
order_id
!
self
.
view
.
window
?
.
addSubview
(
alertView
)
}
else
{
}
else
{
//跳转订单详情
let
vc
=
OrderDViewController
()
vc
.
delegate
=
self
...
...
@@ -706,6 +706,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
let
vc
=
OrderDViewController
()
vc
.
delegate
=
self
vc
.
orderId
=
rowModel
.
order_id
!
// vc.orderId = 12637
vc
.
order_type
=
rowModel
.
order_type
vc
.
lmIdx
=
orderStatus
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
...
...
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
View file @
53785cda
...
...
@@ -28,16 +28,18 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
}
func
S_Y_View_Check_Detail
(
view
:
S_Y_View
)
{
print
(
"查看溯源"
)
if
view
.
data
==
nil
{
return
}
let
browser
=
JXPhotoBrowser
()
browser
.
numberOfItems
=
{
1
(
view
.
data
?
.
report_picture
!.
count
)
!
}
browser
.
pageIndex
=
0
browser
.
reloadCellAtIndex
=
{
context
in
let
browserCell
=
context
.
cell
as?
JXPhotoBrowserImageCell
let
url
=
URL
(
string
:
SERVERCE_ImageHost
+
(
view
.
data
?
.
report_picture
)
!
)
let
url
=
URL
(
string
:
SERVERCE_ImageHost
+
(
view
.
data
?
.
report_picture
!
[
context
.
index
]
)
!
)
browserCell
?
.
imageView
.
sd_setImage
(
with
:
url
,
placeholderImage
:
nil
,
options
:
[],
completed
:
{
(
_
,
_
,
_
,
_
)
in
browserCell
?
.
setNeedsLayout
()
})
}
...
...
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