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
48cb840a
Commit
48cb840a
authored
May 21, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7
parent
eb76ff60
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
3 deletions
+24
-3
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Model/agentList_model/agentList_model.swift
...inessPlatform/Model/agentList_model/agentList_model.swift
+4
-2
GeliBusinessPlatform/ViewController/New分销商品/New_Fx_Cell.swift
...BusinessPlatform/ViewController/New分销商品/New_Fx_Cell.swift
+20
-1
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
...sPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
+0
-0
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
48cb840a
No preview for this file type
GeliBusinessPlatform/Model/agentList_model/agentList_model.swift
View file @
48cb840a
...
...
@@ -39,8 +39,8 @@ class queryAgentGoods_data_model: Mappable {
var
ceiling_price
:
String
?
//最高价格范围
var
is_show
:
Int
?
//是否上下架:0否 1是
var
dbt_price
:
String
?
var
commission_val
:
String
?
required
init
?(
map
:
Map
)
{
}
...
...
@@ -59,6 +59,8 @@ class queryAgentGoods_data_model: Mappable {
ceiling_price
<-
map
[
"ceiling_price"
]
is_show
<-
map
[
"is_show"
]
commission_val
<-
map
[
"commission_val"
]
dbt_price
<-
map
[
"dbt_price"
]
}
}
//MARK: - 新增代理商下拉框查询
...
...
GeliBusinessPlatform/ViewController/New分销商品/New_Fx_Cell.swift
View file @
48cb840a
...
...
@@ -12,6 +12,15 @@ protocol New_Fx_Cell_Delegate {
func
New_Fx_Cell_btnSelect
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
}
class
New_Fx_Cell
:
UITableViewCell
{
var
is_show
=
0
{
didSet
{
if
is_show
==
0
{
btn2
.
setTitle
(
"商品上架"
,
for
:
.
normal
)
}
else
{
btn2
.
setTitle
(
"商品下架"
,
for
:
.
normal
)
}
}
}
@IBAction
func
btn_select_action
(
_
sender
:
UIButton
)
{
delegate
?
.
New_Fx_Cell_btnSelect
(
idx
:
self
.
tag
,
cell
:
self
)
}
...
...
@@ -20,7 +29,17 @@ class New_Fx_Cell: UITableViewCell {
print
(
sender
.
tag
,
self
.
tag
)
delegate
?
.
New_Fx_Cell_btnClick
(
idx
:
sender
.
tag
,
cell
:
self
)
}
var
is_dbt
=
0
{
didSet
{
if
is_dbt
==
0
{
btn1
.
isHidden
=
true
btn2
.
isHidden
=
true
}
else
{
btn1
.
isHidden
=
false
btn2
.
isHidden
=
false
}
}
}
@IBOutlet
weak
var
btn1
:
UIButton
!
@IBOutlet
weak
var
btn2
:
UIButton
!
@IBOutlet
weak
var
btn3
:
UIButton
!
...
...
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
View file @
48cb840a
This diff is collapsed.
Click to expand it.
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