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
48dee4c3
Commit
48dee4c3
authored
Jun 04, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
读取默认仓库
parent
e2b91bcc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
+15
-4
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
48dee4c3
No preview for this file type
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
48dee4c3
...
...
@@ -128,11 +128,11 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
}
@IBAction
func
gmAction
(
_
sender
:
Any
)
{
if
holderArr
[
0
]
==
"
默认
仓库"
{
if
holderArr
[
0
]
==
"
请选择
仓库"
{
HUD
.
flash
(
.
label
(
"请选择仓库"
),
delay
:
1.2
)
return
}
if
holderArr
[
1
]
==
"
默认
库位"
{
if
holderArr
[
1
]
==
"
请选择
库位"
{
HUD
.
flash
(
.
label
(
"请选择库位"
),
delay
:
1.2
)
return
}
...
...
@@ -155,7 +155,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
@IBOutlet
weak
var
lgBtn
:
LGButton
!
var
isGm
=
false
let
titleArr
=
[
"仓库:"
,
"库位:"
,
"入库类型:"
,
"入库时间:"
]
var
holderArr
=
[
"
默认仓库"
,
"默认
库位"
,
"请选择入库类型"
,
"时间"
]
var
holderArr
=
[
"
请选择仓库"
,
"请选择
库位"
,
"请选择入库类型"
,
"时间"
]
//入库类型
var
rkTypeArr
=
[
"采购"
,
"调入"
,
"退货"
,
"生产"
,
"调出被拒绝"
,
"外采"
,
"其他"
,
"固定采购"
,
"临时采购"
]
var
typeSelect
:
Int
?
...
...
@@ -195,7 +195,18 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
model
.
data
?
.
auth
?
.
forEach
({
(
str
)
in
self
.
authArr
.
append
(
str
)
})
model
.
data
?
.
warehouse_res
?
.
forEach
({
(
item
)
in
if
item
.
is_default
==
1
{
self
.
holderArr
.
insert
(
item
.
w_name
!
,
at
:
0
)
self
.
holderArr
.
remove
(
at
:
1
)
item
.
warehouse_position
?
.
forEach
({
(
data
)
in
if
data
.
is_default
==
1
{
self
.
holderArr
.
insert
(
data
.
p_name
!
,
at
:
1
)
self
.
holderArr
.
remove
(
at
:
2
)
}
})
}
})
if
self
.
authArr
.
contains
(
"63"
)
==
false
&&
self
.
authArr
.
contains
(
"65"
)
==
false
{
self
.
listView
.
isHidden
=
true
self
.
lgBtn
.
isHidden
=
true
...
...
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