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
102ba083
Commit
102ba083
authored
May 21, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8
parent
48cb840a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
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
+43
-0
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
102ba083
No preview for this file type
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
View file @
102ba083
...
...
@@ -95,6 +95,49 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
}
else
{
switch
idx
{
case
0
:
if
is_Edit
{
var
sku_id
=
""
for
i
in
0
..<
selectItem
.
count
{
let
model
=
selectItem
[
i
]
if
i
<
selectItem
.
count
-
1
{
sku_id
+=
StringByInt
(
number
:
model
)
+
","
}
else
{
sku_id
+=
StringByInt
(
number
:
model
)
}
}
let
dic
=
[
"user_token"
:
UserToken
as
Any
,
"operation_type"
:
0
as
Any
,
"sku_id"
:
sku_id
as
Any
,
"dbt_price"
:
""
as
Any
,
"commission_type"
:
1
as
Any
,
"commission_per"
:
0
as
Any
,
"commission_val"
:
""
as
Any
]
supSetCommodity
(
dic
)
{
(
data
)
in
HUD
.
flash
(
.
label
(
"设置成功~"
),
delay
:
1.2
)
self
.
navbar
.
rightTitle
=
"编辑商品"
self
.
is_Edit
=
false
self
.
edit_bottom_view_H
.
constant
=
0
self
.
selectItem
.
removeAll
()
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
HUD
.
hide
()
}
failture
:
{
(
err
)
in
}
return
}
let
model
=
datas
[
idx
]
let
dic
=
[
"user_token"
:
UserToken
as
Any
,
"operation_type"
:
0
as
Any
,
"sku_id"
:
model
.
sku_id
as
Any
,
"dbt_price"
:
""
as
Any
,
"commission_type"
:
1
as
Any
,
"commission_per"
:
0
as
Any
,
"commission_val"
:
""
as
Any
]
supSetCommodity
(
dic
)
{
(
data
)
in
HUD
.
flash
(
.
label
(
"设置成功~"
),
delay
:
1.2
)
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
HUD
.
hide
()
}
failture
:
{
(
err
)
in
}
break
case
1
:
break
...
...
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