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
b26de610
Commit
b26de610
authored
Jun 23, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug1.0
parent
623c3547
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
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
+11
-4
GeliBusinessPlatform/ViewController/新增采购单/CGDCell.xib
GeliBusinessPlatform/ViewController/新增采购单/CGDCell.xib
+0
-0
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
+1
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
b26de610
No preview for this file type
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
b26de610
...
@@ -174,7 +174,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
...
@@ -174,7 +174,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
@IBOutlet
weak
var
lgBtnTitLbl
:
UILabel
!
@IBOutlet
weak
var
lgBtnTitLbl
:
UILabel
!
@IBOutlet
weak
var
lgBtn
:
LGButton
!
@IBOutlet
weak
var
lgBtn
:
LGButton
!
var
isGm
=
false
var
isGm
=
false
let
titleArr
=
[
"仓库:"
,
"库位:"
,
"入库类型:"
,
"入库时间:"
,
"备注:"
]
var
titleArr
=
[
"仓库:"
,
"库位:"
,
"入库类型:"
,
"入库时间:"
,
"备注:"
]
var
holderArr
=
[
"请选择仓库"
,
"请选择库位"
,
"请选择入库类型"
,
"时间"
,
"请输入备注"
]
var
holderArr
=
[
"请选择仓库"
,
"请选择库位"
,
"请选择入库类型"
,
"时间"
,
"请输入备注"
]
//入库类型
//入库类型
var
rkTypeArr
=
[
"采购"
,
"调入"
,
"退货"
,
"生产"
,
"调出被拒绝"
,
"外采"
,
"其他"
,
"固定采购"
,
"临时采购"
]
var
rkTypeArr
=
[
"采购"
,
"调入"
,
"退货"
,
"生产"
,
"调出被拒绝"
,
"外采"
,
"其他"
,
"固定采购"
,
"临时采购"
]
...
@@ -200,7 +200,10 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
...
@@ -200,7 +200,10 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
if
orderNumStr
.
count
>
0
{
titleArr
.
append
(
"采购单号:"
)
holderArr
.
append
(
orderNumStr
)
}
if
isCaiGou
{
if
isCaiGou
{
typeSelect
=
0
typeSelect
=
0
...
@@ -422,7 +425,9 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
...
@@ -422,7 +425,9 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
}
}
let
data
=
rkSelectArr
[
indexPath
.
row
]
let
data
=
rkSelectArr
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
data
.
goods_name
cell
.
nameLbl
.
text
=
data
.
goods_name
cell
.
titLbl
.
text
=
"入库数量:(可入库量为
\(
data
.
no_push_num
!
)
"
if
data
.
no_push_num
!=
nil
{
cell
.
titLbl
.
text
=
"入库数量:(可入库量为
\(
data
.
no_push_num
!
)
)"
}
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
=
"1"
cell
.
rkCountTf
.
text
=
"1"
...
@@ -462,7 +467,9 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
...
@@ -462,7 +467,9 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
if
indexPath
.
row
==
4
{
if
indexPath
.
row
==
4
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndLblCell"
)
as!
TitleAndLblCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndLblCell"
)
as!
TitleAndLblCell
cell
.
nameLbl
.
text
=
titleArr
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
titleArr
[
indexPath
.
row
]
cell
.
btmLine
.
isHidden
=
true
if
orderNumStr
.
count
==
0
{
cell
.
btmLine
.
isHidden
=
true
}
cell
.
contentLbl
.
text
=
holderArr
[
indexPath
.
row
]
cell
.
contentLbl
.
text
=
holderArr
[
indexPath
.
row
]
cell
.
btmW
.
constant
=
0
cell
.
btmW
.
constant
=
0
cell
.
contentRight
.
constant
=
0
cell
.
contentRight
.
constant
=
0
...
...
GeliBusinessPlatform/ViewController/新增采购单/CGDCell.xib
View file @
b26de610
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
View file @
b26de610
...
@@ -159,7 +159,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
...
@@ -159,7 +159,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
case
"修改信息"
:
case
"修改信息"
:
let
vc
=
XinCaiGouViewController
()
let
vc
=
XinCaiGouViewController
()
vc
.
delegate
=
self
vc
.
delegate
=
self
vc
.
cgName
=
model
?
.
purchaser
!
vc
.
cgName
=
model
?
.
purchaser
!
as!
String
vc
.
orderNum
=
model
?
.
po_no
!
vc
.
orderNum
=
model
?
.
po_no
!
vc
.
po_id
=
model
?
.
po_id
!
vc
.
po_id
=
model
?
.
po_id
!
vc
.
ven_id
=
model
?
.
ven_id
!
vc
.
ven_id
=
model
?
.
ven_id
!
...
...
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