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
b0e5ff98
Commit
b0e5ff98
authored
Jun 08, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
24
parent
f828e852
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
594 additions
and
126 deletions
+594
-126
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+8
-0
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
+2
-1
GeliBusinessPlatform/ViewController/下游店长管理/XY_DZ_GL_VC.swift
GeliBusinessPlatform/ViewController/下游店长管理/XY_DZ_GL_VC.swift
+1
-3
GeliBusinessPlatform/ViewController/下游店长管理/XY_DZ_GL_VC.xib
GeliBusinessPlatform/ViewController/下游店长管理/XY_DZ_GL_VC.xib
+5
-1
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
...Platform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
+84
-23
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC_Cell.swift
...orm/ViewController/供应商分销商品管理/GYS_FX_Product_VC_Cell.swift
+2
-0
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC_Cell.xib
...tform/ViewController/供应商分销商品管理/GYS_FX_Product_VC_Cell.xib
+5
-0
GeliBusinessPlatform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.swift
...atform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.swift
+97
-0
GeliBusinessPlatform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.xib
...Platform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.xib
+271
-0
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
...sPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
+113
-95
GeliBusinessPlatform/ViewController/商品详情/EPViewController.swift
...sinessPlatform/ViewController/商品详情/EPViewController.swift
+1
-1
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
...essPlatform/ViewController/工作中心/WorkCViewController.swift
+5
-2
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
b0e5ff98
...
@@ -188,6 +188,8 @@
...
@@ -188,6 +188,8 @@
E042F74124528CD500CDFA12
/* TitleAndOnlyBtnCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F73F24528CD500CDFA12
/* TitleAndOnlyBtnCell.xib */
;
};
E042F74124528CD500CDFA12
/* TitleAndOnlyBtnCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F73F24528CD500CDFA12
/* TitleAndOnlyBtnCell.xib */
;
};
E042F74324529B7B00CDFA12
/* JiTuoWuXinXiView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F74224529B7B00CDFA12
/* JiTuoWuXinXiView.swift */
;
};
E042F74324529B7B00CDFA12
/* JiTuoWuXinXiView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F74224529B7B00CDFA12
/* JiTuoWuXinXiView.swift */
;
};
E042F74524529B8500CDFA12
/* JiTuoWuXinXiView.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F74424529B8500CDFA12
/* JiTuoWuXinXiView.xib */
;
};
E042F74524529B8500CDFA12
/* JiTuoWuXinXiView.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F74424529B8500CDFA12
/* JiTuoWuXinXiView.xib */
;
};
E047DADC266E1BE100D0E011
/* ageSetDbtGoods_View.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E047DADB266E1BE100D0E011
/* ageSetDbtGoods_View.swift */
;
};
E047DAE1266E1BEB00D0E011
/* ageSetDbtGoods_View.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E047DAE0266E1BEB00D0E011
/* ageSetDbtGoods_View.xib */
;
};
E04BA7F225F74E3B00B62F37
/* PiCiXuanZeViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E04BA7F025F74E3A00B62F37
/* PiCiXuanZeViewController.xib */
;
};
E04BA7F225F74E3B00B62F37
/* PiCiXuanZeViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E04BA7F025F74E3A00B62F37
/* PiCiXuanZeViewController.xib */
;
};
E04BA7F325F74E3B00B62F37
/* PiCiXuanZeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E04BA7F125F74E3B00B62F37
/* PiCiXuanZeViewController.swift */
;
};
E04BA7F325F74E3B00B62F37
/* PiCiXuanZeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E04BA7F125F74E3B00B62F37
/* PiCiXuanZeViewController.swift */
;
};
E0516F772448003D00E373CE
/* PayViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F752448003D00E373CE
/* PayViewController.swift */
;
};
E0516F772448003D00E373CE
/* PayViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F752448003D00E373CE
/* PayViewController.swift */
;
};
...
@@ -1009,6 +1011,8 @@
...
@@ -1009,6 +1011,8 @@
E042F73F24528CD500CDFA12
/* TitleAndOnlyBtnCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
TitleAndOnlyBtnCell.xib
;
sourceTree
=
"<group>"
;
};
E042F73F24528CD500CDFA12
/* TitleAndOnlyBtnCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
TitleAndOnlyBtnCell.xib
;
sourceTree
=
"<group>"
;
};
E042F74224529B7B00CDFA12
/* JiTuoWuXinXiView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
JiTuoWuXinXiView.swift
;
sourceTree
=
"<group>"
;
};
E042F74224529B7B00CDFA12
/* JiTuoWuXinXiView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
JiTuoWuXinXiView.swift
;
sourceTree
=
"<group>"
;
};
E042F74424529B8500CDFA12
/* JiTuoWuXinXiView.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
JiTuoWuXinXiView.xib
;
sourceTree
=
"<group>"
;
};
E042F74424529B8500CDFA12
/* JiTuoWuXinXiView.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
JiTuoWuXinXiView.xib
;
sourceTree
=
"<group>"
;
};
E047DADB266E1BE100D0E011
/* ageSetDbtGoods_View.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ageSetDbtGoods_View.swift
;
sourceTree
=
"<group>"
;
};
E047DAE0266E1BEB00D0E011
/* ageSetDbtGoods_View.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
ageSetDbtGoods_View.xib
;
sourceTree
=
"<group>"
;
};
E04BA7F025F74E3A00B62F37
/* PiCiXuanZeViewController.xib */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
file.xib
;
path
=
PiCiXuanZeViewController.xib
;
sourceTree
=
"<group>"
;
};
E04BA7F025F74E3A00B62F37
/* PiCiXuanZeViewController.xib */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
file.xib
;
path
=
PiCiXuanZeViewController.xib
;
sourceTree
=
"<group>"
;
};
E04BA7F125F74E3B00B62F37
/* PiCiXuanZeViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PiCiXuanZeViewController.swift
;
sourceTree
=
"<group>"
;
};
E04BA7F125F74E3B00B62F37
/* PiCiXuanZeViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PiCiXuanZeViewController.swift
;
sourceTree
=
"<group>"
;
};
E0516F752448003D00E373CE
/* PayViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PayViewController.swift
;
sourceTree
=
"<group>"
;
};
E0516F752448003D00E373CE
/* PayViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PayViewController.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2924,6 +2928,8 @@
...
@@ -2924,6 +2928,8 @@
E07337F72579E8660039767A
/* GYS_FX_Product_ListVc.xib */
,
E07337F72579E8660039767A
/* GYS_FX_Product_ListVc.xib */
,
E0404A87264E5D0100CA16EA
/* GYS_FX_Product_VC_Cell.swift */
,
E0404A87264E5D0100CA16EA
/* GYS_FX_Product_VC_Cell.swift */
,
E0404A88264E5D0100CA16EA
/* GYS_FX_Product_VC_Cell.xib */
,
E0404A88264E5D0100CA16EA
/* GYS_FX_Product_VC_Cell.xib */
,
E047DADB266E1BE100D0E011
/* ageSetDbtGoods_View.swift */
,
E047DAE0266E1BEB00D0E011
/* ageSetDbtGoods_View.xib */
,
);
);
path
=
"供应商分销商品管理"
;
path
=
"供应商分销商品管理"
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -4356,6 +4362,7 @@
...
@@ -4356,6 +4362,7 @@
E0E6A5A325FC6B0A00C9BCD6
/* DZSHViewController.xib in Resources */
,
E0E6A5A325FC6B0A00C9BCD6
/* DZSHViewController.xib in Resources */
,
E0C4F4A8244EC82A00CC7E2F
/* TitleAndBtnCell.xib in Resources */
,
E0C4F4A8244EC82A00CC7E2F
/* TitleAndBtnCell.xib in Resources */
,
E0974D5F25C12E8D00E3C86B
/* two_title_cell.xib in Resources */
,
E0974D5F25C12E8D00E3C86B
/* two_title_cell.xib in Resources */
,
E047DAE1266E1BEB00D0E011
/* ageSetDbtGoods_View.xib in Resources */
,
F97E73322552A22000A11F98
/* DistributorSettingAlertView.xib in Resources */
,
F97E73322552A22000A11F98
/* DistributorSettingAlertView.xib in Resources */
,
E02FD9F72455790800E10E27
/* DiZhiGuanLiCell.xib in Resources */
,
E02FD9F72455790800E10E27
/* DiZhiGuanLiCell.xib in Resources */
,
E09A7374261EED7C00CB2D70
/* PPH_XQ_Cell.xib in Resources */
,
E09A7374261EED7C00CB2D70
/* PPH_XQ_Cell.xib in Resources */
,
...
@@ -4861,6 +4868,7 @@
...
@@ -4861,6 +4868,7 @@
F96E9D5C246656A700B5B94A
/* HGImagePickerCell.swift in Sources */
,
F96E9D5C246656A700B5B94A
/* HGImagePickerCell.swift in Sources */
,
E02A3CAF25C3ED0400A4E369
/* S_P_K_C_Detail_Vc.swift in Sources */
,
E02A3CAF25C3ED0400A4E369
/* S_P_K_C_Detail_Vc.swift in Sources */
,
E06B3FD52601AB750004C05C
/* DZSH_Two_Btn_Cell.swift in Sources */
,
E06B3FD52601AB750004C05C
/* DZSH_Two_Btn_Cell.swift in Sources */
,
E047DADC266E1BE100D0E011
/* ageSetDbtGoods_View.swift in Sources */
,
F95567AB2453E40B009674AB
/* OrderListViewController.swift in Sources */
,
F95567AB2453E40B009674AB
/* OrderListViewController.swift in Sources */
,
E0018096264CB5D200DDB42A
/* XY_FX_Setting_View.swift in Sources */
,
E0018096264CB5D200DDB42A
/* XY_FX_Setting_View.swift in Sources */
,
E06B1AF625B52AD3002F3C65
/* PrintListMgVc.swift in Sources */
,
E06B1AF625B52AD3002F3C65
/* PrintListMgVc.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
b0e5ff98
No preview for this file type
GeliBusinessPlatform/Model/agentList_model/agentList_model.swift
View file @
b0e5ff98
...
@@ -361,7 +361,7 @@ class selAgeDbtGoodsList_Data_D_model: Mappable {
...
@@ -361,7 +361,7 @@ class selAgeDbtGoodsList_Data_D_model: Mappable {
var
dbt_price
:
String
?
//分销价
var
dbt_price
:
String
?
//分销价
var
commission_val
:
String
?
//佣金
var
commission_val
:
String
?
//佣金
var
commission_val_agent
:
String
?
var
is_show
:
Int
?
var
is_show
:
Int
?
required
init
?(
map
:
Map
)
{
required
init
?(
map
:
Map
)
{
...
@@ -382,6 +382,7 @@ class selAgeDbtGoodsList_Data_D_model: Mappable {
...
@@ -382,6 +382,7 @@ class selAgeDbtGoodsList_Data_D_model: Mappable {
dbt_price
<-
map
[
"dbt_price"
]
dbt_price
<-
map
[
"dbt_price"
]
commission_val
<-
map
[
"commission_val"
]
commission_val
<-
map
[
"commission_val"
]
commission_val_agent
<-
map
[
"commission_val_agent"
]
is_show
<-
map
[
"is_show"
]
is_show
<-
map
[
"is_show"
]
}
}
...
...
GeliBusinessPlatform/ViewController/下游店长管理/XY_DZ_GL_VC.swift
View file @
b0e5ff98
...
@@ -13,9 +13,7 @@ class XY_DZ_GL_VC: BaseViewController, UISearchBarDelegate, SearchBarViewDelegat
...
@@ -13,9 +13,7 @@ class XY_DZ_GL_VC: BaseViewController, UISearchBarDelegate, SearchBarViewDelegat
let
model
=
dataArr
[
sender
.
tag
]
let
model
=
dataArr
[
sender
.
tag
]
delDbtContract
([
"user_token"
:
UserToken
as
Any
,
"dbt_id"
:
model
.
dbt_id
as
Any
])
{
(
data
)
in
delDbtContract
([
"user_token"
:
UserToken
as
Any
,
"dbt_id"
:
model
.
dbt_id
as
Any
])
{
(
data
)
in
self
.
list_view
.
mj_header
?
.
beginRefreshing
()
self
.
list_view
.
mj_header
?
.
beginRefreshing
()
}
failture
:
{
(
err
)
in
}
failture
:
{
(
err
)
in
}
}
}
}
func
XY_DZ_GL_VC_Cell_Del
(
cell
:
XY_DZ_GL_VC_Cell
)
{
func
XY_DZ_GL_VC_Cell_Del
(
cell
:
XY_DZ_GL_VC_Cell
)
{
...
...
GeliBusinessPlatform/ViewController/下游店长管理/XY_DZ_GL_VC.xib
View file @
b0e5ff98
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
</view>
</view>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
style=
"plain"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"o1x-LO-BcH"
>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
style=
"plain"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"o1x-LO-BcH"
>
<rect
key=
"frame"
x=
"0.0"
y=
"89"
width=
"414"
height=
"807"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"89"
width=
"414"
height=
"807"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor
"
/>
<color
key=
"backgroundColor"
name=
"app底色
"
/>
<connections>
<connections>
<outlet
property=
"dataSource"
destination=
"-1"
id=
"w8d-cY-Bz3"
/>
<outlet
property=
"dataSource"
destination=
"-1"
id=
"w8d-cY-Bz3"
/>
<outlet
property=
"delegate"
destination=
"-1"
id=
"Xic-LS-l48"
/>
<outlet
property=
"delegate"
destination=
"-1"
id=
"Xic-LS-l48"
/>
...
@@ -52,6 +53,9 @@
...
@@ -52,6 +53,9 @@
</view>
</view>
</objects>
</objects>
<resources>
<resources>
<namedColor
name=
"app底色"
>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</systemColor>
...
...
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
View file @
b0e5ff98
...
@@ -8,13 +8,41 @@
...
@@ -8,13 +8,41 @@
import
UIKit
import
UIKit
class
GYS_FX_Product_VC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
GYS_FX_ProductCellDelegate
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
GYS_FX_Product_VC_Cell_Delegate
,
GeliAlertViewDelegate
{
class
GYS_FX_Product_VC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
GYS_FX_ProductCellDelegate
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
GYS_FX_Product_VC_Cell_Delegate
,
GeliAlertViewDelegate
,
ageSetDbtGoods_View_Delegate
{
func
sureGeliAlertViewAction
(
sender
:
UIButton
)
{
func
ageSetDbtGoods_View_submit_action
(
view
:
ageSetDbtGoods_View
,
sell_price
:
String
?,
commission
:
String
)
{
var
price
=
"0"
if
view
.
model
?
.
price_type
==
1
{
price
=
sell_price
!
}
else
{
price
=
(
view
.
model
?
.
dbt_price
!
)
!
}
let
dict
=
[
"user_token"
:
UserToken
as
Any
,
"sup_id"
:
shop_id
as
Any
,
"sku_id"
:
view
.
model
?
.
sku_id
as
Any
,
"goods_id"
:
view
.
model
?
.
goods_id
as
Any
,
"price_type"
:
view
.
model
?
.
price_type
as
Any
,
"price"
:
price
as
Any
,
"commission_val"
:
commission
as
Any
,
"supply_price"
:
view
.
model
?
.
supply_price
as
Any
,
"floor_price"
:
view
.
model
?
.
floor_price
as
Any
,
"ceiling_price"
:
view
.
model
?
.
ceiling_price
as
Any
,
"commission_val_agent"
:
view
.
model
?
.
commission_val_agent
as
Any
]
ageSetDbtGoods
(
dict
)
{
(
data
)
in
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
NotificationCenter
.
default
.
post
(
name
:
NSNotification
.
Name
(
rawValue
:
"haveChange"
),
object
:
"setting"
)
}
failture
:
{
(
err
)
in
}
}
func
sureGeliAlertViewAction
(
sender
:
UIButton
)
{
switch
vcType
{
switch
vcType
{
case
180
:
case
180
:
let
model
=
datas
[
cellTag
]
let
model
=
datas
[
cellTag
]
if
sender
.
tag
==
1
{
switch
sender
.
tag
{
case
1
:
//上下架
let
cell
=
home_list_tbv
.
cellForRow
(
at
:
IndexPath
(
row
:
cellTag
,
section
:
0
))
as!
GYS_FX_Product_VC_Cell
let
cell
=
home_list_tbv
.
cellForRow
(
at
:
IndexPath
(
row
:
cellTag
,
section
:
0
))
as!
GYS_FX_Product_VC_Cell
var
action
=
1
var
action
=
1
if
cell
.
up_down_btn
.
titleLabel
!.
text
!.
contains
(
"下架"
)
{
if
cell
.
up_down_btn
.
titleLabel
!.
text
!.
contains
(
"下架"
)
{
...
@@ -26,8 +54,8 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -26,8 +54,8 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
}
failture
:
{
(
err
)
in
}
failture
:
{
(
err
)
in
}
}
return
break
}
default
:
//铺货,取消铺货
var
action
=
1
var
action
=
1
if
sender
.
tag
==
0
{
if
sender
.
tag
==
0
{
action
=
2
action
=
2
...
@@ -39,6 +67,8 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -39,6 +67,8 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
}
}
break
break
}
break
case
167
:
case
167
:
let
model
=
gys_datas
[
cellTag
]
let
model
=
gys_datas
[
cellTag
]
switch
sender
.
tag
{
switch
sender
.
tag
{
...
@@ -49,7 +79,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -49,7 +79,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
}
failture
:
{
(
err
)
in
}
failture
:
{
(
err
)
in
}
}
break
break
case
1
:
case
1
:
let
cell
=
home_list_tbv
.
cellForRow
(
at
:
IndexPath
(
row
:
cellTag
,
section
:
0
))
as!
GYS_FX_Product_VC_Cell
let
cell
=
home_list_tbv
.
cellForRow
(
at
:
IndexPath
(
row
:
cellTag
,
section
:
0
))
as!
GYS_FX_Product_VC_Cell
...
@@ -65,7 +94,16 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -65,7 +94,16 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
}
}
break
break
default
:
default
:
let
model
=
gys_datas
[
cellTag
]
let
sku_dic
=
[
"sku_id"
:
model
.
sku_id
as
Any
,
"agent_id"
:
shop_id
as
Any
]
let
sku_info_arr
:
Array
<
Any
>
=
[
sku_dic
]
let
sku_info
=
dataChangeString
(
sender
:
sku_info_arr
)
dbtSetDbtGoods
([
"user_token"
:
UserToken
as
Any
,
"sku_info"
:
sku_info
as
Any
])
{
(
data
)
in
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
NotificationCenter
.
default
.
post
(
name
:
NSNotification
.
Name
(
rawValue
:
"haveChange"
),
object
:
"setting"
)
}
failture
:
{
(
err
)
in
}
break
break
}
}
break
break
...
@@ -127,7 +165,7 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -127,7 +165,7 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
break
break
default
:
//设置分销
default
:
//设置分销
switch
vcType
{
switch
vcType
{
case
180
:
case
180
,
167
:
let
alertView
=
GeliAlertView
(
frame
:
self
.
view
.
window
!.
bounds
)
let
alertView
=
GeliAlertView
(
frame
:
self
.
view
.
window
!.
bounds
)
alertView
.
delegate
=
self
;
alertView
.
delegate
=
self
;
alertView
.
tishiLbl
.
text
=
""
alertView
.
tishiLbl
.
text
=
""
...
@@ -136,12 +174,16 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -136,12 +174,16 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
alertView
.
rightBtn
.
tag
=
action
alertView
.
rightBtn
.
tag
=
action
self
.
view
.
window
?
.
addSubview
(
alertView
)
self
.
view
.
window
?
.
addSubview
(
alertView
)
break
break
case
167
:
break
default
:
default
:
let
view
=
ageSetDbtGoods_View
(
frame
:
self
.
view
.
bounds
)
view
.
delegate
=
self
view
.
model
=
dls_datas
[
cellTag
]
self
.
view
.
window
!.
addSubview
(
view
)
view
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
left
.
bottom
.
right
.
equalTo
(
0
)
}
break
break
}
}
break
break
}
}
...
@@ -264,7 +306,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -264,7 +306,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
var
vcType
=
0
var
vcType
=
0
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
let
searchBr
=
SearchBarView
.
init
()
let
searchBr
=
SearchBarView
.
init
()
searchV
=
searchBr
searchV
=
searchBr
self
.
contentV
.
addSubview
(
searchBr
)
self
.
contentV
.
addSubview
(
searchBr
)
...
@@ -389,11 +430,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -389,11 +430,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
}
}
break
break
}
}
}
}
//MARK:--加载更多数据
//MARK:--加载更多数据
@objc
func
loadMoreData
(){
@objc
func
loadMoreData
(){
...
@@ -485,7 +521,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -485,7 +521,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
cell
.
cancel_btn_w
.
constant
=
0
cell
.
cancel_btn_w
.
constant
=
0
cell
.
up_down_btn_w
.
constant
=
0
cell
.
up_down_btn_w
.
constant
=
0
}
}
switch
vcType
{
switch
vcType
{
case
180
:
case
180
:
let
model
=
datas
[
indexPath
.
row
]
let
model
=
datas
[
indexPath
.
row
]
...
@@ -514,25 +549,51 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -514,25 +549,51 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
cell
.
up_down_btn
.
setTitle
(
"商品下架"
,
for
:
.
normal
)
cell
.
up_down_btn
.
setTitle
(
"商品下架"
,
for
:
.
normal
)
}
}
cell
.
fx_price
.
isHidden
=
true
cell
.
fx_price
.
isHidden
=
true
break
break
default
:
default
:
let
model
=
dls_datas
[
indexPath
.
row
]
let
model
=
dls_datas
[
indexPath
.
row
]
cell
.
icon
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
goods_thumb
!
),
placeholderImage
:
nil
,
options
:
.
allowInvalidSSLCertificates
)
cell
.
icon
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
goods_thumb
!
),
placeholderImage
:
nil
,
options
:
.
allowInvalidSSLCertificates
)
cell
.
name
.
text
=
model
.
goods_name
cell
.
name
.
text
=
model
.
goods_name
cell
.
price
.
text
=
"分销价:"
if
(
self
.
title
!.
contains
(
"已铺货"
))
{
cell
.
comission
.
text
=
"¥
\(
model
.
dbt_price
!
)
(固定提成:
\(
model
.
commission_val
!
)
)"
if
model
.
price_type
==
0
{
//分销
cell
.
price
.
text
=
"分销价:¥
\(
model
.
dbt_price
!
)
"
cell
.
comission
.
text
=
"(提成:
\(
model
.
commission_val
!
)
)"
cell
.
inventory
.
text
=
"库存:
\(
model
.
inventory
!
)
"
cell
.
fx_price
.
isHidden
=
true
cell
.
store
.
isHidden
=
true
}
else
{
//
cell
.
price
.
text
=
"供货价:¥
\(
model
.
supply_price
!
)
"
cell
.
comission
.
text
=
"(提成:
\(
model
.
commission_val
!
)
)"
cell
.
inventory
.
text
=
"库存:
\(
model
.
inventory
!
)
"
cell
.
store
.
isHidden
=
true
cell
.
store_w
.
constant
=
0
cell
.
fx_price
.
text
=
"分销价:¥ -"
if
model
.
dbt_price
!=
nil
{
cell
.
fx_price
.
text
=
"分销价:¥
\(
model
.
dbt_price
!
)
"
}
cell
.
margin
.
constant
=
0
}
}
else
{
//可铺货
cell
.
price
.
text
=
"库存:
\(
model
.
inventory
!
)
"
cell
.
margin
.
constant
=
0
cell
.
store
.
isHidden
=
true
cell
.
store_w
.
constant
=
0
cell
.
comission
.
isHidden
=
true
cell
.
inventory
.
isHidden
=
true
cell
.
inventory
.
isHidden
=
true
cell
.
store
.
text
=
"库存:
\(
model
.
inventory
!
)
"
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
.
up_down_btn
.
setTitle
(
"商品上架"
,
for
:
.
normal
)
cell
.
up_down_btn
.
setTitle
(
"商品上架"
,
for
:
.
normal
)
if
model
.
is_show
==
1
{
if
model
.
is_show
==
1
{
cell
.
up_down_btn
.
setTitle
(
"商品下架"
,
for
:
.
normal
)
cell
.
up_down_btn
.
setTitle
(
"商品下架"
,
for
:
.
normal
)
}
}
cell
.
fx_price
.
isHidden
=
true
break
break
}
}
return
cell
return
cell
}
}
...
...
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC_Cell.swift
View file @
b0e5ff98
...
@@ -11,6 +11,8 @@ protocol GYS_FX_Product_VC_Cell_Delegate {
...
@@ -11,6 +11,8 @@ protocol GYS_FX_Product_VC_Cell_Delegate {
func
GYS_FX_Product_VC_Cell_Action
(
cell
:
GYS_FX_Product_VC_Cell
,
action
:
Int
)
func
GYS_FX_Product_VC_Cell_Action
(
cell
:
GYS_FX_Product_VC_Cell
,
action
:
Int
)
}
}
class
GYS_FX_Product_VC_Cell
:
UITableViewCell
{
class
GYS_FX_Product_VC_Cell
:
UITableViewCell
{
@IBOutlet
weak
var
margin
:
NSLayoutConstraint
!
@IBOutlet
weak
var
store_w
:
NSLayoutConstraint
!
var
delegate
:
GYS_FX_Product_VC_Cell_Delegate
?
var
delegate
:
GYS_FX_Product_VC_Cell_Delegate
?
@IBAction
func
btn_action
(
_
sender
:
UIButton
)
{
@IBAction
func
btn_action
(
_
sender
:
UIButton
)
{
//sender.tag 0取消分销 1上下架 2分销设置
//sender.tag 0取消分销 1上下架 2分销设置
...
...
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC_Cell.xib
View file @
b0e5ff98
...
@@ -115,6 +115,9 @@
...
@@ -115,6 +115,9 @@
</button>
</button>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"分销价:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"WfU-38-9an"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"分销价:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"WfU-38-9an"
>
<rect
key=
"frame"
x=
"90"
y=
"63"
width=
"39.5"
height=
"17"
/>
<rect
key=
"frame"
x=
"90"
y=
"63"
width=
"39.5"
height=
"17"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"39.5"
id=
"aCj-21-5M1"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"12"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
@@ -168,11 +171,13 @@
...
@@ -168,11 +171,13 @@
<outlet
property=
"fx_price"
destination=
"eub-Q6-ZHe"
id=
"SNs-ln-bfs"
/>
<outlet
property=
"fx_price"
destination=
"eub-Q6-ZHe"
id=
"SNs-ln-bfs"
/>
<outlet
property=
"icon"
destination=
"Jr7-Sh-Ibo"
id=
"TDk-Bx-v3m"
/>
<outlet
property=
"icon"
destination=
"Jr7-Sh-Ibo"
id=
"TDk-Bx-v3m"
/>
<outlet
property=
"inventory"
destination=
"5Jw-lG-uGm"
id=
"XQb-ec-Zpf"
/>
<outlet
property=
"inventory"
destination=
"5Jw-lG-uGm"
id=
"XQb-ec-Zpf"
/>
<outlet
property=
"margin"
destination=
"omo-kF-hDk"
id=
"2bz-YX-pgB"
/>
<outlet
property=
"name"
destination=
"YVQ-wf-px1"
id=
"iif-nb-5Dq"
/>
<outlet
property=
"name"
destination=
"YVQ-wf-px1"
id=
"iif-nb-5Dq"
/>
<outlet
property=
"price"
destination=
"VAc-v3-XeF"
id=
"zLY-1R-tg2"
/>
<outlet
property=
"price"
destination=
"VAc-v3-XeF"
id=
"zLY-1R-tg2"
/>
<outlet
property=
"set_btn"
destination=
"R7g-62-YKx"
id=
"Kyq-1u-jUM"
/>
<outlet
property=
"set_btn"
destination=
"R7g-62-YKx"
id=
"Kyq-1u-jUM"
/>
<outlet
property=
"set_btn_w"
destination=
"tL7-9J-xXT"
id=
"hxP-fV-5z1"
/>
<outlet
property=
"set_btn_w"
destination=
"tL7-9J-xXT"
id=
"hxP-fV-5z1"
/>
<outlet
property=
"store"
destination=
"WfU-38-9an"
id=
"VNk-Vy-FPH"
/>
<outlet
property=
"store"
destination=
"WfU-38-9an"
id=
"VNk-Vy-FPH"
/>
<outlet
property=
"store_w"
destination=
"aCj-21-5M1"
id=
"Q80-Sc-jkS"
/>
<outlet
property=
"up_down_btn"
destination=
"5mn-3H-9iX"
id=
"JJH-6i-KkT"
/>
<outlet
property=
"up_down_btn"
destination=
"5mn-3H-9iX"
id=
"JJH-6i-KkT"
/>
<outlet
property=
"up_down_btn_w"
destination=
"lXM-ZI-G6e"
id=
"sFW-vl-K7P"
/>
<outlet
property=
"up_down_btn_w"
destination=
"lXM-ZI-G6e"
id=
"sFW-vl-K7P"
/>
</connections>
</connections>
...
...
GeliBusinessPlatform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.swift
0 → 100644
View file @
b0e5ff98
//
// ageSetDbtGoods_View.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2021/6/7.
// Copyright © 2021 junye lu. All rights reserved.
//
import
UIKit
protocol
ageSetDbtGoods_View_Delegate
{
func
ageSetDbtGoods_View_submit_action
(
view
:
ageSetDbtGoods_View
,
sell_price
:
String
?,
commission
:
String
)
}
class
ageSetDbtGoods_View
:
UIView
{
@IBOutlet
weak
var
comission_lbl
:
UILabel
!
var
delegate
:
ageSetDbtGoods_View_Delegate
?
var
model
:
selAgeDbtGoodsList_Data_D_model
?{
didSet
{
if
model
?
.
price_type
==
0
{
sell_bg_view
.
isHidden
=
true
sell_bg_view_h
.
constant
=
0
bg_view_h
.
constant
=
213
intro_lbl
.
text
=
"店长提成是从代理商分销提成中扣取"
first_line_lbl
.
text
=
"商品分销价:
\(
model
!.
dbt_price
!
)
元 (佣金:
\(
model
!.
commission_val_agent
!
)
元)"
}
else
{
first_line_lbl
.
text
=
"商品供货价:
\(
model
!.
supply_price
!
)
元"
comission_lbl
.
text
=
"(提成 - 元)"
if
model
!.
supply_price
!=
nil
&&
sell_price_tf
.
text
!.
count
>
0
{
let
num1
=
Float
(
sell_price_tf
.
text
!
)
let
num2
=
Float
(
model
!.
supply_price
!
)
comission_lbl
.
text
=
String
(
format
:
"(提成%.2f元)"
,
num1
!
-
num2
!
)
}
}
}
}
@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
}
delegate
?
.
ageSetDbtGoods_View_submit_action
(
view
:
self
,
sell_price
:
sell_price_tf
.
text
,
commission
:
comission_tf
.
text
!
)
close_action
(
sender
)
}
@IBOutlet
weak
var
bg_view_h
:
NSLayoutConstraint
!
@IBAction
func
close_action
(
_
sender
:
UIButton
)
{
self
.
removeFromSuperview
()
}
@IBOutlet
weak
var
comission_tf
:
UITextField
!
@IBOutlet
weak
var
sell_price_tf
:
UITextField
!
@IBOutlet
weak
var
first_line_lbl
:
UILabel
!
@IBOutlet
weak
var
intro_lbl
:
UILabel
!
var
contentView
:
UIView
!
//初始化时将xib中的view添加进来
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
contentView
=
loadViewFromNib
()
addSubview
(
contentView
)
contentView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
top
.
right
.
bottom
.
equalToSuperview
()
}
sell_price_tf
.
addTarget
(
self
,
action
:
#selector(
textChange(text:)
)
,
for
:
.
allEditingEvents
)
}
// /初始化时将xib中的view添加进来
required
init
?(
coder
aDecoder
:
NSCoder
)
{
super
.
init
(
coder
:
aDecoder
)
contentView
=
loadViewFromNib
()
addSubview
(
contentView
)
contentView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
top
.
right
.
bottom
.
equalToSuperview
()
}
sell_price_tf
.
addTarget
(
self
,
action
:
#selector(
textChange(text:)
)
,
for
:
.
allEditingEvents
)
}
@objc
func
textChange
(
text
:
UITextField
){
if
text
.
text
!.
count
>
0
{
let
num1
=
Float
(
text
.
text
!
)
let
num2
=
Float
(
model
!.
supply_price
!
)
if
num1
!
>
num2
!
{
comission_lbl
.
text
=
String
(
format
:
"(提成%.2f元)"
,
num1
!
-
num2
!
)
}
}
}
//加载xib
func
loadViewFromNib
()
->
UIView
{
let
className
=
type
(
of
:
self
)
let
bundle
=
Bundle
(
for
:
className
)
let
name
=
NSStringFromClass
(
className
)
.
components
(
separatedBy
:
"."
)
.
last
let
nib
=
UINib
(
nibName
:
name
!
,
bundle
:
bundle
)
let
view
=
nib
.
instantiate
(
withOwner
:
self
,
options
:
nil
)
.
first
as!
UIView
return
view
}
}
GeliBusinessPlatform/ViewController/供应商分销商品管理/ageSetDbtGoods_View.xib
0 → 100644
View file @
b0e5ff98
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17701"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"ageSetDbtGoods_View"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"bg_view_h"
destination=
"ara-iE-Vz3"
id=
"KBQ-rk-XnG"
/>
<outlet
property=
"comission_lbl"
destination=
"Uz7-1l-SOJ"
id=
"N57-SI-TrI"
/>
<outlet
property=
"comission_tf"
destination=
"EY8-7S-NI4"
id=
"ada-VI-guA"
/>
<outlet
property=
"first_line_lbl"
destination=
"qRF-jd-Yhq"
id=
"lWY-6M-jtS"
/>
<outlet
property=
"intro_lbl"
destination=
"6mI-yU-v1H"
id=
"RTK-5J-Zcy"
/>
<outlet
property=
"sell_bg_view"
destination=
"VG4-tU-xVK"
id=
"fU3-fB-ath"
/>
<outlet
property=
"sell_bg_view_h"
destination=
"djX-u5-oHB"
id=
"LJw-Q0-qCf"
/>
<outlet
property=
"sell_price_tf"
destination=
"QVd-05-Mcc"
id=
"S2a-Mz-bMk"
/>
</connections>
</placeholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
contentMode=
"scaleToFill"
id=
"iN0-l3-epB"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<button
opaque=
"NO"
alpha=
"0.40000000000000002"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Jtz-mn-Hnj"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<color
key=
"backgroundColor"
name=
"标题字颜色"
/>
<state
key=
"normal"
title=
"Button"
/>
<connections>
<action
selector=
"close_action:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"YpH-HT-Er9"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Nmh-DD-aCH"
>
<rect
key=
"frame"
x=
"37"
y=
"302"
width=
"340"
height=
"292"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"分销商品设置"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"yXC-he-ImD"
>
<rect
key=
"frame"
x=
"122"
y=
"25"
width=
"96"
height=
"23"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"16"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"商品供货价:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qRF-jd-Yhq"
>
<rect
key=
"frame"
x=
"15"
y=
"73"
width=
"310"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"VG4-tU-xVK"
>
<rect
key=
"frame"
x=
"0.0"
y=
"92"
width=
"340"
height=
"93"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"商品售卖价格:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bDh-1U-dW3"
>
<rect
key=
"frame"
x=
"15"
y=
"26"
width=
"99.5"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"元"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"pti-Cj-Ldk"
>
<rect
key=
"frame"
x=
"233"
y=
"26"
width=
"13"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
textAlignment=
"center"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"QVd-05-Mcc"
>
<rect
key=
"frame"
x=
"125.5"
y=
"18"
width=
"102.5"
height=
"35"
/>
<color
key=
"backgroundColor"
name=
"#F3F4F8"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"35"
id=
"QBo-Om-5ms"
/>
</constraints>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
keyboardType=
"decimalPad"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"5"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</textField>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"不能低于商品供货价售卖,可以加价在1-10元范围内加价"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"v0e-J7-bNZ"
>
<rect
key=
"frame"
x=
"125.5"
y=
"58"
width=
"190.5"
height=
"30"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"10"
/>
<color
key=
"textColor"
name=
"#E37847"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"(提成0元)"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Uz7-1l-SOJ"
>
<rect
key=
"frame"
x=
"266"
y=
"26"
width=
"56"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<constraints>
<constraint
firstItem=
"pti-Cj-Ldk"
firstAttribute=
"leading"
secondItem=
"QVd-05-Mcc"
secondAttribute=
"trailing"
constant=
"5"
id=
"4Gc-CV-b3B"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"v0e-J7-bNZ"
secondAttribute=
"bottom"
constant=
"5"
id=
"CMd-Rd-w7Z"
/>
<constraint
firstItem=
"bDh-1U-dW3"
firstAttribute=
"leading"
secondItem=
"VG4-tU-xVK"
secondAttribute=
"leading"
constant=
"15"
id=
"DsG-r1-CMJ"
/>
<constraint
firstItem=
"pti-Cj-Ldk"
firstAttribute=
"centerY"
secondItem=
"Uz7-1l-SOJ"
secondAttribute=
"centerY"
id=
"G59-DG-fW5"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"v0e-J7-bNZ"
secondAttribute=
"trailing"
constant=
"24"
id=
"GQU-Z7-NuJ"
/>
<constraint
firstItem=
"QVd-05-Mcc"
firstAttribute=
"centerY"
secondItem=
"bDh-1U-dW3"
secondAttribute=
"centerY"
id=
"PJK-eS-Alw"
/>
<constraint
firstAttribute=
"height"
constant=
"93"
id=
"djX-u5-oHB"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Uz7-1l-SOJ"
secondAttribute=
"trailing"
constant=
"18"
id=
"efH-fF-aq7"
/>
<constraint
firstItem=
"QVd-05-Mcc"
firstAttribute=
"leading"
secondItem=
"bDh-1U-dW3"
secondAttribute=
"trailing"
constant=
"11"
id=
"fIM-60-JTP"
/>
<constraint
firstItem=
"bDh-1U-dW3"
firstAttribute=
"top"
secondItem=
"VG4-tU-xVK"
secondAttribute=
"top"
constant=
"26"
id=
"gO5-zG-F6I"
/>
<constraint
firstItem=
"Uz7-1l-SOJ"
firstAttribute=
"centerY"
secondItem=
"bDh-1U-dW3"
secondAttribute=
"centerY"
id=
"iLk-uA-B75"
/>
<constraint
firstItem=
"Uz7-1l-SOJ"
firstAttribute=
"leading"
secondItem=
"pti-Cj-Ldk"
secondAttribute=
"trailing"
constant=
"20"
id=
"lSg-md-yMh"
/>
<constraint
firstItem=
"v0e-J7-bNZ"
firstAttribute=
"top"
secondItem=
"QVd-05-Mcc"
secondAttribute=
"bottom"
constant=
"5"
id=
"qwY-S0-Cnw"
/>
<constraint
firstItem=
"v0e-J7-bNZ"
firstAttribute=
"leading"
secondItem=
"QVd-05-Mcc"
secondAttribute=
"leading"
id=
"x4g-Vq-8oE"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"店长提成设置:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2L7-7m-Gpp"
>
<rect
key=
"frame"
x=
"15"
y=
"196.5"
width=
"91"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"#999999"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"固定提成"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2XF-R3-T1W"
>
<rect
key=
"frame"
x=
"106"
y=
"196.5"
width=
"52"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"元"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"8Dj-NN-cMQ"
>
<rect
key=
"frame"
x=
"308"
y=
"196.5"
width=
"13"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
textAlignment=
"center"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"EY8-7S-NI4"
>
<rect
key=
"frame"
x=
"169.5"
y=
"188.5"
width=
"133.5"
height=
"35"
/>
<color
key=
"backgroundColor"
name=
"#F3F4F8"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"35"
id=
"48U-xG-YBd"
/>
</constraints>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
keyboardType=
"decimalPad"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"5"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</textField>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"店长提成是从代理商分销提成中扣取"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6mI-yU-v1H"
>
<rect
key=
"frame"
x=
"106"
y=
"228.5"
width=
"160"
height=
"14"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"14"
id=
"KqM-e2-BbV"
/>
<constraint
firstAttribute=
"width"
constant=
"160"
id=
"fmE-FP-siM"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"10"
/>
<color
key=
"textColor"
name=
"#E37847"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2YP-5o-qH8"
>
<rect
key=
"frame"
x=
"0.0"
y=
"247.5"
width=
"340"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"cYN-6Q-4EP"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"AnP-96-K3f"
>
<rect
key=
"frame"
x=
"169.5"
y=
"248.5"
width=
"1"
height=
"43.5"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"1"
id=
"Y9G-DL-mvV"
/>
</constraints>
</view>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"7vm-bs-rjM"
>
<rect
key=
"frame"
x=
"0.0"
y=
"248.5"
width=
"169.5"
height=
"43.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"15"
/>
<state
key=
"normal"
title=
"取消"
>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
</state>
<connections>
<action
selector=
"close_action:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"saD-t5-oRu"
/>
</connections>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"jaX-ua-whu"
>
<rect
key=
"frame"
x=
"170.5"
y=
"248.5"
width=
"169.5"
height=
"43.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"15"
/>
<state
key=
"normal"
title=
"确定"
>
<color
key=
"titleColor"
red=
"0.2784313725"
green=
"0.56078431370000004"
blue=
"0.89019607840000003"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</state>
<connections>
<action
selector=
"submit_action:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"BYL-2f-wKR"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstItem=
"qRF-jd-Yhq"
firstAttribute=
"leading"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"leading"
constant=
"15"
id=
"1L9-wB-IVa"
/>
<constraint
firstItem=
"yXC-he-ImD"
firstAttribute=
"top"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"top"
constant=
"25"
id=
"1wQ-M5-1fR"
/>
<constraint
firstItem=
"EY8-7S-NI4"
firstAttribute=
"centerY"
secondItem=
"2XF-R3-T1W"
secondAttribute=
"centerY"
id=
"5Hq-AK-ymg"
/>
<constraint
firstItem=
"AnP-96-K3f"
firstAttribute=
"centerX"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"centerX"
id=
"6e7-Lq-GgA"
/>
<constraint
firstItem=
"6mI-yU-v1H"
firstAttribute=
"leading"
secondItem=
"2XF-R3-T1W"
secondAttribute=
"leading"
id=
"7Et-DS-XGq"
/>
<constraint
firstItem=
"8Dj-NN-cMQ"
firstAttribute=
"leading"
secondItem=
"EY8-7S-NI4"
secondAttribute=
"trailing"
constant=
"5"
id=
"8uD-8g-rj7"
/>
<constraint
firstItem=
"2L7-7m-Gpp"
firstAttribute=
"leading"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"leading"
constant=
"15"
id=
"8vG-Yz-XJM"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"2YP-5o-qH8"
secondAttribute=
"bottom"
constant=
"43.5"
id=
"9QX-9D-uhB"
/>
<constraint
firstItem=
"jaX-ua-whu"
firstAttribute=
"leading"
secondItem=
"AnP-96-K3f"
secondAttribute=
"trailing"
id=
"9XD-Y4-WiK"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"2YP-5o-qH8"
secondAttribute=
"trailing"
id=
"AXp-aO-C1S"
/>
<constraint
firstItem=
"qRF-jd-Yhq"
firstAttribute=
"top"
secondItem=
"yXC-he-ImD"
secondAttribute=
"bottom"
constant=
"25"
id=
"Cp9-7X-y2a"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"qRF-jd-Yhq"
secondAttribute=
"trailing"
constant=
"15"
id=
"DTL-tq-6Tz"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"jaX-ua-whu"
secondAttribute=
"trailing"
id=
"Emi-pY-Y4v"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"7vm-bs-rjM"
secondAttribute=
"bottom"
id=
"Hmo-L4-UQO"
/>
<constraint
firstItem=
"2L7-7m-Gpp"
firstAttribute=
"top"
secondItem=
"VG4-tU-xVK"
secondAttribute=
"bottom"
constant=
"11.5"
id=
"IEr-U1-ASx"
/>
<constraint
firstItem=
"2XF-R3-T1W"
firstAttribute=
"centerY"
secondItem=
"2L7-7m-Gpp"
secondAttribute=
"centerY"
id=
"JJO-PV-KlE"
/>
<constraint
firstItem=
"6mI-yU-v1H"
firstAttribute=
"top"
secondItem=
"EY8-7S-NI4"
secondAttribute=
"bottom"
constant=
"5"
id=
"QeZ-Ut-81N"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"8Dj-NN-cMQ"
secondAttribute=
"trailing"
constant=
"19"
id=
"SzH-cn-0Bj"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"VG4-tU-xVK"
secondAttribute=
"trailing"
id=
"TFx-yS-OG6"
/>
<constraint
firstItem=
"EY8-7S-NI4"
firstAttribute=
"leading"
secondItem=
"2XF-R3-T1W"
secondAttribute=
"trailing"
constant=
"11.5"
id=
"ViZ-lZ-NIN"
/>
<constraint
firstItem=
"8Dj-NN-cMQ"
firstAttribute=
"centerY"
secondItem=
"2XF-R3-T1W"
secondAttribute=
"centerY"
id=
"Z1E-JD-bIz"
/>
<constraint
firstAttribute=
"height"
constant=
"292"
id=
"ara-iE-Vz3"
/>
<constraint
firstItem=
"yXC-he-ImD"
firstAttribute=
"centerX"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"centerX"
id=
"gCy-JO-9CX"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"jaX-ua-whu"
secondAttribute=
"bottom"
id=
"gSl-Go-EyU"
/>
<constraint
firstItem=
"VG4-tU-xVK"
firstAttribute=
"top"
secondItem=
"qRF-jd-Yhq"
secondAttribute=
"bottom"
id=
"jTR-dl-oFv"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"AnP-96-K3f"
secondAttribute=
"bottom"
id=
"kee-g7-m8K"
/>
<constraint
firstItem=
"7vm-bs-rjM"
firstAttribute=
"top"
secondItem=
"2YP-5o-qH8"
secondAttribute=
"bottom"
id=
"mUq-f9-6HX"
/>
<constraint
firstItem=
"2XF-R3-T1W"
firstAttribute=
"leading"
secondItem=
"2L7-7m-Gpp"
secondAttribute=
"trailing"
id=
"oPu-4A-y4x"
/>
<constraint
firstItem=
"AnP-96-K3f"
firstAttribute=
"leading"
secondItem=
"7vm-bs-rjM"
secondAttribute=
"trailing"
id=
"p97-h0-JOP"
/>
<constraint
firstItem=
"AnP-96-K3f"
firstAttribute=
"top"
secondItem=
"2YP-5o-qH8"
secondAttribute=
"bottom"
id=
"tEA-Gx-Vxh"
/>
<constraint
firstItem=
"jaX-ua-whu"
firstAttribute=
"top"
secondItem=
"2YP-5o-qH8"
secondAttribute=
"bottom"
id=
"tLY-WZ-eBd"
/>
<constraint
firstItem=
"2YP-5o-qH8"
firstAttribute=
"leading"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"leading"
id=
"wEG-SA-czc"
/>
<constraint
firstItem=
"7vm-bs-rjM"
firstAttribute=
"leading"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"leading"
id=
"wjJ-PU-hbD"
/>
<constraint
firstItem=
"VG4-tU-xVK"
firstAttribute=
"leading"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"leading"
id=
"z8K-c3-Me1"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"10"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"vUN-kp-3ea"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<color
key=
"tintColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"Jtz-mn-Hnj"
secondAttribute=
"bottom"
id=
"A7T-v6-edQ"
/>
<constraint
firstItem=
"Jtz-mn-Hnj"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
id=
"B8L-ep-eSQ"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"Nmh-DD-aCH"
secondAttribute=
"trailing"
constant=
"37"
id=
"NMR-uR-ubn"
/>
<constraint
firstItem=
"Nmh-DD-aCH"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
constant=
"37"
id=
"TOH-oZ-pu0"
/>
<constraint
firstItem=
"Jtz-mn-Hnj"
firstAttribute=
"top"
secondItem=
"iN0-l3-epB"
secondAttribute=
"top"
id=
"Wcj-TV-WJQ"
/>
<constraint
firstItem=
"Nmh-DD-aCH"
firstAttribute=
"centerY"
secondItem=
"iN0-l3-epB"
secondAttribute=
"centerY"
id=
"lSz-DI-ZuO"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"Jtz-mn-Hnj"
secondAttribute=
"trailing"
id=
"vta-IY-FuC"
/>
</constraints>
<point
key=
"canvasLocation"
x=
"140.57971014492756"
y=
"59.598214285714285"
/>
</view>
</objects>
<resources>
<namedColor
name=
"#999999"
>
<color
red=
"0.60000002384185791"
green=
"0.60000002384185791"
blue=
"0.60000002384185791"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"#E37847"
>
<color
red=
"0.88999998569488525"
green=
"0.47099998593330383"
blue=
"0.27799999713897705"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"#F3F4F8"
>
<color
red=
"0.95300000905990601"
green=
"0.9570000171661377"
blue=
"0.97299998998641968"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色分界线"
>
<color
red=
"0.92941176470588238"
green=
"0.92941176470588238"
blue=
"0.92941176470588238"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/分销商品管理/FX_Product_GuanLiVC.swift
View file @
b0e5ff98
...
@@ -10,6 +10,7 @@ import UIKit
...
@@ -10,6 +10,7 @@ import UIKit
class
FX_Product_GuanLiVC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
SelectContentViewDelegate
,
HeaderSelectViewDelegate
,
New_Fx_Cell_Delegate
,
FXSZ_View_Delegate
,
XY_FX_Setting_View_Delegate
{
class
FX_Product_GuanLiVC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
SelectContentViewDelegate
,
HeaderSelectViewDelegate
,
New_Fx_Cell_Delegate
,
FXSZ_View_Delegate
,
XY_FX_Setting_View_Delegate
{
var
vcType
=
0
func
XY_FX_Setting_View_action
(
view
:
XY_FX_Setting_View
)
{
func
XY_FX_Setting_View_action
(
view
:
XY_FX_Setting_View
)
{
var
price_type
=
0
var
price_type
=
0
if
view
.
ghj_btn
.
isSelected
==
true
{
if
view
.
ghj_btn
.
isSelected
==
true
{
...
@@ -34,17 +35,14 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -34,17 +35,14 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
}
failture
:
{
(
err
)
in
}
failture
:
{
(
err
)
in
}
}
}
}
var
titleStr
=
""
var
titleStr
=
""
var
dbt_goods_type
=
100
var
dbt_goods_type
=
100
func
FXSZ_View_submitAction
(
tag
:
Int
,
price
:
String
,
commission
:
String
,
view
:
FXSZ_View
)
{
func
FXSZ_View_submitAction
(
tag
:
Int
,
price
:
String
,
commission
:
String
,
view
:
FXSZ_View
)
{
HUD
.
flash
(
.
progress
,
delay
:
1.2
)
HUD
.
flash
(
.
progress
,
delay
:
1.2
)
if
titleStr
.
contains
(
"代理"
)
==
true
{
switch
vcType
{
case
136
:
return
}
if
is_Edit
{
if
is_Edit
{
var
sku_id
=
""
var
sku_id
=
""
for
i
in
0
..<
selectItem
.
count
{
for
i
in
0
..<
selectItem
.
count
{
...
@@ -90,6 +88,10 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -90,6 +88,10 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
HUD
.
hide
()
HUD
.
hide
()
}
failture
:
{
(
err
)
in
}
}
failture
:
{
(
err
)
in
}
break
default
:
break
}
}
}
func
New_Fx_Cell_btnSelect
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
{
func
New_Fx_Cell_btnSelect
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
{
...
@@ -107,60 +109,8 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -107,60 +109,8 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
}
}
func
New_Fx_Cell_btnClick
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
{
func
New_Fx_Cell_btnClick
(
idx
:
Int
,
cell
:
New_Fx_Cell
)
{
switch
vcType
{
if
titleStr
.
contains
(
"代理"
)
==
true
{
case
136
:
switch
idx
{
case
0
:
let
model
=
dbt_datas
[
cell
.
tag
]
let
dict
=
[
"user_token"
:
UserToken
as
Any
,
"sku_id"
:
model
.
sku_id
as
Any
,
]
delDbtInfo
(
dict
)
{
(
data
)
in
HUD
.
flash
(
.
label
(
"取消成功~"
),
delay
:
1.2
)
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
}
failture
:
{
(
err
)
in
}
break
case
1
:
var
action
=
2
if
cell
.
btn2
.
titleLabel
?
.
text
?
.
contains
(
"上"
)
==
true
{
action
=
1
}
let
model
=
dbt_datas
[
cell
.
tag
]
let
dict
=
[
"user_token"
:
UserToken
as
Any
,
"action"
:
action
as
Any
,
"sku_id"
:
model
.
sku_id
as
Any
,
]
setGoodsAttr
(
dict
)
{
(
data
)
in
HUD
.
flash
(
.
label
(
"设置成功~"
),
delay
:
1.2
)
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
}
failture
:
{
(
err
)
in
}
break
default
:
let
model
=
dbt_datas
[
cell
.
tag
]
let
view
=
XY_FX_Setting_View
(
frame
:
self
.
view
.
bounds
)
view
.
delegate
=
self
view
.
tag
=
cell
.
tag
view
.
fxj_btn
.
isSelected
=
true
view
.
fxj_tf
.
text
=
model
.
dbt_price
view
.
commission_tf
.
text
=
model
.
commission_val
if
model
.
price_type
==
1
{
view
.
fxj_tf
.
text
=
""
view
.
commission_tf
.
text
=
""
view
.
ghj_btn
.
isSelected
=
true
view
.
fxj_btn
.
isSelected
=
false
view
.
ghj_tf
.
text
=
model
.
supply_price
view
.
low_tf
.
text
=
model
.
floor_price
view
.
high_tf
.
text
=
model
.
ceiling_price
}
self
.
view
.
addSubview
(
view
)
break
}
}
else
{
switch
idx
{
switch
idx
{
case
0
:
case
0
:
if
is_Edit
{
if
is_Edit
{
...
@@ -231,7 +181,62 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -231,7 +181,62 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
self
.
view
.
addSubview
(
view
)
self
.
view
.
addSubview
(
view
)
break
break
}
}
break
default
:
switch
idx
{
case
0
:
let
model
=
dbt_datas
[
cell
.
tag
]
let
dict
=
[
"user_token"
:
UserToken
as
Any
,
"sku_id"
:
model
.
sku_id
as
Any
,
]
delDbtInfo
(
dict
)
{
(
data
)
in
HUD
.
flash
(
.
label
(
"取消成功~"
),
delay
:
1.2
)
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
}
failture
:
{
(
err
)
in
}
}
break
case
1
:
var
action
=
2
if
cell
.
btn2
.
titleLabel
?
.
text
?
.
contains
(
"上"
)
==
true
{
action
=
1
}
let
model
=
dbt_datas
[
cell
.
tag
]
let
dict
=
[
"user_token"
:
UserToken
as
Any
,
"action"
:
action
as
Any
,
"sku_id"
:
model
.
sku_id
as
Any
,
]
setGoodsAttr
(
dict
)
{
(
data
)
in
HUD
.
flash
(
.
label
(
"设置成功~"
),
delay
:
1.2
)
self
.
home_list_tbv
.
mj_header
?
.
beginRefreshing
()
}
failture
:
{
(
err
)
in
}
break
default
:
let
model
=
dbt_datas
[
cell
.
tag
]
let
view
=
XY_FX_Setting_View
(
frame
:
self
.
view
.
bounds
)
view
.
delegate
=
self
view
.
tag
=
cell
.
tag
view
.
fxj_btn
.
isSelected
=
true
view
.
fxj_tf
.
text
=
model
.
dbt_price
view
.
commission_tf
.
text
=
model
.
commission_val
if
model
.
price_type
==
1
{
view
.
fxj_tf
.
text
=
""
view
.
commission_tf
.
text
=
""
view
.
ghj_btn
.
isSelected
=
true
view
.
fxj_btn
.
isSelected
=
false
view
.
ghj_tf
.
text
=
model
.
supply_price
view
.
low_tf
.
text
=
model
.
floor_price
view
.
high_tf
.
text
=
model
.
ceiling_price
}
self
.
view
.
addSubview
(
view
)
break
}
break
}
}
}
@IBOutlet
weak
var
all_select_btn
:
UIButton
!
@IBOutlet
weak
var
all_select_btn
:
UIButton
!
...
@@ -263,10 +268,13 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -263,10 +268,13 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
var
arr
:[
String
]
=
[]
var
arr
:[
String
]
=
[]
if
showSelectvIndex
==
0
{
if
showSelectvIndex
==
0
{
var
arr1
:
Array
<
String
>
=
[]
var
arr1
:
Array
<
String
>
=
[]
if
titleStr
.
contains
(
"代理"
)
==
true
{
switch
vcType
{
arr1
=
[
"全部商品"
,
"分销商品"
,
"现货商品"
,
"提成比例分销商品"
,
"固定提成分销商品"
]
case
136
:
}
else
{
arr1
=
[
"全部商品"
,
"不参与分销商品"
,
"参与分销商品"
,
"提成比例商品"
,
"绝对额比例商品"
]
arr1
=
[
"全部商品"
,
"不参与分销商品"
,
"参与分销商品"
,
"提成比例商品"
,
"绝对额比例商品"
]
break
default
:
arr1
=
[
"全部商品"
,
"分销商品"
,
"现货商品"
,
"提成比例分销商品"
,
"固定提成分销商品"
]
break
}
}
arr
.
append
(
arr1
[
sender
])
arr
.
append
(
arr1
[
sender
])
}
else
if
showSelectvIndex
==
1
{
}
else
if
showSelectvIndex
==
1
{
...
@@ -294,11 +302,15 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -294,11 +302,15 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
make
.
top
.
equalTo
(
top_btn_bg_view
.
snp_bottom
)
make
.
top
.
equalTo
(
top_btn_bg_view
.
snp_bottom
)
}
}
showSelectV
=
showSelectView
showSelectV
=
showSelectView
if
titleStr
.
contains
(
"代理"
)
==
true
{
switch
vcType
{
showSelectView
.
dataArr
=
[
"全部商品"
,
"分销商品"
,
"现货商品"
,
"提成比例分销商品"
,
"固定提成分销商品"
]
case
136
:
}
else
{
showSelectView
.
dataArr
=
[
"全部商品"
,
"不参与分销商品"
,
"参与分销商品"
,
"提成比例商品"
,
"绝对额比例商品"
]
showSelectView
.
dataArr
=
[
"全部商品"
,
"不参与分销商品"
,
"参与分销商品"
,
"提成比例商品"
,
"绝对额比例商品"
]
break
default
:
showSelectView
.
dataArr
=
[
"全部商品"
,
"分销商品"
,
"现货商品"
,
"提成比例分销商品"
,
"固定提成分销商品"
]
break
}
}
showSelectView
.
selectIndx
=
selectIndexArr
[
0
]
showSelectView
.
selectIndx
=
selectIndexArr
[
0
]
}
}
break
break
...
@@ -490,10 +502,12 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -490,10 +502,12 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
//MARK: - tableview_delegate
//MARK: - tableview_delegate
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
if
titleStr
.
contains
(
"代理"
)
==
true
{
switch
vcType
{
case
136
:
return
datas
.
count
default
:
return
dbt_datas
.
count
return
dbt_datas
.
count
}
}
return
datas
.
count
}
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
...
@@ -511,7 +525,36 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -511,7 +525,36 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
cell
.
leftBtn
.
isUserInteractionEnabled
=
false
cell
.
leftBtn
.
isUserInteractionEnabled
=
false
cell
.
select_img
.
isHidden
=
true
cell
.
select_img
.
isHidden
=
true
}
}
if
titleStr
.
contains
(
"代理"
)
==
true
{
switch
vcType
{
case
136
:
let
model
=
datas
[
indexPath
.
row
]
selectItem
.
forEach
{
(
idx
)
in
if
idx
==
model
.
sku_id
{
cell
.
select_img
.
image
=
UIImage
(
named
:
"yuxuan"
)
}
}
if
model
.
dbt_price
==
nil
&&
model
.
commission_val
==
nil
{
cell
.
price
.
isHidden
=
true
}
else
{
cell
.
price
.
isHidden
=
false
cell
.
price
.
text
=
"分销价: ¥
\(
model
.
dbt_price
!
)
(固定提成:
\(
model
.
commission_val
!
)
)"
}
if
model
.
is_show
!=
nil
{
cell
.
is_show
=
model
.
is_show
!
}
cell
.
is_dbt
=
model
.
is_dbt
!
cell
.
spec
.
text
=
"单价: ¥"
+
model
.
price
!
cell
.
name
.
text
=
model
.
goods_name
if
model
.
inventory
!=
nil
{
cell
.
spec
.
text
!
+=
" "
+
"库存:
\(
model
.
inventory
!
)
"
}
else
{
cell
.
spec
.
text
!
+=
" "
+
"库存: -"
}
if
model
.
goods_thumb
!=
nil
{
cell
.
icon
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
goods_thumb
!
),
placeholderImage
:
nil
,
options
:
.
allowInvalidSSLCertificates
)
}
break
default
:
let
model
=
dbt_datas
[
indexPath
.
row
]
let
model
=
dbt_datas
[
indexPath
.
row
]
selectItem
.
forEach
{
(
idx
)
in
selectItem
.
forEach
{
(
idx
)
in
if
idx
==
model
.
sku_id
{
if
idx
==
model
.
sku_id
{
...
@@ -550,34 +593,9 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -550,34 +593,9 @@ class FX_Product_GuanLiVC: BaseViewController,UITableViewDelegate,UITableViewDat
}
else
{
}
else
{
cell
.
spec
.
text
!
+=
" "
+
"库存: -"
cell
.
spec
.
text
!
+=
" "
+
"库存: -"
}
}
}
else
{
break
let
model
=
datas
[
indexPath
.
row
]
selectItem
.
forEach
{
(
idx
)
in
if
idx
==
model
.
sku_id
{
cell
.
select_img
.
image
=
UIImage
(
named
:
"yuxuan"
)
}
}
if
model
.
dbt_price
==
nil
&&
model
.
commission_val
==
nil
{
cell
.
price
.
isHidden
=
true
}
else
{
cell
.
price
.
isHidden
=
false
cell
.
price
.
text
=
"分销价: ¥
\(
model
.
dbt_price
!
)
(固定提成:
\(
model
.
commission_val
!
)
)"
}
if
model
.
is_show
!=
nil
{
cell
.
is_show
=
model
.
is_show
!
}
cell
.
is_dbt
=
model
.
is_dbt
!
cell
.
spec
.
text
=
"单价: ¥"
+
model
.
price
!
cell
.
name
.
text
=
model
.
goods_name
if
model
.
inventory
!=
nil
{
cell
.
spec
.
text
!
+=
" "
+
"库存:
\(
model
.
inventory
!
)
"
}
else
{
cell
.
spec
.
text
!
+=
" "
+
"库存: -"
}
if
model
.
goods_thumb
!=
nil
{
cell
.
icon
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
goods_thumb
!
),
placeholderImage
:
nil
,
options
:
.
allowInvalidSSLCertificates
)
}
}
}
return
cell
return
cell
}
}
...
...
GeliBusinessPlatform/ViewController/商品详情/EPViewController.swift
View file @
b0e5ff98
...
@@ -252,7 +252,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
...
@@ -252,7 +252,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
"original_img_edit"
:
original_img_edit
as
Any
,
//商品封面图是否有修改,1是0非
"original_img_edit"
:
original_img_edit
as
Any
,
//商品封面图是否有修改,1是0非
"goods_banner"
:
goods_bannerStr
as
Any
,
//商品副图,多张,最多5张,使用一维数组转json格式
"goods_banner"
:
goods_bannerStr
as
Any
,
//商品副图,多张,最多5张,使用一维数组转json格式
"sku_info"
:
sku_info
as
Any
]
"sku_info"
:
sku_info
as
Any
]
print
(
sku_info
)
//MARK:--修改商品接口
//MARK:--修改商品接口
goodsEdit
(
dic
,
success
:
{
(
data
)
in
goodsEdit
(
dic
,
success
:
{
(
data
)
in
HUD
.
flash
(
.
labeledSubSuccess
(
subtitle
:
"提交修改成功"
),
delay
:
1.2
)
HUD
.
flash
(
.
labeledSubSuccess
(
subtitle
:
"提交修改成功"
),
delay
:
1.2
)
...
...
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
View file @
b0e5ff98
...
@@ -662,6 +662,7 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
...
@@ -662,6 +662,7 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
// HUD.flash(.label("敬请期待"),delay: 1.2)
// HUD.flash(.label("敬请期待"),delay: 1.2)
let
vc
=
FX_Product_GuanLiVC
()
let
vc
=
FX_Product_GuanLiVC
()
vc
.
titleStr
=
"设置分销商品"
vc
.
titleStr
=
"设置分销商品"
vc
.
vcType
=
136
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
return
return
// case 137: //分销分账设置
// case 137: //分销分账设置
...
@@ -725,14 +726,16 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
...
@@ -725,14 +726,16 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
vc
.
titleStr
=
"分销员管理"
vc
.
titleStr
=
"分销员管理"
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
return
return
case
153
:
//设置
分销商品
case
153
:
//设置
下游代理商品 queryagentgoods
let
vc
=
FX_Product_GuanLiVC
()
let
vc
=
FX_Product_GuanLiVC
()
vc
.
titleStr
=
"设置分销商品"
vc
.
titleStr
=
"设置下游代理商品"
vc
.
vcType
=
153
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
return
return
case
154
:
//设置代理商品
case
154
:
//设置代理商品
let
vc
=
FX_Product_GuanLiVC
()
let
vc
=
FX_Product_GuanLiVC
()
vc
.
titleStr
=
"设置代理商品"
vc
.
titleStr
=
"设置代理商品"
vc
.
vcType
=
154
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
return
return
case
155
:
//分销分账管理
case
155
:
//分销分账管理
...
...
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