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
fb7b4689
Commit
fb7b4689
authored
Apr 28, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库(提交申请)页面
parent
bff15798
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
382 additions
and
6 deletions
+382
-6
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+32
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/入库/BaoZhiQiCell.swift
GeliBusinessPlatform/ViewController/入库/BaoZhiQiCell.swift
+48
-0
GeliBusinessPlatform/ViewController/入库/BaoZhiQiCell.xib
GeliBusinessPlatform/ViewController/入库/BaoZhiQiCell.xib
+0
-0
GeliBusinessPlatform/ViewController/入库/RuKuJiaGeCell.swift
GeliBusinessPlatform/ViewController/入库/RuKuJiaGeCell.swift
+28
-0
GeliBusinessPlatform/ViewController/入库/RuKuJiaGeCell.xib
GeliBusinessPlatform/ViewController/入库/RuKuJiaGeCell.xib
+97
-0
GeliBusinessPlatform/ViewController/入库/RuKuViewController.swift
...sinessPlatform/ViewController/入库/RuKuViewController.swift
+170
-0
GeliBusinessPlatform/ViewController/入库/RuKuViewController.xib
...BusinessPlatform/ViewController/入库/RuKuViewController.xib
+0
-0
GeliBusinessPlatform/ViewController/出入库记录/ChuRuKuJiLuXQViewController.swift
...rm/ViewController/出入库记录/ChuRuKuJiLuXQViewController.swift
+6
-5
GeliBusinessPlatform/ViewController/出入库记录/ChuRuKuJiLuXQViewController.xib
...form/ViewController/出入库记录/ChuRuKuJiLuXQViewController.xib
+0
-0
GeliBusinessPlatform/ViewController/新增、编辑(查看)仓库/CheckWareHourseViewController.xib
...wController/新增、编辑(查看)仓库/CheckWareHourseViewController.xib
+1
-1
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
fb7b4689
...
...
@@ -71,6 +71,12 @@
E0516F7F244806C500E373CE
/* MsgCenterViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F7E244806C500E373CE
/* MsgCenterViewController.swift */
;
};
E0516F822448086700E373CE
/* MsgCenterCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F802448086700E373CE
/* MsgCenterCell.swift */
;
};
E0516F832448086700E373CE
/* MsgCenterCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0516F812448086700E373CE
/* MsgCenterCell.xib */
;
};
E06524ED2458008900CA22E2
/* RuKuViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524EB2458008900CA22E2
/* RuKuViewController.swift */
;
};
E06524EE2458008900CA22E2
/* RuKuViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524EC2458008900CA22E2
/* RuKuViewController.xib */
;
};
E06524F124580AAC00CA22E2
/* RuKuJiaGeCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524EF24580AAC00CA22E2
/* RuKuJiaGeCell.swift */
;
};
E06524F224580AAC00CA22E2
/* RuKuJiaGeCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524F024580AAC00CA22E2
/* RuKuJiaGeCell.xib */
;
};
E06524F524580BB600CA22E2
/* BaoZhiQiCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524F324580BB600CA22E2
/* BaoZhiQiCell.swift */
;
};
E06524F624580BB600CA22E2
/* BaoZhiQiCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524F424580BB600CA22E2
/* BaoZhiQiCell.xib */
;
};
E088CC8D24470BF0000DAA8A
/* CodeView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC8C24470BF0000DAA8A
/* CodeView.swift */
;
};
E088CC932447124D000DAA8A
/* BindViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC912447124D000DAA8A
/* BindViewController.swift */
;
};
E088CC942447124D000DAA8A
/* BindViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E088CC922447124D000DAA8A
/* BindViewController.xib */
;
};
...
...
@@ -344,6 +350,12 @@
E0516F7E244806C500E373CE
/* MsgCenterViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MsgCenterViewController.swift
;
sourceTree
=
"<group>"
;
};
E0516F802448086700E373CE
/* MsgCenterCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MsgCenterCell.swift
;
sourceTree
=
"<group>"
;
};
E0516F812448086700E373CE
/* MsgCenterCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
MsgCenterCell.xib
;
sourceTree
=
"<group>"
;
};
E06524EB2458008900CA22E2
/* RuKuViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
RuKuViewController.swift
;
sourceTree
=
"<group>"
;
};
E06524EC2458008900CA22E2
/* RuKuViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
RuKuViewController.xib
;
sourceTree
=
"<group>"
;
};
E06524EF24580AAC00CA22E2
/* RuKuJiaGeCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
RuKuJiaGeCell.swift
;
sourceTree
=
"<group>"
;
};
E06524F024580AAC00CA22E2
/* RuKuJiaGeCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
RuKuJiaGeCell.xib
;
sourceTree
=
"<group>"
;
};
E06524F324580BB600CA22E2
/* BaoZhiQiCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
BaoZhiQiCell.swift
;
sourceTree
=
"<group>"
;
};
E06524F424580BB600CA22E2
/* BaoZhiQiCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
BaoZhiQiCell.xib
;
sourceTree
=
"<group>"
;
};
E088CC8C24470BF0000DAA8A
/* CodeView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CodeView.swift
;
sourceTree
=
"<group>"
;
};
E088CC912447124D000DAA8A
/* BindViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
BindViewController.swift
;
sourceTree
=
"<group>"
;
};
E088CC922447124D000DAA8A
/* BindViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
BindViewController.xib
;
sourceTree
=
"<group>"
;
};
...
...
@@ -798,6 +810,19 @@
path
=
"消息中心"
;
sourceTree
=
"<group>"
;
};
E06524EA2458006600CA22E2
/* 入库 */
=
{
isa
=
PBXGroup
;
children
=
(
E06524EB2458008900CA22E2
/* RuKuViewController.swift */
,
E06524EC2458008900CA22E2
/* RuKuViewController.xib */
,
E06524EF24580AAC00CA22E2
/* RuKuJiaGeCell.swift */
,
E06524F024580AAC00CA22E2
/* RuKuJiaGeCell.xib */
,
E06524F324580BB600CA22E2
/* BaoZhiQiCell.swift */
,
E06524F424580BB600CA22E2
/* BaoZhiQiCell.xib */
,
);
path
=
"入库"
;
sourceTree
=
"<group>"
;
};
E088CC882446FFA1000DAA8A
/* Other */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -893,6 +918,7 @@
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
isa
=
PBXGroup
;
children
=
(
E06524EA2458006600CA22E2
/* 入库 */
,
E02C88232456B23400925766
/* 物流跟踪 */
,
E02FD9F3245578D800E10E27
/* 地址管理 */
,
E02FD9EE2455704600E10E27
/* 出入库记录 */
,
...
...
@@ -1538,6 +1564,8 @@
E09B03B72445B85A00211A51
/* LoginViewController.xib in Resources */
,
E09F4C9E2452BEBB00BE033D
/* JiPaiFangShiViewController.xib in Resources */
,
E09B03C12445B96500211A51
/* FgPassViewController.xib in Resources */
,
E06524EE2458008900CA22E2
/* RuKuViewController.xib in Resources */
,
E06524F624580BB600CA22E2
/* BaoZhiQiCell.xib in Resources */
,
E0D197C7244845FD002B080C
/* PersonCenterViewController.xib in Resources */
,
E02DDD83244FD15B00ABB707
/* TitleAndSwitchHeaderView.xib in Resources */
,
E00E48CB2457D96100F16545
/* ChuRuKuJiLuXQViewController.xib in Resources */
,
...
...
@@ -1563,6 +1591,7 @@
E00E48C72457C99900F16545
/* KuCunShangPinXQViewController.xib in Resources */
,
E02FD9F22455705F00E10E27
/* ChuRuKuJiLuCell.xib in Resources */
,
F961D26924500550007FBE70
/* HeaderSelectView.xib in Resources */
,
E06524F224580AAC00CA22E2
/* RuKuJiaGeCell.xib in Resources */
,
E088CC942447124D000DAA8A
/* BindViewController.xib in Resources */
,
E0F97B092451620B001BD600
/* ProductDetailViewController.xib in Resources */
,
E0B9462C2456AABE00FBEC9A
/* YuShouWeiKuanFaHuoCell.xib in Resources */
,
...
...
@@ -1711,6 +1740,7 @@
E0F97B0C24516B1F001BD600
/* AddImgCell.swift in Sources */
,
E0B9462B2456AABE00FBEC9A
/* YuShouWeiKuanFaHuoCell.swift in Sources */
,
E09B03C32445BD9500211A51
/* NavViewController.swift in Sources */
,
E06524F124580AAC00CA22E2
/* RuKuJiaGeCell.swift in Sources */
,
E042F7382452766100CDFA12
/* AdressSelectCell.swift in Sources */
,
F95567A72453DA86009674AB
/* WarehoseMangementListVC.swift in Sources */
,
F933F6CF2452C68B00189561
/* PKHUDErrorView.swift in Sources */
,
...
...
@@ -1763,6 +1793,7 @@
E09B03C62445BF6700211A51
/* NavBarView.swift in Sources */
,
E0C9EF12244E922200277435
/* OrderDViewController.swift in Sources */
,
F950FDE424518B9500C40530
/* FSCalendarTransitionCoordinator.m in Sources */
,
E06524ED2458008900CA22E2
/* RuKuViewController.swift in Sources */
,
F9171F0224513C5B00359C2B
/* UpDataModel.swift in Sources */
,
F950FDAD245163E500C40530
/* GoodsListModel.swift in Sources */
,
E0D197BD2448431C002B080C
/* BabySpeaker.m in Sources */
,
...
...
@@ -1799,6 +1830,7 @@
F9023F692449A50900DD5A63
/* TitleContentCell.swift in Sources */
,
F95A9ED8245520E500867849
/* OrderListVC.swift in Sources */
,
F933F6CE2452C68B00189561
/* PKHUDSquareBaseView.swift in Sources */
,
E06524F524580BB600CA22E2
/* BaoZhiQiCell.swift in Sources */
,
E0DDCB1D244AE81800DF54C7
/* GuanLianKeHuCell.swift in Sources */
,
E0D197BF2448431C002B080C
/* BabyBluetooth.m in Sources */
,
E0F97B1424517A31001BD600
/* CommendCell.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
fb7b4689
No preview for this file type
GeliBusinessPlatform/ViewController/入库/BaoZhiQiCell.swift
0 → 100644
View file @
fb7b4689
//
// BaoZhiQiCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/28.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
BaoZhiQiCell
:
UITableViewCell
{
@IBOutlet
weak
var
nameLbl
:
UILabel
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
dayBtn
.
isSelected
=
true
dayBtn
.
backgroundColor
=
UIColor
(
named
:
"蓝色字体颜色"
)
}
@IBAction
func
textTF
(
_
sender
:
Any
)
{
}
@IBAction
func
selectClick
(
_
sender
:
UIButton
)
{
if
sender
==
dayBtn
{
dayBtn
.
isSelected
=
true
dayBtn
.
backgroundColor
=
UIColor
(
named
:
"蓝色字体颜色"
)
monthBtn
.
isSelected
=
false
monthBtn
.
backgroundColor
=
UIColor
(
named
:
"灰色分界线"
)
}
else
{
dayBtn
.
isSelected
=
false
monthBtn
.
backgroundColor
=
UIColor
(
named
:
"蓝色字体颜色"
)
monthBtn
.
isSelected
=
true
dayBtn
.
backgroundColor
=
UIColor
(
named
:
"灰色分界线"
)
}
}
@IBOutlet
weak
var
monthBtn
:
UIButton
!
@IBOutlet
weak
var
dayBtn
:
UIButton
!
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
}
}
GeliBusinessPlatform/ViewController/入库/BaoZhiQiCell.xib
0 → 100644
View file @
fb7b4689
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/入库/RuKuJiaGeCell.swift
0 → 100644
View file @
fb7b4689
//
// RuKuJiaGeCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/28.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
RuKuJiaGeCell
:
UITableViewCell
{
@IBOutlet
weak
var
textTF
:
UITextField
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
// Initialization code
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
}
GeliBusinessPlatform/ViewController/入库/RuKuJiaGeCell.xib
0 → 100644
View file @
fb7b4689
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"15702"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"15704"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<tableViewCell
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
id=
"KGk-i7-Jjw"
customClass=
"RuKuJiaGeCell"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"49"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"KGk-i7-Jjw"
id=
"H2p-sc-9uM"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"49"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"vQU-EY-Z7z"
>
<rect
key=
"frame"
x=
"15"
y=
"48"
width=
"360"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"w7I-wI-X2S"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"标题"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"EP5-Xn-Mg4"
>
<rect
key=
"frame"
x=
"15"
y=
"16.5"
width=
"100"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"16"
id=
"0ik-1S-Qye"
/>
<constraint
firstAttribute=
"width"
constant=
"100"
id=
"GrS-kO-8KR"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"元"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"B4P-im-WzS"
>
<rect
key=
"frame"
x=
"346"
y=
"16.5"
width=
"14"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"16"
id=
"1iT-s7-dB7"
/>
<constraint
firstAttribute=
"width"
constant=
"14"
id=
"Vzp-Xz-9B8"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
textAlignment=
"center"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"OoD-co-qU9"
>
<rect
key=
"frame"
x=
"276"
y=
"8.5"
width=
"65"
height=
"32"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"65"
id=
"03e-79-7ag"
/>
<constraint
firstAttribute=
"height"
constant=
"32"
id=
"YaE-IW-4Ba"
/>
</constraints>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"borderColor"
>
<color
key=
"value"
name=
"标题字颜色"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"borderWidth"
>
<real
key=
"value"
value=
"1"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"3"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</textField>
</subviews>
<constraints>
<constraint
firstItem=
"vQU-EY-Z7z"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"Gpi-OR-nIu"
/>
<constraint
firstItem=
"B4P-im-WzS"
firstAttribute=
"leading"
secondItem=
"OoD-co-qU9"
secondAttribute=
"trailing"
constant=
"5"
id=
"NQQ-3T-Qxc"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"B4P-im-WzS"
secondAttribute=
"trailing"
constant=
"15"
id=
"OXx-Ox-Buk"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"vQU-EY-Z7z"
secondAttribute=
"trailing"
id=
"PnC-xZ-anU"
/>
<constraint
firstItem=
"EP5-Xn-Mg4"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"UDQ-6c-eyP"
/>
<constraint
firstItem=
"EP5-Xn-Mg4"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"c0q-fW-753"
/>
<constraint
firstItem=
"B4P-im-WzS"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"g5h-BV-tn0"
/>
<constraint
firstItem=
"OoD-co-qU9"
firstAttribute=
"centerY"
secondItem=
"B4P-im-WzS"
secondAttribute=
"centerY"
id=
"pqm-04-Fqz"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"vQU-EY-Z7z"
secondAttribute=
"bottom"
id=
"xlu-83-aCV"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"nameLbl"
destination=
"EP5-Xn-Mg4"
id=
"dkY-iI-tZ3"
/>
<outlet
property=
"textTF"
destination=
"OoD-co-qU9"
id=
"KZK-Ej-lre"
/>
</connections>
<point
key=
"canvasLocation"
x=
"132"
y=
"122"
/>
</tableViewCell>
</objects>
<resources>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色分界线"
>
<color
red=
"0.92941176470588238"
green=
"0.92941176470588238"
blue=
"0.92941176470588238"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/入库/RuKuViewController.swift
0 → 100644
View file @
fb7b4689
//
// RuKuViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/28.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
RuKuViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
let
p1Arr1
=
[
"仓库:"
,
"库位:"
,
"入库类型:"
,
"入库时间:"
]
let
p1Arr2
=
[
"默认仓库"
,
"默认库位"
,
"请选择入库类型"
,
"0"
]
let
p3Arr1
=
[
"入库价格:"
,
"入库数量:"
,
"生产日期:"
,
"保质期:"
,
"检测报告:"
]
@IBAction
func
submitAction
(
_
sender
:
Any
)
{
}
@IBOutlet
weak
var
btmView
:
UIView
!
@IBOutlet
weak
var
listVIew
:
UITableView
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
navbar
.
title
=
"入库"
self
.
view
.
addSubview
(
navbar
)
listVIew
.
separatorStyle
=
.
none
listVIew
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
btmView
.
snp_top
)
}
listVIew
.
register
(
UINib
(
nibName
:
"TitleAndTFCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndTFCell"
)
listVIew
.
register
(
UINib
(
nibName
:
"TitleAndBtnCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndBtnCell"
)
listVIew
.
register
(
UINib
(
nibName
:
"AddGuiGeCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"AddGuiGeCell"
)
listVIew
.
register
(
UINib
(
nibName
:
"TitleAndOnlyBtnCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndOnlyBtnCell"
)
listVIew
.
register
(
UINib
(
nibName
:
"RuKuJiaGeCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"RuKuJiaGeCell"
)
listVIew
.
register
(
UINib
(
nibName
:
"BaoZhiQiCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"BaoZhiQiCell"
)
}
//MARK: - cell delegate
//header
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
if
section
==
1
{
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
fullScreenWidth
,
height
:
36
))
view
.
backgroundColor
=
UIColor
.
white
let
title
=
UILabel
()
title
.
text
=
"商品清单"
title
.
font
=
UIFont
.
boldSystemFont
(
ofSize
:
15
)
title
.
textColor
=
UIColor
(
named
:
"标题字颜色"
)
view
.
addSubview
(
title
)
title
.
sizeToFit
()
title
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
15
)
make
.
height
.
equalTo
(
21
)
make
.
width
.
equalTo
(
title
.
bounds
.
size
.
width
)
make
.
bottom
.
equalTo
(
0
)
}
let
ti1
=
UILabel
()
ti1
.
text
=
"(只可选择一种商品入库)"
ti1
.
font
=
UIFont
.
boldSystemFont
(
ofSize
:
11
)
ti1
.
textColor
=
UIColor
(
named
:
"灰色字体颜色"
)
view
.
addSubview
(
ti1
)
ti1
.
sizeToFit
()
ti1
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
title
.
snp_right
)
make
.
height
.
equalTo
(
15
)
make
.
width
.
equalTo
(
ti1
.
bounds
.
size
.
width
)
make
.
bottom
.
equalTo
(
0
)
}
return
view
}
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
heightForHeaderInSection
section
:
Int
)
->
CGFloat
{
if
section
==
1
{
return
38
}
return
0.001
}
//footer
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
heightForFooterInSection
section
:
Int
)
->
CGFloat
{
return
10
}
//cell
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
indexPath
.
section
==
1
{
return
123.5
}
return
49
}
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
3
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
switch
section
{
case
0
:
return
4
case
1
:
return
1
default
:
return
5
}
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
switch
indexPath
.
section
{
case
0
:
if
indexPath
.
row
==
3
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndTFCell"
)
as!
TitleAndTFCell
cell
.
textTF
.
isUserInteractionEnabled
=
false
cell
.
nameLbl
.
text
=
p1Arr1
[
indexPath
.
row
]
cell
.
textTF
.
text
=
"2020.03.16 15:03:56"
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndBtnCell"
)
as!
TitleAndBtnCell
cell
.
nameLbl
.
text
=
p1Arr1
[
indexPath
.
row
]
cell
.
contentLbl
.
text
=
p1Arr2
[
indexPath
.
row
]
return
cell
case
1
:
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"AddGuiGeCell"
)
as!
AddGuiGeCell
cell
.
imgBtn
.
setImage
(
UIImage
(
named
:
"tianjiashangpin"
),
for
:
.
normal
)
return
cell
default
:
switch
indexPath
.
row
{
case
0
:
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"RuKuJiaGeCell"
)
as!
RuKuJiaGeCell
cell
.
nameLbl
.
text
=
p3Arr1
[
indexPath
.
row
]
return
cell
case
1
:
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndTFCell"
)
as!
TitleAndTFCell
cell
.
nameLbl
.
text
=
p3Arr1
[
indexPath
.
row
]
cell
.
textTF
.
layer
.
cornerRadius
=
3
cell
.
textTF
.
layer
.
masksToBounds
=
true
cell
.
textTF
.
layer
.
borderWidth
=
1
cell
.
textTF
.
placeholder
=
"0"
cell
.
textTF
.
textAlignment
=
.
center
cell
.
textTF
.
keyboardType
=
.
numberPad
cell
.
textTF
.
layer
.
borderColor
=
UIColor
(
named
:
"灰色字体颜色"
)?
.
cgColor
cell
.
textTF
.
snp
.
makeConstraints
{
(
make
)
in
make
.
centerY
.
equalTo
(
cell
.
snp_centerY
)
make
.
right
.
equalTo
(
-
15
)
make
.
width
.
equalTo
(
83
)
make
.
height
.
equalTo
(
32
)
}
return
cell
case
2
:
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndBtnCell"
)
as!
TitleAndBtnCell
cell
.
nameLbl
.
text
=
p3Arr1
[
indexPath
.
row
]
cell
.
contentLbl
.
text
=
"请选择生产日期"
return
cell
case
3
:
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"BaoZhiQiCell"
)
as!
BaoZhiQiCell
cell
.
nameLbl
.
text
=
p3Arr1
[
indexPath
.
row
]
return
cell
default
:
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndOnlyBtnCell"
)
as!
TitleAndOnlyBtnCell
cell
.
titleLbl
.
text
=
p3Arr1
[
indexPath
.
row
]
cell
.
button
.
setTitle
(
"编辑"
,
for
:
.
normal
)
return
cell
}
}
}
}
GeliBusinessPlatform/ViewController/入库/RuKuViewController.xib
0 → 100644
View file @
fb7b4689
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/出入库记录/ChuRuKuJiLuXQViewController.swift
View file @
fb7b4689
...
...
@@ -13,9 +13,10 @@ class ChuRuKuJiLuXQViewController: BaseViewController,UITableViewDelegate,UITabl
@IBAction
func
btmAction
(
_
sender
:
UIButton
)
{
print
(
sender
.
titleLabel
?
.
text
)
}
@IBOutlet
weak
var
btmLeftLbl
:
UILabel
!
@IBOutlet
weak
var
btmView
:
UIView
!
let
firstArr
=
[
"0"
,
"申请人"
,
"申请时间"
,
"入库数量"
]
let
lastArr
=
[
"生产日期"
,
"有效日期"
,
"保质期"
,
"检测报告"
,
"商品库存"
,
"仓库"
,
"库位"
,
"备注"
]
let
lastArr
=
[
"生产日期"
,
"有效日期"
,
"保质期"
,
"检测报告"
,
"商品库存"
,
"仓库"
,
"库位"
,
"备注"
,
"未通过原因"
]
@IBOutlet
weak
var
listView
:
UITableView
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
@@ -26,7 +27,7 @@ class ChuRuKuJiLuXQViewController: BaseViewController,UITableViewDelegate,UITabl
listView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
btm
LeftLbl
.
snp_top
)
make
.
bottom
.
equalTo
(
btm
View
.
snp_top
)
}
listView
.
register
(
UINib
(
nibName
:
"TitleAndTFCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndTFCell"
)
listView
.
register
(
UINib
(
nibName
:
"DaiKeXiaDanGouWuCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"DaiKeXiaDanGouWuCell"
)
...
...
@@ -39,9 +40,9 @@ class ChuRuKuJiLuXQViewController: BaseViewController,UITableViewDelegate,UITabl
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
if
section
==
0
{
return
4
return
firstArr
.
count
}
return
8
return
lastArr
.
count
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
indexPath
.
section
==
0
{
...
...
GeliBusinessPlatform/ViewController/出入库记录/ChuRuKuJiLuXQViewController.xib
View file @
fb7b4689
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/新增、编辑(查看)仓库/CheckWareHourseViewController.xib
View file @
fb7b4689
...
...
@@ -86,7 +86,7 @@
<color
red=
"0.3880000114440918"
green=
"0.62400001287460327"
blue=
"0.90200001001358032"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮渐变色下,字体颜色"
>
<color
red=
"0.27
450980392156865"
green=
"0.5607843137254902"
blue=
"0.88627450980392153
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.27
843137254901962"
green=
"0.5607843137254902"
blue=
"0.8901960784313725
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"白色背景色"
>
<color
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
...
...
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