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
f9b4b667
Commit
f9b4b667
authored
Apr 28, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批次选择页面
parent
43afed33
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
562 additions
and
8 deletions
+562
-8
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+24
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/SceneDelegate.swift
GeliBusinessPlatform/SceneDelegate.swift
+1
-2
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.swift
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.swift
+1
-0
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.xib
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.xib
+1
-0
GeliBusinessPlatform/ViewController/入库/ChuKuCell.swift
GeliBusinessPlatform/ViewController/入库/ChuKuCell.swift
+28
-0
GeliBusinessPlatform/ViewController/入库/ChuKuCell.xib
GeliBusinessPlatform/ViewController/入库/ChuKuCell.xib
+81
-0
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeCell.swift
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeCell.swift
+35
-0
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeCell.xib
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeCell.xib
+145
-0
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.swift
...Platform/ViewController/入库/PiCiXuanZeViewController.swift
+49
-0
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.xib
...ssPlatform/ViewController/入库/PiCiXuanZeViewController.xib
+176
-0
GeliBusinessPlatform/ViewController/入库/RuKuViewController.swift
...sinessPlatform/ViewController/入库/RuKuViewController.swift
+21
-6
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
f9b4b667
...
...
@@ -54,6 +54,8 @@
E02FD9FB24557E8600E10E27
/* XinZengDiZhiViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E02FD9F924557E8600E10E27
/* XinZengDiZhiViewController.xib */
;
};
E0336DD5244EC40000380BE9
/* CreatNewSpecsViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0336DD3244EC40000380BE9
/* CreatNewSpecsViewController.swift */
;
};
E0336DD6244EC40000380BE9
/* CreatNewSpecsViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0336DD4244EC40000380BE9
/* CreatNewSpecsViewController.xib */
;
};
E03549A8245820C2008BD021
/* PiCiXuanZeCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E03549A6245820C2008BD021
/* PiCiXuanZeCell.swift */
;
};
E03549A9245820C2008BD021
/* PiCiXuanZeCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E03549A7245820C2008BD021
/* PiCiXuanZeCell.xib */
;
};
E042F730245272FF00CDFA12
/* XiaYunDanViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F72E245272FF00CDFA12
/* XiaYunDanViewController.swift */
;
};
E042F731245272FF00CDFA12
/* XiaYunDanViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F72F245272FF00CDFA12
/* XiaYunDanViewController.xib */
;
};
E042F734245274F200CDFA12
/* YunDanLieBiaoCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E042F732245274F200CDFA12
/* YunDanLieBiaoCell.swift */
;
};
...
...
@@ -77,6 +79,10 @@
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 */
;
};
E06524F924581A7900CA22E2
/* ChuKuCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524F724581A7900CA22E2
/* ChuKuCell.swift */
;
};
E06524FA24581A7900CA22E2
/* ChuKuCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524F824581A7900CA22E2
/* ChuKuCell.xib */
;
};
E06524FD24581BD900CA22E2
/* PiCiXuanZeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524FB24581BD900CA22E2
/* PiCiXuanZeViewController.swift */
;
};
E06524FE24581BD900CA22E2
/* PiCiXuanZeViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E06524FC24581BD900CA22E2
/* PiCiXuanZeViewController.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 */
;
};
...
...
@@ -333,6 +339,8 @@
E02FD9F924557E8600E10E27
/* XinZengDiZhiViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
XinZengDiZhiViewController.xib
;
sourceTree
=
"<group>"
;
};
E0336DD3244EC40000380BE9
/* CreatNewSpecsViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CreatNewSpecsViewController.swift
;
sourceTree
=
"<group>"
;
};
E0336DD4244EC40000380BE9
/* CreatNewSpecsViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
CreatNewSpecsViewController.xib
;
sourceTree
=
"<group>"
;
};
E03549A6245820C2008BD021
/* PiCiXuanZeCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PiCiXuanZeCell.swift
;
sourceTree
=
"<group>"
;
};
E03549A7245820C2008BD021
/* PiCiXuanZeCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
PiCiXuanZeCell.xib
;
sourceTree
=
"<group>"
;
};
E042F72E245272FF00CDFA12
/* XiaYunDanViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
XiaYunDanViewController.swift
;
sourceTree
=
"<group>"
;
};
E042F72F245272FF00CDFA12
/* XiaYunDanViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
XiaYunDanViewController.xib
;
sourceTree
=
"<group>"
;
};
E042F732245274F200CDFA12
/* YunDanLieBiaoCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YunDanLieBiaoCell.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -356,6 +364,10 @@
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>"
;
};
E06524F724581A7900CA22E2
/* ChuKuCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ChuKuCell.swift
;
sourceTree
=
"<group>"
;
};
E06524F824581A7900CA22E2
/* ChuKuCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
ChuKuCell.xib
;
sourceTree
=
"<group>"
;
};
E06524FB24581BD900CA22E2
/* PiCiXuanZeViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
PiCiXuanZeViewController.swift
;
sourceTree
=
"<group>"
;
};
E06524FC24581BD900CA22E2
/* PiCiXuanZeViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
PiCiXuanZeViewController.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>"
;
};
...
...
@@ -819,6 +831,12 @@
E06524F024580AAC00CA22E2
/* RuKuJiaGeCell.xib */
,
E06524F324580BB600CA22E2
/* BaoZhiQiCell.swift */
,
E06524F424580BB600CA22E2
/* BaoZhiQiCell.xib */
,
E06524F724581A7900CA22E2
/* ChuKuCell.swift */
,
E06524F824581A7900CA22E2
/* ChuKuCell.xib */
,
E06524FB24581BD900CA22E2
/* PiCiXuanZeViewController.swift */
,
E06524FC24581BD900CA22E2
/* PiCiXuanZeViewController.xib */
,
E03549A6245820C2008BD021
/* PiCiXuanZeCell.swift */
,
E03549A7245820C2008BD021
/* PiCiXuanZeCell.xib */
,
);
path
=
"入库"
;
sourceTree
=
"<group>"
;
...
...
@@ -1593,7 +1611,9 @@
F961D26924500550007FBE70
/* HeaderSelectView.xib in Resources */
,
E06524F224580AAC00CA22E2
/* RuKuJiaGeCell.xib in Resources */
,
E088CC942447124D000DAA8A
/* BindViewController.xib in Resources */
,
E03549A9245820C2008BD021
/* PiCiXuanZeCell.xib in Resources */
,
E0F97B092451620B001BD600
/* ProductDetailViewController.xib in Resources */
,
E06524FA24581A7900CA22E2
/* ChuKuCell.xib in Resources */
,
E0B9462C2456AABE00FBEC9A
/* YuShouWeiKuanFaHuoCell.xib in Resources */
,
E0A2E81F24552F0A00D6DB34
/* TilteAndTextViewCell.xib in Resources */
,
E0F97B0D24516B1F001BD600
/* AddImgCell.xib in Resources */
,
...
...
@@ -1614,6 +1634,7 @@
F95A9EEE24558E3D00867849
/* ChangeGoodsPriceVC.xib in Resources */
,
E0DDCB19244AE2AC00DF54C7
/* XiuGaiYuShouJiaViewController.xib in Resources */
,
E00E48BF2457BAC700F16545
/* XuanZeShangPinCell.xib in Resources */
,
E06524FE24581BD900CA22E2
/* PiCiXuanZeViewController.xib in Resources */
,
E09F4CA32452D18800BE033D
/* ZengZhiServicesViewController.xib in Resources */
,
F95D9CA524493E840080D6E3
/* ShopInfoViewController.xib in Resources */
,
F961D26F245015D6007FBE70
/* SelectContentView.xib in Resources */
,
...
...
@@ -1781,6 +1802,7 @@
E0D197BB2448431C002B080C
/* BabyCallback.m in Sources */
,
F950FDDD24518B9500C40530
/* FSCalendarCollectionViewLayout.m in Sources */
,
F9DDBE962457D3EC00A32CB2
/* WebViewController.swift in Sources */
,
E06524F924581A7900CA22E2
/* ChuKuCell.swift in Sources */
,
F961D26B24500FF6007FBE70
/* HeaderSelectView.swift in Sources */
,
E09F4C9D2452BEBB00BE033D
/* JiPaiFangShiViewController.swift in Sources */
,
E0D4166424483058008DCAB4
/* ChangePassViewController.swift in Sources */
,
...
...
@@ -1829,6 +1851,7 @@
F950FDDF24518B9500C40530
/* FSCalendarSeparatorDecorationView.m in Sources */
,
F9023F692449A50900DD5A63
/* TitleContentCell.swift in Sources */
,
F95A9ED8245520E500867849
/* OrderListVC.swift in Sources */
,
E03549A8245820C2008BD021
/* PiCiXuanZeCell.swift in Sources */
,
F933F6CE2452C68B00189561
/* PKHUDSquareBaseView.swift in Sources */
,
E06524F524580BB600CA22E2
/* BaoZhiQiCell.swift in Sources */
,
E0DDCB1D244AE81800DF54C7
/* GuanLianKeHuCell.swift in Sources */
,
...
...
@@ -1843,6 +1866,7 @@
E01C26B62446AF3100ADCC70
/* DemoViewController.swift in Sources */
,
F933F6C32452C68B00189561
/* FrameView.swift in Sources */
,
F9DDBE922457BFEC00A32CB2
/* HUDEXT.swift in Sources */
,
E06524FD24581BD900CA22E2
/* PiCiXuanZeViewController.swift in Sources */
,
E0A7548A244A8F0F00A84B67
/* CheckWareHourseViewController.swift in Sources */
,
F9023F62244999F500DD5A63
/* WarehoseMangementCell.swift in Sources */
,
E0516F772448003D00E373CE
/* PayViewController.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
f9b4b667
No preview for this file type
GeliBusinessPlatform/SceneDelegate.swift
View file @
f9b4b667
...
...
@@ -41,8 +41,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, UITabBarControllerDeleg
// vc.delegate = self
// let contentView = vc
let
vc
=
RuKuViewController
()
vc
.
barTitle
=
"入库"
let
vc
=
PiCiXuanZeViewController
()
let
contentView
=
vc
if
let
windowScene
=
sceneC
as?
UIWindowScene
{
...
...
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.swift
View file @
f9b4b667
...
...
@@ -12,6 +12,7 @@ import UIKit
}
class
TitleAndBtnCell
:
UITableViewCell
{
var
delegate
:
TitleAndBtnCellDelegate
?
@IBOutlet
weak
var
lineWidth
:
NSLayoutConstraint
!
@IBOutlet
weak
var
arrowImg
:
UIImageView
!
@IBOutlet
weak
var
contentLbl
:
UILabel
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
...
...
GeliBusinessPlatform/View/Cell/TitleAndBtnCell.xib
View file @
f9b4b667
...
...
@@ -79,6 +79,7 @@
<connections>
<outlet
property=
"arrowImg"
destination=
"Gf0-pG-ZDj"
id=
"uaE-Be-XYP"
/>
<outlet
property=
"contentLbl"
destination=
"7nL-vu-Tdl"
id=
"sEW-G5-GaR"
/>
<outlet
property=
"lineWidth"
destination=
"EUi-Y9-d4w"
id=
"0on-lp-cbT"
/>
<outlet
property=
"nameLbl"
destination=
"EfU-Eu-amU"
id=
"XOH-Zx-SHi"
/>
</connections>
<point
key=
"canvasLocation"
x=
"131.8840579710145"
y=
"129.91071428571428"
/>
...
...
GeliBusinessPlatform/ViewController/入库/ChuKuCell.swift
0 → 100644
View file @
f9b4b667
//
// ChuKuCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/28.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
ChuKuCell
:
UITableViewCell
{
@IBOutlet
weak
var
shuLiangLbl
:
UILabel
!
@IBOutlet
weak
var
piCiLbl
:
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/入库/ChuKuCell.xib
0 → 100644
View file @
f9b4b667
<?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=
"ChuKuCell"
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=
"ffP-0U-CdU"
>
<rect
key=
"frame"
x=
"15"
y=
"48"
width=
"360"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"fpf-Zr-bjz"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ds2-Jq-pcV"
>
<rect
key=
"frame"
x=
"187"
y=
"14.5"
width=
"1"
height=
"20"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"1"
id=
"PFI-yJ-ky4"
/>
<constraint
firstAttribute=
"height"
constant=
"20"
id=
"uLI-Sw-wid"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"批次:465164791461"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"zAf-9X-yR9"
>
<rect
key=
"frame"
x=
"15"
y=
"16.5"
width=
"159.5"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"16"
id=
"YxF-5P-DvO"
/>
</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=
"数量:500"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"8de-PI-oQQ"
>
<rect
key=
"frame"
x=
"203"
y=
"16.5"
width=
"122"
height=
"16"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<constraints>
<constraint
firstItem=
"ffP-0U-CdU"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"2Bh-qA-aOD"
/>
<constraint
firstItem=
"zAf-9X-yR9"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"6I4-9h-9PD"
/>
<constraint
firstItem=
"8de-PI-oQQ"
firstAttribute=
"leading"
secondItem=
"ds2-Jq-pcV"
secondAttribute=
"trailing"
constant=
"15"
id=
"6LI-X4-VEa"
/>
<constraint
firstItem=
"zAf-9X-yR9"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"A82-7R-wF6"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"8de-PI-oQQ"
secondAttribute=
"trailing"
constant=
"50"
id=
"Aji-Ji-ZsM"
/>
<constraint
firstItem=
"ds2-Jq-pcV"
firstAttribute=
"leading"
secondItem=
"zAf-9X-yR9"
secondAttribute=
"trailing"
constant=
"12.5"
id=
"CC0-eb-5Mj"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"ffP-0U-CdU"
secondAttribute=
"bottom"
id=
"FAg-hN-8hc"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ffP-0U-CdU"
secondAttribute=
"trailing"
id=
"MnP-N3-KQJ"
/>
<constraint
firstItem=
"8de-PI-oQQ"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"Z3d-oh-eJt"
/>
<constraint
firstItem=
"ds2-Jq-pcV"
firstAttribute=
"centerX"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerX"
id=
"hFe-9L-Awh"
/>
<constraint
firstItem=
"ds2-Jq-pcV"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"qUd-Qq-Thy"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"piCiLbl"
destination=
"zAf-9X-yR9"
id=
"2FD-TZ-3Y0"
/>
<outlet
property=
"shuLiangLbl"
destination=
"8de-PI-oQQ"
id=
"oth-26-aS8"
/>
</connections>
<point
key=
"canvasLocation"
x=
"131.15942028985509"
y=
"121.54017857142857"
/>
</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/入库/PiCiXuanZeCell.swift
0 → 100644
View file @
f9b4b667
//
// PiCiXuanZeCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/28.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
PiCiXuanZeCell
:
UITableViewCell
{
@IBAction
func
btnClickAction
(
_
sender
:
UIButton
)
{
iconBtn
.
isSelected
=
!
iconBtn
.
isSelected
}
@IBOutlet
weak
var
iconBtn
:
UIButton
!
@IBOutlet
weak
var
dateLbl
:
UILabel
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
@IBOutlet
weak
var
SLLbl
:
UILabel
!
@IBOutlet
weak
var
textTF
:
UITextField
!
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/入库/PiCiXuanZeCell.xib
0 → 100644
View file @
f9b4b667
<?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=
"PiCiXuanZeCell"
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>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"标题"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"QwZ-U8-Q7d"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"43"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"43"
id=
"ywq-um-dxU"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"数量"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"te1-Bw-d5k"
>
<rect
key=
"frame"
x=
"43"
y=
"0.0"
width=
"90"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"90"
id=
"ao3-SH-ebm"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<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=
"vc4-Ks-HQL"
>
<rect
key=
"frame"
x=
"260"
y=
"0.0"
width=
"115"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"115"
id=
"O0q-hX-btK"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
borderStyle=
"roundedRect"
textAlignment=
"natural"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"4ur-7d-I3G"
>
<rect
key=
"frame"
x=
"168"
y=
"8.5"
width=
"67"
height=
"32"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"32"
id=
"gMi-WY-5yp"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"nHK-w7-y1V"
>
<rect
key=
"frame"
x=
"340"
y=
"14.5"
width=
"20"
height=
"20"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"20"
id=
"B4P-BY-Ilw"
/>
<constraint
firstAttribute=
"height"
constant=
"20"
id=
"K9k-SV-cCa"
/>
</constraints>
<state
key=
"normal"
image=
"daixuan"
/>
<state
key=
"selected"
image=
"yuxuan"
/>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"CGb-Ku-gjP"
>
<rect
key=
"frame"
x=
"15"
y=
"48"
width=
"360"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"opq-TL-L7q"
/>
</constraints>
</view>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"I9V-jy-9tk"
>
<rect
key=
"frame"
x=
"325"
y=
"0.0"
width=
"50"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"50"
id=
"mgm-qv-MsR"
/>
</constraints>
<connections>
<action
selector=
"btnClickAction:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"Rpz-u3-eQA"
/>
</connections>
</button>
</subviews>
<constraints>
<constraint
firstItem=
"4ur-7d-I3G"
firstAttribute=
"leading"
secondItem=
"te1-Bw-d5k"
secondAttribute=
"trailing"
constant=
"35"
id=
"0Qc-OZ-UNa"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
<constraint
firstItem=
"vc4-Ks-HQL"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"2X3-z5-xP8"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"QwZ-U8-Q7d"
secondAttribute=
"bottom"
id=
"2YM-mZ-Jta"
/>
<constraint
firstItem=
"4ur-7d-I3G"
firstAttribute=
"centerY"
secondItem=
"vc4-Ks-HQL"
secondAttribute=
"centerY"
id=
"DpT-0y-E0g"
/>
<constraint
firstItem=
"nHK-w7-y1V"
firstAttribute=
"centerY"
secondItem=
"vc4-Ks-HQL"
secondAttribute=
"centerY"
id=
"E8s-FJ-7ab"
/>
<constraint
firstItem=
"vc4-Ks-HQL"
firstAttribute=
"leading"
secondItem=
"4ur-7d-I3G"
secondAttribute=
"trailing"
constant=
"25"
id=
"ERj-Dz-Kz3"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
<constraint
firstAttribute=
"bottom"
secondItem=
"vc4-Ks-HQL"
secondAttribute=
"bottom"
id=
"FyX-Xs-Ru7"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"te1-Bw-d5k"
secondAttribute=
"bottom"
id=
"JDh-ES-3bC"
/>
<constraint
firstItem=
"te1-Bw-d5k"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"Oyt-0y-pqK"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"vc4-Ks-HQL"
secondAttribute=
"trailing"
id=
"RJ0-wM-tfe"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"nHK-w7-y1V"
secondAttribute=
"trailing"
constant=
"15"
id=
"VfB-PC-e0l"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"CGb-Ku-gjP"
secondAttribute=
"bottom"
id=
"Yng-Ev-ehN"
/>
<constraint
firstItem=
"QwZ-U8-Q7d"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"dln-Se-zbv"
/>
<constraint
firstItem=
"te1-Bw-d5k"
firstAttribute=
"leading"
secondItem=
"QwZ-U8-Q7d"
secondAttribute=
"trailing"
id=
"hkx-53-9Kr"
/>
<constraint
firstItem=
"QwZ-U8-Q7d"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
id=
"hpJ-Mh-ZSH"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"I9V-jy-9tk"
secondAttribute=
"trailing"
id=
"kaS-BO-7xw"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"I9V-jy-9tk"
secondAttribute=
"bottom"
id=
"oBw-ej-l7K"
/>
<constraint
firstItem=
"I9V-jy-9tk"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"oQt-zq-GE6"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"CGb-Ku-gjP"
secondAttribute=
"trailing"
id=
"vzr-Od-RgI"
/>
<constraint
firstItem=
"CGb-Ku-gjP"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"zdP-d9-j2H"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"SLLbl"
destination=
"te1-Bw-d5k"
id=
"erw-et-SM5"
/>
<outlet
property=
"dateLbl"
destination=
"vc4-Ks-HQL"
id=
"6FO-Ke-UJN"
/>
<outlet
property=
"iconBtn"
destination=
"nHK-w7-y1V"
id=
"eUF-Wh-88E"
/>
<outlet
property=
"nameLbl"
destination=
"QwZ-U8-Q7d"
id=
"keX-ud-EHU"
/>
<outlet
property=
"textTF"
destination=
"4ur-7d-I3G"
id=
"Ajn-aN-5GP"
/>
</connections>
<point
key=
"canvasLocation"
x=
"131.15942028985509"
y=
"121.54017857142857"
/>
</tableViewCell>
</objects>
<resources>
<image
name=
"daixuan"
width=
"19"
height=
"19"
/>
<image
name=
"yuxuan"
width=
"19"
height=
"19"
/>
<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/入库/PiCiXuanZeViewController.swift
0 → 100644
View file @
f9b4b667
//
// PiCiXuanZeViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/28.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
PiCiXuanZeViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
@IBOutlet
weak
var
topView
:
UIView
!
@IBOutlet
weak
var
btmLbl
:
UILabel
!
@IBAction
func
submitAction
(
_
sender
:
Any
)
{
}
@IBOutlet
weak
var
listView
:
UITableView
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
navbar
.
title
=
"批次选择"
self
.
view
.
addSubview
(
navbar
)
topView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
44
)
}
listView
.
separatorStyle
=
.
none
listView
.
register
(
UINib
(
nibName
:
"PiCiXuanZeCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"PiCiXuanZeCell"
)
// Do any additional setup after loading the view.
}
//MARK: - CELL DELEGATE
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
49
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
3
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"PiCiXuanZeCell"
)
as!
PiCiXuanZeCell
return
cell
}
}
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.xib
0 → 100644
View file @
f9b4b667
<?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"
customClass=
"PiCiXuanZeViewController"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"btmLbl"
destination=
"Qji-1s-fD7"
id=
"JA3-Ch-NgA"
/>
<outlet
property=
"listView"
destination=
"rmE-ev-Vs6"
id=
"08r-Wx-mFX"
/>
<outlet
property=
"topView"
destination=
"aid-5j-rEA"
id=
"SgT-c2-ddM"
/>
<outlet
property=
"view"
destination=
"i5M-Pr-FkT"
id=
"sfx-zR-JGt"
/>
</connections>
</placeholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
clearsContextBeforeDrawing=
"NO"
contentMode=
"scaleToFill"
id=
"i5M-Pr-FkT"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"1Hf-Tw-Zb7"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"0.0"
y=
"813"
width=
"414"
height=
"83"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<color
key=
"value"
name=
"按钮渐变色上"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientEndColor"
>
<color
key=
"value"
name=
"按钮渐变色下,字体颜色"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"gradientHorizontal"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
<connections>
<action
selector=
"submitAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"9gX-uX-F3x"
/>
</connections>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"确定"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Qji-1s-fD7"
>
<rect
key=
"frame"
x=
"0.0"
y=
"813"
width=
"414"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"49"
id=
"YIu-E2-TJ6"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"17"
/>
<color
key=
"textColor"
name=
"白色背景色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"aid-5j-rEA"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"44"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Vvp-8e-GwU"
>
<rect
key=
"frame"
x=
"0.0"
y=
"43"
width=
"414"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"2Hv-YV-0WH"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"状态"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"JTk-im-Oti"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"43"
height=
"44"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"43"
id=
"0N4-hv-mXD"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"多选按钮字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"现有库存"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"86w-pT-2DE"
>
<rect
key=
"frame"
x=
"43"
y=
"0.0"
width=
"90"
height=
"44"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"90"
id=
"bzm-H5-Xhy"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"多选按钮字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"出库数"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"nRV-bb-zPD"
>
<rect
key=
"frame"
x=
"133"
y=
"0.0"
width=
"174"
height=
"43"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<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=
"3Xi-3d-1cD"
>
<rect
key=
"frame"
x=
"307"
y=
"0.0"
width=
"107"
height=
"44"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"107"
id=
"hM0-5m-LBq"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"多选按钮字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstItem=
"3Xi-3d-1cD"
firstAttribute=
"leading"
secondItem=
"nRV-bb-zPD"
secondAttribute=
"trailing"
id=
"0E5-Ea-kWh"
/>
<constraint
firstItem=
"86w-pT-2DE"
firstAttribute=
"leading"
secondItem=
"JTk-im-Oti"
secondAttribute=
"trailing"
id=
"2fr-bC-5CZ"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"JTk-im-Oti"
secondAttribute=
"bottom"
id=
"2iN-MG-MKS"
/>
<constraint
firstAttribute=
"height"
constant=
"44"
id=
"6Jr-iN-meA"
/>
<constraint
firstItem=
"3Xi-3d-1cD"
firstAttribute=
"top"
secondItem=
"aid-5j-rEA"
secondAttribute=
"top"
id=
"7lo-iJ-4IQ"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Vvp-8e-GwU"
secondAttribute=
"bottom"
id=
"C9J-LW-Y8h"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"3Xi-3d-1cD"
secondAttribute=
"trailing"
id=
"FAt-3p-Sia"
/>
<constraint
firstItem=
"JTk-im-Oti"
firstAttribute=
"leading"
secondItem=
"aid-5j-rEA"
secondAttribute=
"leading"
id=
"GtM-RM-Fgw"
/>
<constraint
firstItem=
"86w-pT-2DE"
firstAttribute=
"top"
secondItem=
"aid-5j-rEA"
secondAttribute=
"top"
id=
"Qow-xS-EYA"
/>
<constraint
firstItem=
"JTk-im-Oti"
firstAttribute=
"top"
secondItem=
"aid-5j-rEA"
secondAttribute=
"top"
id=
"XPA-nD-z3c"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"86w-pT-2DE"
secondAttribute=
"bottom"
id=
"Xhc-rb-9hF"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"3Xi-3d-1cD"
secondAttribute=
"bottom"
id=
"Ygq-p8-XZC"
/>
<constraint
firstItem=
"Vvp-8e-GwU"
firstAttribute=
"top"
secondItem=
"nRV-bb-zPD"
secondAttribute=
"bottom"
id=
"jg6-tC-cJW"
/>
<constraint
firstItem=
"nRV-bb-zPD"
firstAttribute=
"leading"
secondItem=
"86w-pT-2DE"
secondAttribute=
"trailing"
id=
"kmS-rE-bbW"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Vvp-8e-GwU"
secondAttribute=
"trailing"
id=
"nZ0-9l-woX"
/>
<constraint
firstItem=
"Vvp-8e-GwU"
firstAttribute=
"leading"
secondItem=
"aid-5j-rEA"
secondAttribute=
"leading"
id=
"sWd-au-bBp"
/>
<constraint
firstItem=
"nRV-bb-zPD"
firstAttribute=
"top"
secondItem=
"aid-5j-rEA"
secondAttribute=
"top"
id=
"u8G-Ro-oyw"
/>
</constraints>
</view>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
style=
"plain"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"rmE-ev-Vs6"
>
<rect
key=
"frame"
x=
"0.0"
y=
"88"
width=
"414"
height=
"725"
/>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<connections>
<outlet
property=
"dataSource"
destination=
"-1"
id=
"uCY-mS-nSb"
/>
<outlet
property=
"delegate"
destination=
"-1"
id=
"n0W-aI-Uhq"
/>
</connections>
</tableView>
</subviews>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<constraints>
<constraint
firstItem=
"rmE-ev-Vs6"
firstAttribute=
"top"
secondItem=
"aid-5j-rEA"
secondAttribute=
"bottom"
id=
"4Cp-92-GrY"
/>
<constraint
firstItem=
"1Hf-Tw-Zb7"
firstAttribute=
"top"
secondItem=
"Qji-1s-fD7"
secondAttribute=
"top"
id=
"5Sq-Op-3oc"
/>
<constraint
firstItem=
"1Hf-Tw-Zb7"
firstAttribute=
"top"
secondItem=
"rmE-ev-Vs6"
secondAttribute=
"bottom"
id=
"8bn-jW-2DP"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"rmE-ev-Vs6"
secondAttribute=
"trailing"
id=
"JUw-6C-fu4"
/>
<constraint
firstItem=
"Qji-1s-fD7"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"OGO-Fc-NNM"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"bottom"
secondItem=
"Qji-1s-fD7"
secondAttribute=
"bottom"
id=
"QDA-56-0iN"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"1Hf-Tw-Zb7"
secondAttribute=
"trailing"
id=
"Ue7-Vd-A4a"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"aid-5j-rEA"
secondAttribute=
"trailing"
id=
"VmA-As-hcl"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"Qji-1s-fD7"
secondAttribute=
"trailing"
id=
"cgf-nI-dGk"
/>
<constraint
firstItem=
"aid-5j-rEA"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"grd-FG-BfQ"
/>
<constraint
firstItem=
"1Hf-Tw-Zb7"
firstAttribute=
"leading"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"leading"
id=
"jbI-Ok-u3x"
/>
<constraint
firstItem=
"aid-5j-rEA"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"lKg-8N-9gO"
/>
<constraint
firstItem=
"rmE-ev-Vs6"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"qkf-sA-1CP"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"1Hf-Tw-Zb7"
secondAttribute=
"bottom"
id=
"rDJ-ac-bRf"
/>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<point
key=
"canvasLocation"
x=
"130.40000000000001"
y=
"120.98950524737631"
/>
</view>
</objects>
<resources>
<namedColor
name=
"app底色"
>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"多选按钮字体颜色"
>
<color
red=
"0.41200000047683716"
green=
"0.41200000047683716"
blue=
"0.41200000047683716"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮渐变色上"
>
<color
red=
"0.3880000114440918"
green=
"0.62400001287460327"
blue=
"0.90200001001358032"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮渐变色下,字体颜色"
>
<color
red=
"0.27843137254901962"
green=
"0.5607843137254902"
blue=
"0.8901960784313725"
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>
<namedColor
name=
"白色背景色"
>
<color
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/入库/RuKuViewController.swift
View file @
f9b4b667
...
...
@@ -21,6 +21,10 @@ class RuKuViewController: BaseViewController,UITableViewDelegate,UITableViewData
var
barTitle
:
String
?
@IBOutlet
weak
var
btmView
:
UIView
!
@IBOutlet
weak
var
listVIew
:
UITableView
!
//测试数据
var
selectArr
=
[
"1"
,
"2"
]
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
navbar
.
title
=
barTitle
...
...
@@ -39,7 +43,7 @@ class RuKuViewController: BaseViewController,UITableViewDelegate,UITableViewData
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"
)
listVIew
.
register
(
UINib
(
nibName
:
"ChuKuCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"ChuKuCell"
)
}
//MARK: - cell delegate
//header
...
...
@@ -110,7 +114,7 @@ class RuKuViewController: BaseViewController,UITableViewDelegate,UITableViewData
if
barTitle
==
"入库"
{
return
5
}
return
1
return
1
+
selectArr
.
count
}
}
...
...
@@ -138,7 +142,7 @@ class RuKuViewController: BaseViewController,UITableViewDelegate,UITableViewData
cell
.
contentLbl
.
text
=
chu1Arr2
[
indexPath
.
row
]
}
return
cell
case
1
:
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"AddGuiGeCell"
)
as!
AddGuiGeCell
...
...
@@ -185,10 +189,21 @@ class RuKuViewController: BaseViewController,UITableViewDelegate,UITableViewData
return
cell
}
}
else
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndBtnCell"
)
as!
TitleAndBtnCell
cell
.
nameLbl
.
text
=
"出库数量:"
cell
.
contentLbl
.
text
=
"选择批次/填写出库数量"
if
indexPath
.
row
==
0
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndBtnCell"
)
as!
TitleAndBtnCell
cell
.
nameLbl
.
text
=
"出库数量:"
cell
.
contentLbl
.
text
=
"选择批次/填写出库数量"
if
selectArr
.
count
>
0
{
cell
.
lineWidth
.
constant
=
0
}
else
{
cell
.
lineWidth
.
constant
=
15
}
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"ChuKuCell"
)
as!
ChuKuCell
return
cell
}
}
}
...
...
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