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
6d6a7d7d
Commit
6d6a7d7d
authored
Feb 22, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复已知入库详情显示bug
parent
139be52b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
3 deletions
+29
-3
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Model/WarehouseManageModel/InGoodsDetailModel.swift
...tform/Model/WarehouseManageModel/InGoodsDetailModel.swift
+8
-0
GeliBusinessPlatform/ViewController/供应商管理/GYSListViewController.swift
...Platform/ViewController/供应商管理/GYSListViewController.swift
+1
-0
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
+18
-1
GeliBusinessPlatform/ViewController/出入库记录/NewRKCell.xib
GeliBusinessPlatform/ViewController/出入库记录/NewRKCell.xib
+2
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
6d6a7d7d
No preview for this file type
GeliBusinessPlatform/Model/WarehouseManageModel/InGoodsDetailModel.swift
View file @
6d6a7d7d
...
...
@@ -69,6 +69,10 @@ class InGoodsDetailDataGoodsResModel: Mappable {
var
report_sn
:
String
?
var
file_url
:
String
?
var
batch_id
:
Int
?
var
ven_name
:
String
?
var
ven_id
:
Int
?
required
init
?(
map
:
Map
)
{
}
...
...
@@ -89,6 +93,10 @@ class InGoodsDetailDataGoodsResModel: Mappable {
inventory
<-
map
[
"inventory"
]
report_sn
<-
map
[
"report_sn"
]
file_url
<-
map
[
"file_url"
]
ven_name
<-
map
[
"ven_name"
]
batch_id
<-
map
[
"batch_id"
]
ven_id
<-
map
[
"ven_id"
]
}
}
GeliBusinessPlatform/ViewController/供应商管理/GYSListViewController.swift
View file @
6d6a7d7d
...
...
@@ -10,6 +10,7 @@ import UIKit
protocol
GYSListViewControllerDelegate
{
func
GYSListViewControllerGetGYS
(
sender
:
VendorListDataModel
)
}
class
GYSListViewController
:
BaseViewController
,
UITableViewDataSource
,
UITableViewDelegate
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
GYSGLViewControllerDelegate
{
func
GYSGLViewControllerFinish
()
{
listView
.
mj_header
?
.
beginRefreshing
()
...
...
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
View file @
6d6a7d7d
...
...
@@ -464,6 +464,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
return
cell
}
print
(
"abc=== "
,
model
?
.
io_type
,
model
?
.
status
)
if
model
?
.
io_type
==
1
||
(
model
?
.
status
!
)
!
>
1
{
//入库
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"NewRKCell"
)
as!
NewRKCell
...
...
@@ -570,6 +571,15 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
cell
.
baogao
.
text
=
"报告:"
+
"
\(
model
.
report_sn
!
)
"
}
cell
.
pi_ci_lbl
.
text
=
"商品批次:无"
if
model
.
batch_id
!=
nil
{
cell
.
pi_ci_lbl
.
text
=
"商品批次:"
+
"
\(
model
.
batch_id
!
)
"
}
cell
.
gys_lbl
.
text
=
"供应商:无"
if
model
.
ven_name
!=
nil
{
cell
.
gys_lbl
.
text
=
"供应商:"
+
"
\(
model
.
ven_name
!
)
"
}
return
cell
}
...
...
@@ -618,8 +628,15 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
}
cell
.
baogao
.
isHidden
=
true
cell
.
pi_ci_lbl
.
text
=
"商品批次:无"
if
model
.
batch_id
!=
nil
{
cell
.
pi_ci_lbl
.
text
=
"商品批次:"
+
"
\(
model
.
batch_id
!
)
"
}
cell
.
gys_lbl
.
text
=
"供应商:无"
if
model
.
ven_name
!=
nil
{
cell
.
gys_lbl
.
text
=
"供应商:"
+
"
\(
model
.
ven_name
!
)
"
}
return
cell
}
...
...
GeliBusinessPlatform/ViewController/出入库记录/NewRKCell.xib
View file @
6d6a7d7d
...
...
@@ -149,7 +149,7 @@
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"kGX-Nr-KTJ"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
Label
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"QfU-XN-RsA"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
商品批次:无
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"QfU-XN-RsA"
>
<rect
key=
"frame"
x=
"15"
y=
"266"
width=
"315"
height=
"18.5"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"18.5"
id=
"Cka-T1-bE3"
/>
...
...
@@ -165,7 +165,7 @@
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"vQc-bh-ein"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
Label
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"7YJ-pG-OWQ"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
供应商:无
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"7YJ-pG-OWQ"
>
<rect
key=
"frame"
x=
"15"
y=
"315.5"
width=
"315"
height=
"18.5"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"18.5"
id=
"7KK-29-r33"
/>
...
...
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