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
dd3df967
Commit
dd3df967
authored
Jun 08, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
25
parent
b0e5ff98
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
...Platform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
+1
-1
GeliBusinessPlatform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.swift
...atform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.swift
+7
-5
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
dd3df967
No preview for this file type
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
View file @
dd3df967
...
...
@@ -583,7 +583,7 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
if
model
.
price_type
==
0
{
//分销
cell
.
fx_price
.
text
=
"分销价:¥
\(
model
.
dbt_price
!
)
(佣金:
\(
model
.
commission_val_agent
!
)
)"
}
else
{
cell
.
fx_price
.
text
=
"供货价:¥
\(
model
.
supply_price
!
)
(加价范围:
\(
model
.
floor_price
!
)
-
\(
model
.
ceiling_price
!
)
"
cell
.
fx_price
.
text
=
"供货价:¥
\(
model
.
supply_price
!
)
(加价范围:
\(
model
.
floor_price
!
)
-
\(
model
.
ceiling_price
!
)
)
"
}
}
...
...
GeliBusinessPlatform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.swift
View file @
dd3df967
...
...
@@ -36,11 +36,13 @@ class ageSetDbtGoods_View: UIView {
@IBOutlet
weak
var
sell_bg_view
:
UIView
!
@IBOutlet
weak
var
sell_bg_view_h
:
NSLayoutConstraint
!
@IBAction
func
submit_action
(
_
sender
:
UIButton
)
{
let
num1
=
Float
(
sell_price_tf
.
text
!
)
let
num2
=
Float
((
model
?
.
supply_price
!
)
!
)
if
num1
!
<
num2
!
{
HUD
.
flash
(
.
label
(
"商品售价不得低于供货价~"
),
delay
:
1.2
)
return
if
model
?
.
price_type
==
1
{
let
num1
=
Float
(
sell_price_tf
.
text
!
)
let
num2
=
Float
((
model
?
.
supply_price
!
)
!
)
if
num1
!
<
num2
!
{
HUD
.
flash
(
.
label
(
"商品售价不得低于供货价~"
),
delay
:
1.2
)
return
}
}
delegate
?
.
ageSetDbtGoods_View_submit_action
(
view
:
self
,
sell_price
:
sell_price_tf
.
text
,
commission
:
comission_tf
.
text
!
)
close_action
(
sender
)
...
...
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