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
52bb20cb
Commit
52bb20cb
authored
Nov 16, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复已知bug
parent
f626cdc2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/AlertView/DistributorSettingAlertView.swift
...Platform/View/AlertView/DistributorSettingAlertView.swift
+2
-2
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
...sPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
+1
-0
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
52bb20cb
No preview for this file type
GeliBusinessPlatform/View/AlertView/DistributorSettingAlertView.swift
View file @
52bb20cb
...
...
@@ -18,7 +18,6 @@ class DistributorSettingAlertView: UIView {
var
is_all_select_mode
=
false
var
data
:
supGoodsListResDataModel
?{
didSet
{
temp_commission_type
=
(
data
?
.
commission_type
)
!
if
data
?
.
is_dbt
==
0
{
canYuBtn
.
setImage
(
UIImage
.
init
(
named
:
"daixuan"
),
for
:
.
normal
)
nonCanYuBtn
.
setImage
(
UIImage
.
init
(
named
:
"yuxuan"
),
for
:
.
normal
)
...
...
@@ -26,6 +25,7 @@ class DistributorSettingAlertView: UIView {
canYuBtn
.
isSelected
=
false
nonCanYuBtn
.
isSelected
=
true
cover_view
.
isHidden
=
true
}
else
{
canYuBtn
.
setImage
(
UIImage
.
init
(
named
:
"yuxuan"
),
for
:
.
normal
)
nonCanYuBtn
.
setImage
(
UIImage
.
init
(
named
:
"daixuan"
),
for
:
.
normal
)
...
...
@@ -37,7 +37,7 @@ class DistributorSettingAlertView: UIView {
}
else
{
moneyTx
.
text
=
data
?
.
dbt_price
}
temp_commission_type
=
(
data
?
.
commission_type
)
!
if
data
?
.
commission_type
==
1
{
payBiBtn
.
setImage
(
UIImage
.
init
(
named
:
"yuxuan"
),
for
:
.
normal
)
payJueBtn
.
setImage
(
UIImage
.
init
(
named
:
"daixuan"
),
for
:
.
normal
)
...
...
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
View file @
52bb20cb
...
...
@@ -71,6 +71,7 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
let
vc
=
DistributorSettingAlertView
(
frame
:
self
.
view
.
bounds
)
vc
.
tag
=
idx
vc
.
data
=
datas
[
idx
]
print
(
"abc = "
,
vc
.
data
?
.
commission_type
)
vc
.
delegate
=
self
self
.
view
.
addSubview
(
vc
)
}
...
...
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