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
ca61e663
Commit
ca61e663
authored
Nov 21, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复已知bug2.0
parent
04865032
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
...sPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
+6
-3
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ca61e663
No preview for this file type
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
View file @
ca61e663
...
...
@@ -13,7 +13,9 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
@IBAction
func
select_mode_Action
(
_
sender
:
UIButton
)
{
let
vc
=
DistributorSettingAlertView
(
frame
:
self
.
view
.
bounds
)
vc
.
delegate
=
self
vc
.
is_all_select_mode
=
is_Edit
if
selectItem
.
count
>
1
{
vc
.
is_all_select_mode
=
is_Edit
}
self
.
view
.
addSubview
(
vc
)
}
func
DistributorSettingAlertViewSubmitAction
(
tag
:
Int
,
operation_type
:
Int
,
dbt_price
:
String
,
commission_type
:
Int
,
commission_per
:
String
,
commission_val
:
String
,
view
:
DistributorSettingAlertView
)
{
...
...
@@ -318,7 +320,6 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
cell
.
select_Img
.
image
=
UIImage
(
named
:
"daixuan"
)
selectItem
.
forEach
{
(
idx
)
in
print
(
"abc = "
,
idx
,
model
.
sku_id
)
if
idx
==
model
.
sku_id
{
cell
.
select_Img
.
image
=
UIImage
(
named
:
"yuxuan"
)
}
...
...
@@ -370,10 +371,12 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
}
var
selectItem
:
Array
<
Int
>
=
[]
func
GYS_FX_ProductCellTableViewCellSelect
(
idx
:
Int
)
{
let
model
=
datas
[
idx
]
if
selectItem
.
contains
(
idx
){
if
selectItem
.
contains
(
model
.
sku_id
!
){
let
index
=
selectItem
.
firstIndex
(
of
:
model
.
sku_id
!
)
selectItem
.
remove
(
at
:
index
!
)
}
else
{
selectItem
.
append
(
model
.
sku_id
!
)
}
...
...
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