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
d576a5e2
Commit
d576a5e2
authored
Aug 07, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善出入库显示
parent
7374c551
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/出入库记录/CRKBtnCell.xib
GeliBusinessPlatform/ViewController/出入库记录/CRKBtnCell.xib
+2
-2
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
+16
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
d576a5e2
No preview for this file type
GeliBusinessPlatform/ViewController/出入库记录/CRKBtnCell.xib
View file @
d576a5e2
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097
.2
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<resources>
<resources>
<image
name=
"jinru"
width=
"13"
height=
"23"
/>
<image
name=
"jinru"
width=
"13"
height=
"23"
/>
<namedColor
name=
"个人中心灰色字体"
>
<namedColor
name=
"个人中心灰色字体"
>
<color
red=
"0.3
919999897480011"
green=
"0.3919999897480011"
blue=
"0.3919999897480011
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.3
8823529411764707"
green=
"0.38823529411764707"
blue=
"0.38823529411764707
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
...
...
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
View file @
d576a5e2
...
@@ -474,7 +474,19 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
...
@@ -474,7 +474,19 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
if
data
.
goods_spec
!.
count
>
0
{
if
data
.
goods_spec
!.
count
>
0
{
cell
.
guiGe
.
text
=
data
.
goods_spec
cell
.
guiGe
.
text
=
data
.
goods_spec
}
}
if
navbar
.
title
==
"商品入库详情"
{
cell
.
rukuShu
.
text
=
"入库数量:"
+
"
\(
data
.
number
!
)
"
cell
.
rukuShu
.
text
=
"入库数量:"
+
"
\(
data
.
number
!
)
"
cell
.
rkjg
.
text
=
"入库价格:¥"
+
data
.
amount
!
cell
.
rkzj
.
text
=
"入库总价:¥"
+
data
.
subtotal
!
}
else
{
cell
.
rukuShu
.
text
=
"出库数量:"
+
"
\(
data
.
number
!
)
"
cell
.
rkjg
.
text
=
"仓库名:"
+
data
.
w_name
!
cell
.
rkzj
.
text
=
"库位名:"
+
data
.
p_name
!
}
cell
.
scrq
.
text
=
"生产日期:---"
cell
.
scrq
.
text
=
"生产日期:---"
if
data
.
production_data
!
!=
0
{
if
data
.
production_data
!
!=
0
{
cell
.
scrq
.
text
=
"生产日期:"
+
dayByDouble
(
sender
:
data
.
production_data
!
)
cell
.
scrq
.
text
=
"生产日期:"
+
dayByDouble
(
sender
:
data
.
production_data
!
)
...
@@ -483,8 +495,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
...
@@ -483,8 +495,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
if
data
.
valid_date
!
!=
0
{
if
data
.
valid_date
!
!=
0
{
cell
.
gqrq
.
text
=
"过期日期:"
+
dayByDouble
(
sender
:
data
.
valid_date
!
)
cell
.
gqrq
.
text
=
"过期日期:"
+
dayByDouble
(
sender
:
data
.
valid_date
!
)
}
}
cell
.
rkjg
.
text
=
"入库价格:¥"
+
data
.
amount
!
cell
.
rkzj
.
text
=
"入库总价:¥"
+
data
.
subtotal
!
cell
.
baozhiQ
.
text
=
"保质期:---"
cell
.
baozhiQ
.
text
=
"保质期:---"
if
data
.
shelf_life
!=
0
{
if
data
.
shelf_life
!=
0
{
cell
.
baozhiQ
.
text
=
"保质期:"
+
"
\(
data
.
shelf_life
!
)
天"
cell
.
baozhiQ
.
text
=
"保质期:"
+
"
\(
data
.
shelf_life
!
)
天"
...
@@ -521,9 +532,12 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
...
@@ -521,9 +532,12 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
if
model
.
valid_date
!
!=
0
{
if
model
.
valid_date
!
!=
0
{
cell
.
gqrq
.
text
=
"过期日期:"
+
dayByDouble
(
sender
:
model
.
valid_date
!
)
cell
.
gqrq
.
text
=
"过期日期:"
+
dayByDouble
(
sender
:
model
.
valid_date
!
)
}
}
cell
.
rukuShu
.
text
=
"入库数量:"
+
"
\(
model
.
number
!
)
"
cell
.
rukuShu
.
text
=
"入库数量:"
+
"
\(
model
.
number
!
)
"
cell
.
rkjg
.
text
=
"入库价格:¥"
+
"
\(
model
.
amount
!
)
"
cell
.
rkjg
.
text
=
"入库价格:¥"
+
"
\(
model
.
amount
!
)
"
cell
.
rkzj
.
text
=
"入库总价:¥"
+
"
\(
model
.
subtotal
!
)
"
cell
.
rkzj
.
text
=
"入库总价:¥"
+
"
\(
model
.
subtotal
!
)
"
cell
.
baozhiQ
.
text
=
"保质期:---"
cell
.
baozhiQ
.
text
=
"保质期:---"
if
model
.
shelf_life
!=
0
{
if
model
.
shelf_life
!=
0
{
cell
.
baozhiQ
.
text
=
"保质期:"
+
"
\(
model
.
shelf_life
!
)
天"
cell
.
baozhiQ
.
text
=
"保质期:"
+
"
\(
model
.
shelf_life
!
)
天"
...
...
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