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
5fb8aa79
Commit
5fb8aa79
authored
Feb 03, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购设置
parent
09d2b7c9
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
8 deletions
+28
-8
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Other/JXPhotoBrowser/JXPhotoBrowser.swift
...usinessPlatform/Other/JXPhotoBrowser/JXPhotoBrowser.swift
+16
-2
GeliBusinessPlatform/View/AlertView/GLAlertSelectView.swift
GeliBusinessPlatform/View/AlertView/GLAlertSelectView.swift
+10
-1
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
+1
-2
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
+1
-1
GeliBusinessPlatform/ViewController/订单管理/预售价格修改/XiuGaiYuShouJiaViewController.swift
...ontroller/订单管理/预售价格修改/XiuGaiYuShouJiaViewController.swift
+0
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
5fb8aa79
No preview for this file type
GeliBusinessPlatform/Other/JXPhotoBrowser/JXPhotoBrowser.swift
View file @
5fb8aa79
...
@@ -137,7 +137,7 @@ open class JXPhotoBrowser: UIViewController, UIViewControllerTransitioningDelega
...
@@ -137,7 +137,7 @@ open class JXPhotoBrowser: UIViewController, UIViewControllerTransitioningDelega
pageIndicator
?
.
reloadData
(
numberOfItems
:
numberOfItems
(),
pageIndex
:
pageIndex
)
pageIndicator
?
.
reloadData
(
numberOfItems
:
numberOfItems
(),
pageIndex
:
pageIndex
)
}
}
let
lbl
=
UILabel
(
frame
:
CGRect
(
x
:
20
,
y
:
0
,
width
:
100
,
height
:
100
)
)
let
lbl
=
UILabel
()
open
override
func
viewDidLoad
()
{
open
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
...
@@ -158,9 +158,22 @@ open class JXPhotoBrowser: UIViewController, UIViewControllerTransitioningDelega
...
@@ -158,9 +158,22 @@ open class JXPhotoBrowser: UIViewController, UIViewControllerTransitioningDelega
}
}
lbl
.
text
=
"返回"
lbl
.
text
=
"返回"
lbl
.
textColor
=
UIColor
.
white
lbl
.
textColor
=
UIColor
.
white
view
.
addSubview
(
lbl
)
view
.
addSubview
(
lbl
)
lbl
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
NavHeight
)
make
.
left
.
equalTo
(
20
)
make
.
width
.
equalTo
(
60
)
make
.
height
.
equalTo
(
30
)
}
lbl
.
textAlignment
=
.
center
lbl
.
font
=
UIFont
(
name
:
"PingFangSC-Medium"
,
size
:
15
)
lbl
.
backgroundColor
=
UIColor
(
named
:
"蓝色字体颜色"
)
lbl
.
layer
.
cornerRadius
=
15
lbl
.
layer
.
masksToBounds
=
true
view
.
setNeedsLayout
()
view
.
setNeedsLayout
()
view
.
layoutIfNeeded
()
view
.
layoutIfNeeded
()
...
@@ -189,6 +202,7 @@ open class JXPhotoBrowser: UIViewController, UIViewControllerTransitioningDelega
...
@@ -189,6 +202,7 @@ open class JXPhotoBrowser: UIViewController, UIViewControllerTransitioningDelega
open
override
func
viewWillDisappear
(
_
animated
:
Bool
)
{
open
override
func
viewWillDisappear
(
_
animated
:
Bool
)
{
super
.
viewWillDisappear
(
animated
)
super
.
viewWillDisappear
(
animated
)
lbl
.
removeFromSuperview
()
hideNavigationBar
(
false
)
hideNavigationBar
(
false
)
}
}
...
@@ -285,7 +299,7 @@ open class JXPhotoBrowser: UIViewController, UIViewControllerTransitioningDelega
...
@@ -285,7 +299,7 @@ open class JXPhotoBrowser: UIViewController, UIViewControllerTransitioningDelega
deinit
{
deinit
{
JXPhotoBrowserLog
.
low
(
"deinit -
\(
self
.
classForCoder
)
"
)
JXPhotoBrowserLog
.
low
(
"deinit -
\(
self
.
classForCoder
)
"
)
lbl
.
removeFromSuperview
()
navigationController
?
.
delegate
=
previousNavigationControllerDelegate
navigationController
?
.
delegate
=
previousNavigationControllerDelegate
}
}
...
...
GeliBusinessPlatform/View/AlertView/GLAlertSelectView.swift
View file @
5fb8aa79
...
@@ -30,6 +30,7 @@ class GLAlertSelectView: UIView,UITableViewDelegate,UITableViewDataSource,TitleA
...
@@ -30,6 +30,7 @@ class GLAlertSelectView: UIView,UITableViewDelegate,UITableViewDataSource,TitleA
func
sureGeliAlertViewAction
(
sender
:
UIButton
)
{
func
sureGeliAlertViewAction
(
sender
:
UIButton
)
{
delegate
?
.
GLAlertSelectViewFinish
?(
sender
:
sender
,
title
:
ysyfTitle
,
cellTag
:
cellTag
!
)
delegate
?
.
GLAlertSelectViewFinish
?(
sender
:
sender
,
title
:
ysyfTitle
,
cellTag
:
cellTag
!
)
}
}
var
isHideCaiGou
=
false
var
isBz
=
false
var
isBz
=
false
var
is_center_select
=
false
var
is_center_select
=
false
var
isNonSelect
=
false
{
var
isNonSelect
=
false
{
...
@@ -89,7 +90,9 @@ class GLAlertSelectView: UIView,UITableViewDelegate,UITableViewDataSource,TitleA
...
@@ -89,7 +90,9 @@ class GLAlertSelectView: UIView,UITableViewDelegate,UITableViewDataSource,TitleA
var
dataArr
=
Array
<
String
>
(){
var
dataArr
=
Array
<
String
>
(){
didSet
{
didSet
{
var
tbvH
=
CGFloat
(
dataArr
.
count
*
49
)
var
tbvH
=
CGFloat
(
dataArr
.
count
*
49
)
if
isHideCaiGou
{
tbvH
=
CGFloat
((
dataArr
.
count
-
1
)
*
49
)
}
if
tbvH
>
fullScreenHeight
*
0.6
{
if
tbvH
>
fullScreenHeight
*
0.6
{
tbvH
=
fullScreenHeight
*
0.6
tbvH
=
fullScreenHeight
*
0.6
selectTbv
.
isScrollEnabled
=
true
selectTbv
.
isScrollEnabled
=
true
...
@@ -190,12 +193,18 @@ class GLAlertSelectView: UIView,UITableViewDelegate,UITableViewDataSource,TitleA
...
@@ -190,12 +193,18 @@ class GLAlertSelectView: UIView,UITableViewDelegate,UITableViewDataSource,TitleA
return
0.001
return
0.001
}
}
}
}
if
isHideCaiGou
{
if
indexPath
.
row
==
0
{
return
0.001
}
}
return
49
return
49
}
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
if
(
titleLbl
.
text
?
.
contains
(
"库位"
))
!
&&
isOnlySelectKuWei
==
false
{
if
(
titleLbl
.
text
?
.
contains
(
"库位"
))
!
&&
isOnlySelectKuWei
==
false
{
return
kuWeiArr
.
count
return
kuWeiArr
.
count
}
}
return
dataArr
.
count
return
dataArr
.
count
}
}
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
5fb8aa79
...
@@ -416,11 +416,10 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
...
@@ -416,11 +416,10 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
if
isCaiGou
==
false
{
if
isCaiGou
==
false
{
if
glSelectView
==
nil
{
if
glSelectView
==
nil
{
let
view
=
GLAlertSelectView
(
frame
:
self
.
view
.
bounds
)
let
view
=
GLAlertSelectView
(
frame
:
self
.
view
.
bounds
)
view
.
isHideCaiGou
=
true
view
.
tag
=
indexPath
.
row
view
.
tag
=
indexPath
.
row
if
typeSelect
!=
nil
{
view
.
selectNum
=
typeSelect
view
.
selectNum
=
typeSelect
view
.
tempNum
=
view
.
selectNum
view
.
tempNum
=
view
.
selectNum
}
view
.
isOnlySelectKuWei
=
true
view
.
isOnlySelectKuWei
=
true
view
.
delegate
=
self
view
.
delegate
=
self
view
.
titleLbl
.
text
=
"请选择入库类型"
view
.
titleLbl
.
text
=
"请选择入库类型"
...
...
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
View file @
5fb8aa79
...
@@ -701,7 +701,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
...
@@ -701,7 +701,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
let
rowModel
=
self
.
dataArr
[
indexPath
.
row
]
let
rowModel
=
self
.
dataArr
[
indexPath
.
row
]
let
vc
=
OrderDViewController
()
let
vc
=
OrderDViewController
()
vc
.
delegate
=
self
vc
.
delegate
=
self
vc
.
orderId
=
rowMo
del
.
order_id
!
vc
.
orderId
=
rowModel
.
order_id
!
vc
.
lmIdx
=
orderStatus
vc
.
lmIdx
=
orderStatus
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
...
...
GeliBusinessPlatform/ViewController/订单管理/预售价格修改/XiuGaiYuShouJiaViewController.swift
View file @
5fb8aa79
...
@@ -61,7 +61,6 @@ class XiuGaiYuShouJiaViewController: BaseViewController, UITextFieldDelegate {
...
@@ -61,7 +61,6 @@ class XiuGaiYuShouJiaViewController: BaseViewController, UITextFieldDelegate {
}
else
{
}
else
{
//MARK:--代客下单流程
//MARK:--代客下单流程
if
inputData
.
count
>
0
{
if
inputData
.
count
>
0
{
let
item
=
inputData
[
0
]
let
item
=
inputData
[
0
]
titleLbl
.
text
=
item
.
goods_name
titleLbl
.
text
=
item
.
goods_name
detailLbl
.
text
=
item
.
spec_str
detailLbl
.
text
=
item
.
spec_str
...
@@ -70,7 +69,6 @@ class XiuGaiYuShouJiaViewController: BaseViewController, UITextFieldDelegate {
...
@@ -70,7 +69,6 @@ class XiuGaiYuShouJiaViewController: BaseViewController, UITextFieldDelegate {
weiKuanTF
.
text
=
wkTFstr
weiKuanTF
.
text
=
wkTFstr
countLbl
.
text
=
"¥"
+
item
.
target_Price
!
+
"x
\(
item
.
target_Count
!
)
"
countLbl
.
text
=
"¥"
+
item
.
target_Price
!
+
"x
\(
item
.
target_Count
!
)
"
}
}
}
}
//MARK:--输入框代理
//MARK:--输入框代理
dingJinTF
.
delegate
=
self
dingJinTF
.
delegate
=
self
...
...
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