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
6d2fb38c
Commit
6d2fb38c
authored
Nov 12, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分销商品管理修正显示bug
parent
05f0ecca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/AlertView/DistributorSettingAlertView.swift
...Platform/View/AlertView/DistributorSettingAlertView.swift
+11
-6
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
...sPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
+2
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
6d2fb38c
No preview for this file type
GeliBusinessPlatform/View/AlertView/DistributorSettingAlertView.swift
View file @
6d2fb38c
...
...
@@ -75,12 +75,18 @@ class DistributorSettingAlertView: UIView {
}
@IBAction
func
sureAction
(
_
sender
:
UIButton
)
{
if
canYuBtn
.
isSelected
{
if
canYuBtn
.
isSelected
&&
payBiBtn
.
isUserInteractionEnabled
{
if
(
payTF
.
text
?
.
count
==
0
||
moneyTx
.
text
?
.
count
==
0
){
HUD
.
flash
(
.
label
(
"请输入数据~"
),
delay
:
1.2
)
return
}
}
if
canYuBtn
.
isSelected
&&
payBiBtn
.
isUserInteractionEnabled
==
false
{
if
(
payTF
.
text
?
.
count
==
0
){
HUD
.
flash
(
.
label
(
"请输入数据~"
),
delay
:
1.2
)
return
}
}
//确定
var
operation_type
=
1
...
...
@@ -111,13 +117,12 @@ class DistributorSettingAlertView: UIView {
super
.
layoutSubviews
()
if
is_all_select_mode
{
cover_view
.
isHidden
=
false
moneyTx
.
isUserInteractionEnabled
=
false
payBiBtn
.
setImage
(
UIImage
.
init
(
named
:
"daixuan"
),
for
:
.
normal
)
payJueBtn
.
setImage
(
UIImage
.
init
(
named
:
"yuxuan"
),
for
:
.
normal
)
payJueBtn
.
setImage
(
UIImage
.
init
(
named
:
"daixuan"
),
for
:
.
normal
)
payBiBtn
.
setImage
(
UIImage
.
init
(
named
:
"yuxuan"
),
for
:
.
normal
)
payBiBtn
.
isUserInteractionEnabled
=
false
payJueBtn
.
isUserInteractionEnabled
=
false
payNumTypelbl
.
text
=
"
元
"
payTF
.
placeholder
=
"请输入
数值
"
payNumTypelbl
.
text
=
"
%
"
payTF
.
placeholder
=
"请输入
比例
"
}
}
//初始化时将xib中的view添加进来
...
...
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
View file @
6d2fb38c
...
...
@@ -33,7 +33,7 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
"operation_type"
:
operation_type
as
Any
,
"sku_id"
:
sku_id
as
Any
,
"dbt_price"
:
dbt_price
as
Any
,
"commission_type"
:
commission_type
as
Any
,
"commission_type"
:
1
as
Any
,
"commission_per"
:
commission_per
as
Any
,
"commission_val"
:
commission_val
as
Any
]
supSetCommodity
(
dic
)
{
(
data
)
in
...
...
@@ -41,7 +41,7 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
view
.
removeFromSuperview
()
self
.
navbar
.
rightTitle
=
"编辑商品"
self
.
is_Edit
=
false
self
.
edit_bottom_view_H
.
constant
=
49
self
.
edit_bottom_view_H
.
constant
=
0
self
.
selectItem
.
removeAll
()
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
HUD
.
hide
()
...
...
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