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
11732d8a
Commit
11732d8a
authored
Jun 04, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整为普通流程
parent
5c50ce17
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
11 deletions
+23
-11
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
+7
-5
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
+16
-6
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
11732d8a
No preview for this file type
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
11732d8a
...
@@ -238,10 +238,10 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
...
@@ -238,10 +238,10 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
}
}
self
.
lgBtnTitLbl
.
text
=
"提交申请"
self
.
lgBtnTitLbl
.
text
=
"提交申请"
if
self
.
authArr
.
contains
(
"63"
){
//
if self.authArr.contains("63"){
self
.
isGm
=
true
//
self.isGm = true
self
.
lgBtnTitLbl
.
text
=
"直接入库"
//
self.lgBtnTitLbl.text = "直接入库"
}
//
}
model
.
data
?
.
warehouse_res
?
.
forEach
({
(
item
)
in
model
.
data
?
.
warehouse_res
?
.
forEach
({
(
item
)
in
self
.
rkWareHouseArr
.
append
(
item
)
self
.
rkWareHouseArr
.
append
(
item
)
...
@@ -357,7 +357,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
...
@@ -357,7 +357,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
cell
.
nameLbl
.
text
=
data
.
goods_name
cell
.
nameLbl
.
text
=
data
.
goods_name
cell
.
detailLbl
.
text
=
data
.
spec_str
!
+
" "
+
"¥
\(
data
.
price
!
)
"
cell
.
detailLbl
.
text
=
data
.
spec_str
!
+
" "
+
"¥
\(
data
.
price
!
)
"
cell
.
rkPriceTf
.
text
=
"
\(
data
.
price
!
)
"
cell
.
rkPriceTf
.
text
=
"
\(
data
.
price
!
)
"
cell
.
rkCountTf
.
text
=
""
cell
.
rkCountTf
.
text
=
"
1
"
cell
.
bzqTf
.
text
=
""
cell
.
bzqTf
.
text
=
""
cell
.
timeLbl
.
text
=
"请选择生产日期"
cell
.
timeLbl
.
text
=
"请选择生产日期"
if
data
.
RKJG
!=
nil
{
if
data
.
RKJG
!=
nil
{
...
@@ -365,6 +365,8 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
...
@@ -365,6 +365,8 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
}
}
if
data
.
RKSL
!=
nil
{
if
data
.
RKSL
!=
nil
{
cell
.
rkCountTf
.
text
=
"
\(
data
.
RKSL
!
)
"
cell
.
rkCountTf
.
text
=
"
\(
data
.
RKSL
!
)
"
}
else
{
cell
.
rkCountTf
.
text
=
"1"
}
}
if
data
.
BZQ
!=
nil
{
if
data
.
BZQ
!=
nil
{
cell
.
bzqTf
.
text
=
"
\(
data
.
BZQ
!
)
"
cell
.
bzqTf
.
text
=
"
\(
data
.
BZQ
!
)
"
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
View file @
11732d8a
...
@@ -159,7 +159,14 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
...
@@ -159,7 +159,14 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
//输入数据
//输入数据
let
num
=
sender
as
NSString
let
num
=
sender
as
NSString
let
data
=
rkSelectArr
[
cell
.
tag
]
let
data
=
rkSelectArr
[
cell
.
tag
]
data
.
chuKuLiang
=
num
.
integerValue
if
num
.
integerValue
==
0
{
HUD
.
flash
(
.
label
(
"出库数量不低于1"
),
delay
:
1.2
)
data
.
chuKuLiang
=
1
let
idx
=
IndexPath
(
row
:
cell
.
tag
,
section
:
1
)
listView
.
reloadRows
(
at
:
[
idx
],
with
:
.
none
)
}
else
{
data
.
chuKuLiang
=
num
.
integerValue
}
}
}
@IBOutlet
weak
var
btmBtn
:
LGButton
!
@IBOutlet
weak
var
btmBtn
:
LGButton
!
...
@@ -206,10 +213,10 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
...
@@ -206,10 +213,10 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
}
}
self
.
btmLbl
.
text
=
"提交申请"
self
.
btmLbl
.
text
=
"提交申请"
if
self
.
authArr
.
contains
(
"64"
){
//
if self.authArr.contains("64"){
self
.
isGm
=
true
//
self.isGm = true
self
.
btmLbl
.
text
=
"直接出库"
//
self.btmLbl.text = "直接出库"
}
//
}
self
.
listView
.
reloadData
()
self
.
listView
.
reloadData
()
})
{
(
error
)
in
})
{
(
error
)
in
...
@@ -227,7 +234,8 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
...
@@ -227,7 +234,8 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
indexPath
.
section
==
1
{
if
indexPath
.
section
==
1
{
if
isGm
{
if
isGm
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"CKGmCell"
)
as!
CKGmCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"CKGmCell"
)
as!
CKGmCell
cell
.
tag
=
indexPath
.
row
cell
.
tag
=
indexPath
.
row
let
data
=
rkSelectArr
[
cell
.
tag
]
let
data
=
rkSelectArr
[
cell
.
tag
]
...
@@ -261,6 +269,8 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
...
@@ -261,6 +269,8 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
cell
.
detailLbl
.
text
=
data
.
spec_str
cell
.
detailLbl
.
text
=
data
.
spec_str
if
data
.
chuKuLiang
!=
nil
{
if
data
.
chuKuLiang
!=
nil
{
cell
.
ckCountTf
.
text
=
"
\(
data
.
chuKuLiang
!
)
"
cell
.
ckCountTf
.
text
=
"
\(
data
.
chuKuLiang
!
)
"
}
else
{
cell
.
ckCountTf
.
text
=
"1"
}
}
return
cell
return
cell
...
...
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