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
a8f75854
Commit
a8f75854
authored
Jun 05, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复禅道已知bug
parent
b6eab630
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
11 deletions
+19
-11
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/Cell/XuanZeShangPinCell.xib
GeliBusinessPlatform/View/Cell/XuanZeShangPinCell.xib
+0
-1
GeliBusinessPlatform/ViewController/1.1入库&出库/NewSelectItemVc.swift
...essPlatform/ViewController/1.1入库&出库/NewSelectItemVc.swift
+3
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
+4
-1
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
+0
-1
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.swift
...Platform/ViewController/入库/PiCiXuanZeViewController.swift
+5
-0
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
+7
-7
GeliBusinessPlatform/ViewController/消息中心/MsgCenterViewController.swift
...latform/ViewController/消息中心/MsgCenterViewController.swift
+0
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
a8f75854
No preview for this file type
GeliBusinessPlatform/View/Cell/XuanZeShangPinCell.xib
View file @
a8f75854
...
...
@@ -223,7 +223,6 @@
</constraints>
<connections>
<action
selector=
"btnClickAction:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"lAu-Sj-JCd"
/>
<action
selector=
"tapBtn:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"buY-0L-HGa"
/>
</connections>
</button>
<label
hidden=
"YES"
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"123"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"trg-dk-v2W"
>
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/NewSelectItemVc.swift
View file @
a8f75854
...
...
@@ -42,8 +42,11 @@ class NewSelectItemVc: BaseViewController,UITableViewDelegate,UITableViewDataSou
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"XuanZeShangPinCell"
)
as!
XuanZeShangPinCell
cell
.
tag
=
indexPath
.
row
let
cellData
=
rkDatas
[
indexPath
.
row
]
cell
.
tapBtn
.
isUserInteractionEnabled
=
false
cell
.
selectBtn
.
isSelected
=
false
for
item
in
rkSelectArr
{
if
item
.
sku_id
==
cellData
.
sku_id
{
cell
.
selectBtn
.
isSelected
=
true
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
a8f75854
...
...
@@ -13,11 +13,12 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
//MARK: - 提交申请
func
sureGeliAlertTextViewAction
(
sender
:
String
)
{
if
isGm
{
if
sender
.
count
==
0
{
HUD
.
flash
(
.
label
(
"请填写备注"
),
delay
:
1.2
)
return
}
}
HUD
.
show
(
.
progress
)
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
...
...
@@ -121,6 +122,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
}
@IBAction
func
gmAction
(
_
sender
:
Any
)
{
if
gmNumber
==
nil
{
if
holderArr
[
0
]
==
"请选择仓库"
{
HUD
.
flash
(
.
label
(
"请选择仓库"
),
delay
:
1.2
)
return
...
...
@@ -129,6 +131,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
HUD
.
flash
(
.
label
(
"请选择库位"
),
delay
:
1.2
)
return
}
}
if
holderArr
[
2
]
==
"请选择入库类型"
{
HUD
.
flash
(
.
label
(
"请选择入库类型"
),
delay
:
1.2
)
return
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
View file @
a8f75854
...
...
@@ -119,7 +119,6 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
HUD
.
hide
()
HUD
.
flash
(
.
labeledSubSuccess
(
subtitle
:
"出库成功"
),
delay
:
1.2
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
})
{
(
error
)
in
}
...
...
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.swift
View file @
a8f75854
...
...
@@ -54,6 +54,9 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi
listView
.
register
(
UINib
(
nibName
:
"CRKSumCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"CRKSumCell"
)
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
let
dic
=
[
"user_token"
:
UserToken
as
Any
,
"sku_id"
:
sku_id
as
Any
]
listView
.
isHidden
=
true
HUD
.
flash
(
.
progress
)
GetGoodBatch
(
dic
,
success
:
{
(
data
)
in
let
model
=
data
as!
GetGoodBatchModel
model
.
data
?
.
forEach
({
(
item
)
in
...
...
@@ -69,6 +72,8 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi
}
}
self
.
listView
.
reloadData
()
self
.
listView
.
isHidden
=
false
HUD
.
hide
()
})
{
(
error
)
in
}
...
...
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
View file @
a8f75854
...
...
@@ -470,7 +470,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
let
data
=
ioGoodsModels
!
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
data
.
goods_name
cell
.
guiGe
.
text
=
"规格:---"
if
data
.
goods_spec
!=
nil
{
if
data
.
goods_spec
!.
count
>
0
{
cell
.
guiGe
.
text
=
data
.
goods_spec
}
cell
.
rukuShu
.
text
=
"入库数量:"
+
"
\(
data
.
number
!
)
"
...
...
@@ -485,7 +485,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
cell
.
rkjg
.
text
=
"入库价格:¥"
+
data
.
amount
!
cell
.
rkzj
.
text
=
"入库总价:¥"
+
data
.
subtotal
!
cell
.
baozhiQ
.
text
=
"保质期:---"
if
data
.
shelf_life
!=
nil
{
if
data
.
shelf_life
!=
0
{
cell
.
baozhiQ
.
text
=
"保质期:"
+
"
\(
data
.
shelf_life
!
)
天"
let
month
=
data
.
shelf_life
!/
30
let
day
=
data
.
shelf_life
!
%
30
...
...
@@ -508,7 +508,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
let
model
=
inGoodsModels
!
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
model
.
goods_name
cell
.
guiGe
.
text
=
"规格:---"
if
model
.
goods_spec
!=
nil
{
if
model
.
goods_spec
!.
count
>
0
{
cell
.
guiGe
.
text
=
model
.
goods_spec
}
...
...
@@ -524,7 +524,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
cell
.
rkjg
.
text
=
"入库价格:¥"
+
"
\(
model
.
amount
!
)
"
cell
.
rkzj
.
text
=
"入库总价:¥"
+
"
\(
model
.
subtotal
!
)
"
cell
.
baozhiQ
.
text
=
"保质期:---"
if
model
.
shelf_life
!=
nil
{
if
model
.
shelf_life
!=
0
{
cell
.
baozhiQ
.
text
=
"保质期:"
+
"
\(
model
.
shelf_life
!
)
天"
let
month
=
model
.
shelf_life
!/
30
let
day
=
model
.
shelf_life
!
%
30
...
...
@@ -554,7 +554,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
cell
.
nameLbl
.
text
=
model
.
goods_name
cell
.
guiGe
.
text
=
model
.
goods_spec
cell
.
rukuShu
.
text
=
"仓库名:---"
if
model
.
w_name
!=
nil
{
if
model
.
w_name
!.
count
>
0
{
cell
.
rukuShu
.
text
=
"仓库名:"
+
"
\(
model
.
w_name
!
)
"
}
cell
.
scrq
.
text
=
"生产日期:---"
...
...
@@ -566,11 +566,11 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
cell
.
gqrq
.
text
=
"过期日期:"
+
dayByDouble
(
sender
:
model
.
valid_date
!
)
}
cell
.
rkjg
.
text
=
"库位名:---"
if
model
.
p_name
!=
nil
{
if
model
.
p_name
!.
count
>
0
{
cell
.
rkjg
.
text
=
"库位名:"
+
"
\(
model
.
p_name
!
)
"
}
cell
.
rkzj
.
text
=
"保质期:---"
if
model
.
shelf_life
!=
nil
{
if
model
.
shelf_life
!=
0
{
cell
.
rkzj
.
text
=
"保质期:"
+
"
\(
model
.
shelf_life
!
)
天"
let
month
=
model
.
shelf_life
!/
30
let
day
=
model
.
shelf_life
!%
30
...
...
GeliBusinessPlatform/ViewController/消息中心/MsgCenterViewController.swift
View file @
a8f75854
...
...
@@ -128,7 +128,6 @@ class MsgCenterViewController: BaseViewController,UITableViewDelegate,UITableVie
// cell.contentLbl.hideSkeleton(reloadDataAfter: true, transition: .crossDissolve(0.25))
// }
// }
let
rowModel
=
self
.
dataModelArr
[
indexPath
.
row
]
cell
.
titleLbl
.
text
=
rowModel
.
title
...
...
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