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
0d926d74
Commit
0d926d74
authored
Jan 26, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加检测报告
parent
81fde3f4
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
618 additions
and
34 deletions
+618
-34
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+8
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Assets.xcassets/分销商管理/update_report_img.imageset/Contents.json
...s.xcassets/分销商管理/update_report_img.imageset/Contents.json
+23
-0
GeliBusinessPlatform/Assets.xcassets/分销商管理/update_report_img.imageset/编组 6.png
...Assets.xcassets/分销商管理/update_report_img.imageset/编组 6.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/分销商管理/update_report_img.imageset/编组 6@2x.png
...ets.xcassets/分销商管理/update_report_img.imageset/编组 6@2x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/分销商管理/update_report_img.imageset/编组 6@3x.png
...ets.xcassets/分销商管理/update_report_img.imageset/编组 6@3x.png
+0
-0
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
+1
-0
GeliBusinessPlatform/View/Cell/TitleAndTFCell.xib
GeliBusinessPlatform/View/Cell/TitleAndTFCell.xib
+14
-2
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.swift
...ssPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.swift
+3
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.xib
...nessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.xib
+40
-9
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
+67
-10
GeliBusinessPlatform/ViewController/供应商管理/GYSGLViewController.swift
...ssPlatform/ViewController/供应商管理/GYSGLViewController.swift
+23
-4
GeliBusinessPlatform/ViewController/供应商管理/GYSGLViewController.xib
...nessPlatform/ViewController/供应商管理/GYSGLViewController.xib
+13
-4
GeliBusinessPlatform/ViewController/出入库记录/CRKBtnCell.xib
GeliBusinessPlatform/ViewController/出入库记录/CRKBtnCell.xib
+2
-2
GeliBusinessPlatform/ViewController/地图/SJMapCell.xib
GeliBusinessPlatform/ViewController/地图/SJMapCell.xib
+4
-3
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.swift
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.swift
+77
-0
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.xib
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.xib
+343
-0
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
0d926d74
...
...
@@ -35,6 +35,8 @@
E00E48C32457C0D600F16545
/* XuanZeShangPinViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00E48C12457C0D600F16545
/* XuanZeShangPinViewController.xib */
;
};
E00E48C62457C99900F16545
/* KuCunShangPinXQViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00E48C42457C99900F16545
/* KuCunShangPinXQViewController.swift */
;
};
E00E48C72457C99900F16545
/* KuCunShangPinXQViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E00E48C52457C99900F16545
/* KuCunShangPinXQViewController.xib */
;
};
E01313DB25C0048C006CFA5D
/* Add_Report_View.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01313DA25C0048C006CFA5D
/* Add_Report_View.swift */
;
};
E01313E025C00496006CFA5D
/* Add_Report_View.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E01313DF25C00496006CFA5D
/* Add_Report_View.xib */
;
};
E013D7882484B1B90092DE46
/* CRKXiangQVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E013D7862484B1B90092DE46
/* CRKXiangQVC.swift */
;
};
E013D7892484B1B90092DE46
/* CRKXiangQVC.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E013D7872484B1B90092DE46
/* CRKXiangQVC.xib */
;
};
E013D78C2484CAFC0092DE46
/* CRKBtnCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E013D78A2484CAFC0092DE46
/* CRKBtnCell.swift */
;
};
...
...
@@ -732,6 +734,8 @@
E00E48C12457C0D600F16545
/* XuanZeShangPinViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
XuanZeShangPinViewController.xib
;
sourceTree
=
"<group>"
;
};
E00E48C42457C99900F16545
/* KuCunShangPinXQViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
KuCunShangPinXQViewController.swift
;
sourceTree
=
"<group>"
;
};
E00E48C52457C99900F16545
/* KuCunShangPinXQViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
KuCunShangPinXQViewController.xib
;
sourceTree
=
"<group>"
;
};
E01313DA25C0048C006CFA5D
/* Add_Report_View.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Add_Report_View.swift
;
sourceTree
=
"<group>"
;
};
E01313DF25C00496006CFA5D
/* Add_Report_View.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
Add_Report_View.xib
;
sourceTree
=
"<group>"
;
};
E013D7862484B1B90092DE46
/* CRKXiangQVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CRKXiangQVC.swift
;
sourceTree
=
"<group>"
;
};
E013D7872484B1B90092DE46
/* CRKXiangQVC.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
CRKXiangQVC.xib
;
sourceTree
=
"<group>"
;
};
E013D78A2484CAFC0092DE46
/* CRKBtnCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CRKBtnCell.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1972,6 +1976,8 @@
children
=
(
E06FBAA225BFEFB200E9C2BA
/* S_Y_View.swift */
,
E06FBAA725BFEFBC00E9C2BA
/* S_Y_View.xib */
,
E01313DA25C0048C006CFA5D
/* Add_Report_View.swift */
,
E01313DF25C00496006CFA5D
/* Add_Report_View.xib */
,
);
path
=
"溯源"
;
sourceTree
=
"<group>"
;
...
...
@@ -3781,6 +3787,7 @@
E07B1E6C245926330055BA3C
/* GYSGLCell.xib in Resources */
,
E0337EEE2464EED000952EF4
/* PinPaiListViewController.xib in Resources */
,
E095C42B24874E6100922571
/* CKGmCell.xib in Resources */
,
E01313E025C00496006CFA5D
/* Add_Report_View.xib in Resources */
,
E0E341EB246E95EE0060AC20
/* PingLunCell.xib in Resources */
,
E0273DDE24551D4500B3FCAE
/* OnlyLabelCell.xib in Resources */
,
E00D85E5244561FE00F5F816
/* Assets.xcassets in Resources */
,
...
...
@@ -4199,6 +4206,7 @@
F956D5A3246A2D9C003FF510
/* LMNImageInputViewController.m in Sources */
,
E01E5484254FD34C00A2620C
/* GYS_GuanLi_Cell.swift in Sources */
,
F9956B1E2463D94E001A617D
/* WorkSelectTimeView.swift in Sources */
,
E01313DB25C0048C006CFA5D
/* Add_Report_View.swift in Sources */
,
F9531F3B2465108800724BEE
/* JXPhotoBrowserZoomSupportedCell.swift in Sources */
,
F950FDE024518B9500C40530
/* FSCalendarExtensions.m in Sources */
,
E09B03A32445AF9500211A51
/* NetworkRequest.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
0d926d74
No preview for this file type
GeliBusinessPlatform/Assets.xcassets/分销商管理/update_report_img.imageset/Contents.json
0 → 100644
View file @
0d926d74
{
"images"
:
[
{
"filename"
:
"编组 6.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"编组 6@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"编组 6@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
GeliBusinessPlatform/Assets.xcassets/分销商管理/update_report_img.imageset/编组 6.png
0 → 100644
View file @
0d926d74
1.64 KB
GeliBusinessPlatform/Assets.xcassets/分销商管理/update_report_img.imageset/编组 6@2x.png
0 → 100644
View file @
0d926d74
3.58 KB
GeliBusinessPlatform/Assets.xcassets/分销商管理/update_report_img.imageset/编组 6@3x.png
0 → 100644
View file @
0d926d74
6.4 KB
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
View file @
0d926d74
...
...
@@ -11,6 +11,7 @@ import UIKit
@objc
optional
func
textFieldContent
(
content
:
String
,
cell
:
TitleAndTFCell
)
}
class
TitleAndTFCell
:
UITableViewCell
{
@IBOutlet
weak
var
star_lbl
:
UILabel
!
@IBOutlet
weak
var
line
:
UIView
!
var
delegate
:
TitleAndTFCellDelegate
?
@IBOutlet
weak
var
textTF
:
UITextField
!
...
...
GeliBusinessPlatform/View/Cell/TitleAndTFCell.xib
View file @
0d926d74
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
156
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
701
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
126
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
703
"
/>
<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"
/>
...
...
@@ -40,6 +40,12 @@
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
<label
hidden=
"YES"
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"*"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"9LH-Vg-GzM"
>
<rect
key=
"frame"
x=
"7"
y=
"14.5"
width=
"8"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color
key=
"textColor"
name=
"按钮背景颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"Q6V-I9-aNd"
secondAttribute=
"trailing"
constant=
"15"
id=
"91e-XA-Iqf"
/>
...
...
@@ -48,6 +54,8 @@
<constraint
firstItem=
"zvz-cN-gmt"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"Mua-VI-kn3"
/>
<constraint
firstItem=
"6wI-Bk-Hnz"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"NXV-5U-lIO"
/>
<constraint
firstItem=
"6wI-Bk-Hnz"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"aLi-6W-mr9"
/>
<constraint
firstItem=
"6wI-Bk-Hnz"
firstAttribute=
"leading"
secondItem=
"9LH-Vg-GzM"
secondAttribute=
"trailing"
id=
"cUC-Bb-Rt1"
/>
<constraint
firstItem=
"9LH-Vg-GzM"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"edP-uo-gUL"
/>
<constraint
firstItem=
"Q6V-I9-aNd"
firstAttribute=
"centerY"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"centerY"
id=
"lmF-E2-VqK"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"zvz-cN-gmt"
secondAttribute=
"bottom"
id=
"oe1-RM-1UU"
/>
</constraints>
...
...
@@ -56,12 +64,16 @@
<connections>
<outlet
property=
"line"
destination=
"zvz-cN-gmt"
id=
"zWg-kq-cW7"
/>
<outlet
property=
"nameLbl"
destination=
"6wI-Bk-Hnz"
id=
"W9P-gn-wOa"
/>
<outlet
property=
"star_lbl"
destination=
"9LH-Vg-GzM"
id=
"2ex-gJ-Umt"
/>
<outlet
property=
"textTF"
destination=
"Q6V-I9-aNd"
id=
"Qep-Os-9qk"
/>
</connections>
<point
key=
"canvasLocation"
x=
"132.60869565217394"
y=
"103.79464285714285"
/>
</tableViewCell>
</objects>
<resources>
<namedColor
name=
"按钮背景颜色"
>
<color
red=
"0.2199999988079071"
green=
"0.45500001311302185"
blue=
"0.82700002193450928"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.swift
View file @
0d926d74
...
...
@@ -17,6 +17,9 @@ protocol NewOnlyRKCellDelegate {
class
NewOnlyRKCell
:
UITableViewCell
,
UITextFieldDelegate
{
var
delegate
:
NewOnlyRKCellDelegate
?
@IBAction
func
add_report_action
(
_
sender
:
UIButton
)
{
delegate
?
.
NewOnlyRKCellAddRepord
(
cell
:
self
)
}
@IBOutlet
weak
var
titLbl
:
UILabel
!
@IBOutlet
weak
var
delBtn
:
UIButton
!
@IBOutlet
weak
var
rightBtn
:
UIButton
!
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.xib
View file @
0d926d74
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
156
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
701
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
125
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
703
"
/>
<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"
/>
...
...
@@ -12,10 +12,10 @@
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<tableViewCell
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
rowHeight=
"326"
id=
"KGk-i7-Jjw"
customClass=
"NewOnlyRKCell"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"411"
height=
"3
26
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"411"
height=
"3
75
"
/>
<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=
"411"
height=
"3
26
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"411"
height=
"3
75
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"JdU-F8-6ck"
>
...
...
@@ -261,12 +261,39 @@
</userDefinedRuntimeAttributes>
</textField>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"82n-oH-pbs"
>
<rect
key=
"frame"
x=
"0.0"
y=
"3
25
"
width=
"411"
height=
"1"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"3
74
"
width=
"411"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"Zg1-gz-BTV"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ThE-Le-aUU"
>
<rect
key=
"frame"
x=
"15"
y=
"325.5"
width=
"396"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"cIP-cg-G0y"
/>
</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=
"PdO-Zj-Dft"
>
<rect
key=
"frame"
x=
"15"
y=
"341.5"
width=
"65"
height=
"15.5"
/>
<fontDescription
key=
"fontDescription"
name=
"HelveticaNeue"
family=
"Helvetica Neue"
pointSize=
"13"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Zbb-dP-OOv"
>
<rect
key=
"frame"
x=
"356"
y=
"325"
width=
"55"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"55"
id=
"0sS-wq-6l2"
/>
<constraint
firstAttribute=
"height"
constant=
"49"
id=
"3kt-ou-1OQ"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<state
key=
"normal"
title=
"添加"
>
<color
key=
"titleColor"
name=
"蓝色字体颜色"
/>
</state>
<connections>
<action
selector=
"add_report_action:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"i3k-0d-CCB"
/>
</connections>
</button>
</subviews>
<constraints>
<constraint
firstItem=
"Fr1-SS-krs"
firstAttribute=
"top"
secondItem=
"chy-ny-kVr"
secondAttribute=
"bottom"
constant=
"10"
id=
"1nB-uL-p9g"
/>
...
...
@@ -317,15 +344,22 @@
<constraint
firstAttribute=
"trailing"
secondItem=
"eh6-mf-agL"
secondAttribute=
"trailing"
id=
"fsj-lq-pzi"
/>
<constraint
firstItem=
"D4z-vi-ogp"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"koc-uk-Wmg"
/>
<constraint
firstItem=
"6MO-V8-sMn"
firstAttribute=
"leading"
secondItem=
"fLT-jy-0yj"
secondAttribute=
"trailing"
id=
"l3w-Wi-Wv9"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Zbb-dP-OOv"
secondAttribute=
"trailing"
id=
"mTz-Vg-lTL"
/>
<constraint
firstItem=
"ThE-Le-aUU"
firstAttribute=
"top"
secondItem=
"Fwd-sD-T0h"
secondAttribute=
"bottom"
constant=
"49"
id=
"mbX-cc-Lxw"
/>
<constraint
firstItem=
"DNW-1v-r8x"
firstAttribute=
"leading"
secondItem=
"D4z-vi-ogp"
secondAttribute=
"trailing"
constant=
"15"
id=
"nsc-Yp-dmq"
/>
<constraint
firstItem=
"PdO-Zj-Dft"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"p1x-ze-2Lr"
/>
<constraint
firstItem=
"PST-FC-fG9"
firstAttribute=
"top"
secondItem=
"Fr1-SS-krs"
secondAttribute=
"bottom"
constant=
"22"
id=
"qVK-iA-Oem"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Fr1-SS-krs"
secondAttribute=
"trailing"
constant=
"15"
id=
"sbK-G2-P0h"
/>
<constraint
firstItem=
"kGM-d5-IE6"
firstAttribute=
"centerY"
secondItem=
"PST-FC-fG9"
secondAttribute=
"centerY"
id=
"t0z-cG-nJ3"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ThE-Le-aUU"
secondAttribute=
"trailing"
id=
"twC-NR-EUN"
/>
<constraint
firstItem=
"dXp-Fv-ghH"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"uRV-sZ-67i"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"4j6-NB-EJe"
secondAttribute=
"trailing"
constant=
"15"
id=
"wCj-Sr-ffc"
/>
<constraint
firstItem=
"82n-oH-pbs"
firstAttribute=
"top"
secondItem=
"Zbb-dP-OOv"
secondAttribute=
"bottom"
id=
"wWc-5W-rV9"
/>
<constraint
firstItem=
"4j6-NB-EJe"
firstAttribute=
"leading"
secondItem=
"yHy-KY-Uxt"
secondAttribute=
"trailing"
constant=
"10"
id=
"wja-2I-IyW"
/>
<constraint
firstItem=
"ThE-Le-aUU"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"xR2-34-4SX"
/>
<constraint
firstItem=
"GM4-XT-zet"
firstAttribute=
"top"
secondItem=
"D4z-vi-ogp"
secondAttribute=
"bottom"
constant=
"15.5"
id=
"xee-zN-VOT"
/>
<constraint
firstItem=
"7fF-Od-2O3"
firstAttribute=
"centerY"
secondItem=
"PST-FC-fG9"
secondAttribute=
"centerY"
id=
"yyZ-7a-pit"
/>
<constraint
firstItem=
"PdO-Zj-Dft"
firstAttribute=
"top"
secondItem=
"ThE-Le-aUU"
secondAttribute=
"bottom"
constant=
"15"
id=
"zOW-Lo-3jK"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"82n-oH-pbs"
secondAttribute=
"bottom"
id=
"zlz-v0-agc"
/>
</constraints>
</tableViewCellContentView>
...
...
@@ -343,7 +377,7 @@
<outlet
property=
"titLbl"
destination=
"dXp-Fv-ghH"
id=
"yQ6-ua-y2u"
/>
<outlet
property=
"totalPriceTf"
destination=
"DNW-1v-r8x"
id=
"emO-uV-Hk1"
/>
</connections>
<point
key=
"canvasLocation"
x=
"155.79710144927537"
y=
"11
7.1875
"
/>
<point
key=
"canvasLocation"
x=
"155.79710144927537"
y=
"11
6.85267857142857
"
/>
</tableViewCell>
</objects>
<resources>
...
...
@@ -366,9 +400,6 @@
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<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>
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
0d926d74
...
...
@@ -8,10 +8,50 @@
import
UIKit
import
LGButton
import
Photos
protocol
NewRKVcDelegate
{
func
NewRKVcFinish
()
}
class
NewRKVc
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
NewOnlyRKCellDelegate
,
NewSelectItemVcDelegate
,
NewSelectWarehouseVCDelegate
,
GLAlertSelectViewDelegate
,
GeliAlertTextViewDelegate
,
ShowTimeSelectViewDelegate
{
class
NewRKVc
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
NewOnlyRKCellDelegate
,
NewSelectItemVcDelegate
,
NewSelectWarehouseVCDelegate
,
GLAlertSelectViewDelegate
,
GeliAlertTextViewDelegate
,
ShowTimeSelectViewDelegate
,
GYSListViewControllerDelegate
,
GYSGLViewControllerDelegate
,
Add_Report_View_Delegate
{
var
maxFiveImgsArr
:
Array
<
String
>
=
[]
//多图
func
Add_Report_View_Select_Img
(
view
:
Add_Report_View
)
{
print
(
"选择"
)
let
num
=
5
-
maxFiveImgsArr
.
count
_
=
self
.
presentHGImagePicker
(
maxSelected
:
num
)
{
(
assets
)
in
//结果处理
print
(
"共选择了
\(
assets
.
count
)
张图片,分别如下:"
)
let
option
=
PHImageRequestOptions
()
option
.
isSynchronous
=
true
option
.
isNetworkAccessAllowed
=
true
for
asset
in
assets
{
PHImageManager
.
default
()
.
requestImage
(
for
:
asset
,
targetSize
:
PHImageManagerMaximumSize
,
contentMode
:
.
default
,
options
:
option
,
resultHandler
:
{
(
image
,
_
:
[
AnyHashable
:
Any
]?)
in
// print("上传图片==\(image)")
// self.maxFiveImgsArr.append(image!)
// let index = Dollar.indexOf(self.maxFiveImgsArr, value: image!)
self
.
maxFiveImgsArr
.
append
(
"insert"
)
//调用上传图片
// self.uploadImg(imge: image!, isOriginal: false, tag: self.maxFiveImgsArr.count-1)
})
}
self
.
listView
.
reloadData
()
}
}
func
GYSGLViewControllerFinish
()
{
//此处无用
}
func
GYSListViewControllerGetGYS
(
sender
:
VendorListDataModel
)
{
holderArr
.
insert
(
sender
.
ven_name
!
,
at
:
3
)
holderArr
.
remove
(
at
:
4
)
listView
.
reloadData
()
}
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
var
delegate
:
NewRKVcDelegate
?
var
po_id
=
0
...
...
@@ -174,8 +214,8 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
@IBOutlet
weak
var
lgBtnTitLbl
:
UILabel
!
@IBOutlet
weak
var
lgBtn
:
LGButton
!
var
isGm
=
false
var
titleArr
=
[
"仓库:"
,
"库位:"
,
"入库类型:"
,
"
入库时间
:"
,
"备注:"
]
var
holderArr
=
[
"请选择仓库"
,
"请选择库位"
,
"请选择入库类型"
,
"
时间
"
,
"请输入备注"
]
var
titleArr
=
[
"仓库:"
,
"库位:"
,
"入库类型:"
,
"
选择供应商
:"
,
"备注:"
]
var
holderArr
=
[
"请选择仓库"
,
"请选择库位"
,
"请选择入库类型"
,
"
请选择供应商
"
,
"请输入备注"
]
//入库类型
var
rkTypeArr
=
[
"采购"
,
"调入"
,
"退货"
,
"生产"
,
"调出被拒绝"
,
"外采"
,
"其他"
,
"固定采购"
,
"临时采购"
]
var
typeSelect
:
Int
?
...
...
@@ -197,6 +237,13 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
var
w_id
:
Int
?
var
p_id
:
Int
?
func
rightBtnClick
()
{
print
(
"新增供应商"
)
let
vc
=
GYSGLViewController
()
vc
.
delegate
=
self
vc
.
barT
=
"新增供应商信息"
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
@@ -211,13 +258,14 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
holderArr
.
remove
(
at
:
3
)
}
let
strNowTime
=
getTimeNow
()
holderArr
.
insert
(
strNowTime
,
at
:
3
)
holderArr
.
remove
(
at
:
4
)
//
let strNowTime = getTimeNow()
//
holderArr.insert(strNowTime, at: 3)
//
holderArr.remove(at: 4)
navbar
.
title
=
"入库"
self
.
view
.
addSubview
(
navbar
)
SetTopFrameView
(
view
:
listView
,
btmView
:
btmView
)
navbar
.
rightTitle
=
"新增供应商"
listView
.
separatorStyle
=
.
none
listView
.
register
(
UINib
(
nibName
:
"CRKBtnCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"CRKBtnCell"
)
...
...
@@ -316,6 +364,13 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
if
indexPath
.
section
==
1
{
return
}
if
indexPath
.
row
==
3
{
print
(
"选择供应商"
)
let
vc
=
GYSListViewController
()
vc
.
barTitle
=
"选择供应商"
vc
.
delegate
=
self
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
if
indexPath
.
row
==
4
{
let
alterView
=
GeliAlertTextView
(
frame
:
self
.
view
.
window
!.
bounds
)
alterView
.
delegate
=
self
...
...
@@ -491,7 +546,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
cell
.
mustLbl
.
isHidden
=
true
cell
.
nameLeft
.
constant
=
0
cell
.
mustWidth
.
constant
=
0
if
indexPath
.
row
>
2
{
if
indexPath
.
row
>
3
{
setCellUI
(
cell
:
cell
)
}
return
cell
...
...
@@ -512,7 +567,6 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
timeSelectV
.
moreSelection
=
false
tempTag
=
cell
.
tag
let
data
=
rkSelectArr
[
tempTag
!
]
print
(
"date =="
,
data
.
createDayStr
,
data
.
createDay
)
//把默认值传回去
if
data
.
createDay
!=
nil
{
let
time
=
TimeInterval
(
exactly
:
data
.
createDay
!
)
...
...
@@ -529,7 +583,6 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
//MARK:--选择时间回调数据
func
showTimeSelectByData
(
timeStr
:
String
,
beginDate
:
Date
,
endginDate
:
Date
)
{
let
timeInterval
:
TimeInterval
=
beginDate
.
timeIntervalSince1970
print
(
tempTag
,
timeStr
,
"生产日期"
,
timeInterval
)
let
data
=
rkSelectArr
[
tempTag
!
]
data
.
createDay
=
Int
(
timeInterval
)
...
...
@@ -539,6 +592,10 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
}
func
NewOnlyRKCellAddRepord
(
cell
:
NewOnlyRKCell
)
{
//添加检测报告
print
(
"添加检测报告"
)
let
vc
=
Add_Report_View
(
frame
:
self
.
view
.
bounds
)
vc
.
delegate
=
self
self
.
view
.
addSubview
(
vc
)
}
func
NewOnlyRKCellDel
(
cell
:
NewOnlyRKCell
)
{
...
...
@@ -620,7 +677,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
return
49
}
return
3
26
return
3
75
}
func
setCellUI
(
cell
:
CRKBtnCell
){
cell
.
contentLbl
.
textColor
=
UIColor
(
named
:
"标题字颜色"
)
...
...
GeliBusinessPlatform/ViewController/供应商管理/GYSGLViewController.swift
View file @
0d926d74
...
...
@@ -87,6 +87,7 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
var
cityIndex
=
0
//选择的区(县)索引
var
areaIndex
=
0
var
create_number
=
""
var
gysName
:
String
=
""
var
dzStr
:
String
=
""
var
detailDzStr
:
String
=
""
...
...
@@ -163,11 +164,11 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
indexPath
.
section
==
2
{
if
zhizhao
.
count
>
0
{
if
indexPath
.
row
==
0
{
if
indexPath
.
row
==
1
{
return
100
}
}
if
food_production_license
.
count
>
0
{
if
food_production_license
.
count
>
2
{
if
indexPath
.
row
==
1
{
return
100
}
...
...
@@ -182,14 +183,14 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
switch
section
{
case
0
:
return
3
case
1
:
return
3
default
:
return
2
default
:
return
3
}
}
let
sec1Arr
=
[
"供应商名称:"
,
"地址:"
,
"详细地址:"
]
let
hold1Arr
=
[
"请输入供应商名称"
,
"请选择供应商地址"
,
"请输入供应商详细地址"
]
let
sec2Arr
=
[
"姓名:"
,
"手机:"
,
"电话:"
]
let
hold2Arr
=
[
"请输入联系人姓名"
,
"请输入联系人手机号码"
,
"请输入联系电话"
]
let
sec3Arr
=
[
"营业资格证:"
,
"食品流通许可证:"
]
let
sec3Arr
=
[
"
单位统一社会信用代码:"
,
"
营业资格证:"
,
"食品流通许可证:"
]
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
switch
indexPath
.
section
{
case
0
:
...
...
@@ -261,6 +262,21 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
}
return
cell
default
:
if
indexPath
.
row
==
0
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndTFCell"
)
as!
TitleAndTFCell
cell
.
nameLbl
.
text
=
sec3Arr
[
indexPath
.
row
]
cell
.
star_lbl
.
isHidden
=
false
cell
.
textTF
.
placeholder
=
"请输入"
if
barT
.
contains
(
"编辑"
){
cell
.
textTF
.
clearButtonMode
=
.
always
}
else
{
cell
.
textTF
.
clearButtonMode
=
.
whileEditing
}
cell
.
textTF
.
delegate
=
self
cell
.
tag
=
99
cell
.
textTF
.
text
=
create_number
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndOnlyBtnCell"
)
as!
TitleAndOnlyBtnCell
cell
.
titleLbl
.
text
=
sec3Arr
[
indexPath
.
row
]
cell
.
button
.
setTitle
(
"上传"
,
for
:
.
normal
)
...
...
@@ -690,6 +706,9 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
case
2
:
detailDzStr
=
textField
.
text
!
break
case
99
:
create_number
=
textField
.
text
!
break
case
100
:
nameStr
=
textField
.
text
!
break
...
...
GeliBusinessPlatform/ViewController/供应商管理/GYSGLViewController.xib
View file @
0d926d74
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
6097
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
7701
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina4_7"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
6087
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
7703
"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
...
...
@@ -23,7 +24,7 @@
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"UDG-2C-6uA"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"0.0"
y=
"618"
width=
"375"
height=
"49"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<color
key=
"value"
name=
"按钮渐变色上"
/>
...
...
@@ -62,6 +63,7 @@
</connections>
</tableView>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint
firstItem=
"dCx-Vv-3aF"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"3sX-Fi-7Kl"
/>
...
...
@@ -76,10 +78,14 @@
<constraint
firstItem=
"UDG-2C-6uA"
firstAttribute=
"leading"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"leading"
id=
"tRC-p9-8bY"
/>
<constraint
firstItem=
"dCx-Vv-3aF"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"xje-UF-YA9"
/>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<point
key=
"canvasLocation"
x=
"131.8840579710145"
y=
"121.875"
/>
</view>
</objects>
<designables>
<designable
name=
"UDG-2C-6uA"
>
<size
key=
"intrinsicContentSize"
width=
"10"
height=
"10"
/>
</designable>
</designables>
<resources>
<namedColor
name=
"app底色"
>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
...
...
@@ -93,5 +99,8 @@
<namedColor
name=
"白色背景色"
>
<color
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/出入库记录/CRKBtnCell.xib
View file @
0d926d74
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
6097.2
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
7701
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
6087
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
7703
"
/>
<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"
/>
...
...
GeliBusinessPlatform/ViewController/地图/SJMapCell.xib
View file @
0d926d74
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
5702
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
7701
"
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"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<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"
/>
...
...
@@ -10,7 +11,7 @@
<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=
"SJMapCell"
customModule=
"
GeliBusinessPlatform
"
customModuleProvider=
"target"
>
<tableViewCell
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
id=
"KGk-i7-Jjw"
customClass=
"SJMapCell"
customModule=
"
TestClass
"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"73.5"
/>
<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"
>
...
...
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.swift
0 → 100644
View file @
0d926d74
//
// Add_Report_View.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2021/1/26.
// Copyright © 2021 junye lu. All rights reserved.
//
import
UIKit
import
LGButton
protocol
Add_Report_View_Delegate
{
func
Add_Report_View_Select_Img
(
view
:
Add_Report_View
)
}
class
Add_Report_View
:
UIView
{
var
delegate
:
Add_Report_View_Delegate
?
@IBOutlet
weak
var
select_view
:
UIView
!
var
select_idx
:
Int
?{
didSet
{
if
select_idx
!=
nil
{
select_img
.
isHidden
=
false
}
}
}
@IBOutlet
weak
var
bg_view_width
:
NSLayoutConstraint
!
@IBAction
func
add_img_action
(
_
sender
:
UIButton
)
{
delegate
?
.
Add_Report_View_Select_Img
(
view
:
self
)
}
@IBOutlet
weak
var
add_img_btn
:
UIButton
!
@IBAction
func
submit_action
(
_
sender
:
UIButton
)
{
close_action
(
sender
)
}
@IBOutlet
weak
var
img_y
:
NSLayoutConstraint
!
@IBAction
func
type_select
(
_
sender
:
UIButton
)
{
select_view
.
isHidden
=
true
select_idx
=
sender
.
tag
let
whitespace
=
NSCharacterSet
.
whitespacesAndNewlines
type_lbl
.
text
=
sender
.
titleLabel
?
.
text
!.
trimmingCharacters
(
in
:
whitespace
)
img_y
.
constant
=
sender
.
frame
.
origin
.
y
}
@IBOutlet
weak
var
select_img
:
UIImageView
!
@IBAction
func
select_type_action
(
_
sender
:
UIButton
)
{
select_view
.
isHidden
=
false
}
@IBAction
func
close_action
(
_
sender
:
UIButton
)
{
self
.
removeFromSuperview
()
}
@IBOutlet
weak
var
type_lbl
:
UILabel
!
var
contentView
:
UIView
!
//初始化时将xib中的view添加进来
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
contentView
=
loadViewFromNib
()
addSubview
(
contentView
)
contentView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
top
.
right
.
bottom
.
equalToSuperview
()
}
}
// /初始化时将xib中的view添加进来
required
init
?(
coder
aDecoder
:
NSCoder
)
{
super
.
init
(
coder
:
aDecoder
)
contentView
=
loadViewFromNib
()
addSubview
(
contentView
)
contentView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
top
.
right
.
bottom
.
equalToSuperview
()
}
}
//加载xib
func
loadViewFromNib
()
->
UIView
{
let
className
=
type
(
of
:
self
)
let
bundle
=
Bundle
(
for
:
className
)
let
name
=
NSStringFromClass
(
className
)
.
components
(
separatedBy
:
"."
)
.
last
let
nib
=
UINib
(
nibName
:
name
!
,
bundle
:
bundle
)
let
view
=
nib
.
instantiate
(
withOwner
:
self
,
options
:
nil
)
.
first
as!
UIView
return
view
}
}
GeliBusinessPlatform/ViewController/溯源/Add_Report_View.xib
0 → 100644
View file @
0d926d74
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17701"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.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=
"Add_Report_View"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"add_img_btn"
destination=
"glR-fE-Q1j"
id=
"6j1-UX-imB"
/>
<outlet
property=
"bg_view_width"
destination=
"HNq-up-1f4"
id=
"lZj-gw-mXg"
/>
<outlet
property=
"img_y"
destination=
"Mng-xH-L9j"
id=
"HGL-mf-Nhb"
/>
<outlet
property=
"select_img"
destination=
"yX5-IM-zDi"
id=
"Zzc-iq-lu0"
/>
<outlet
property=
"select_view"
destination=
"1E2-Hg-cjR"
id=
"Sdj-rQ-VHu"
/>
<outlet
property=
"type_lbl"
destination=
"aY2-2z-Z3V"
id=
"6ct-wS-9Wv"
/>
</connections>
</placeholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
contentMode=
"scaleToFill"
id=
"iN0-l3-epB"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<button
opaque=
"NO"
alpha=
"0.40000000000000002"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
pointerInteraction=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"t6T-ym-kfQ"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<color
key=
"backgroundColor"
name=
"标题字颜色"
/>
<connections>
<action
selector=
"close_action:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"uel-87-EpW"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"RL8-gE-q7y"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"0.0"
y=
"818"
width=
"414"
height=
"78"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<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=
"submit_action:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"gJe-TK-8Wf"
/>
</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=
"JHd-th-iZi"
>
<rect
key=
"frame"
x=
"0.0"
y=
"818"
width=
"414"
height=
"44"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"44"
id=
"3bV-Bz-6ZT"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color
key=
"textColor"
name=
"白色背景色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"TPf-jf-iIq"
>
<rect
key=
"frame"
x=
"0.0"
y=
"475"
width=
"414"
height=
"343"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"添加报告"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"b3f-iV-kkj"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"51"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"51"
id=
"ycV-wg-SVr"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"15"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3BL-M6-nIJ"
>
<rect
key=
"frame"
x=
"0.0"
y=
"51"
width=
"414"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"TUE-lB-wHG"
/>
</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=
"0lt-zx-kbK"
>
<rect
key=
"frame"
x=
"15"
y=
"81.5"
width=
"55.5"
height=
"18.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"xaF-9D-Hi3"
>
<rect
key=
"frame"
x=
"80.5"
y=
"72.5"
width=
"318.5"
height=
"37"
/>
<subviews>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
"请输入报告编码"
textAlignment=
"natural"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"XkS-5B-cWo"
>
<rect
key=
"frame"
x=
"10"
y=
"0.0"
width=
"298.5"
height=
"37"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
</subviews>
<color
key=
"backgroundColor"
name=
"搜索框底色"
/>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"XkS-5B-cWo"
secondAttribute=
"bottom"
id=
"8Hb-Er-Yg0"
/>
<constraint
firstItem=
"XkS-5B-cWo"
firstAttribute=
"leading"
secondItem=
"xaF-9D-Hi3"
secondAttribute=
"leading"
constant=
"10"
id=
"AXt-2U-hJX"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"XkS-5B-cWo"
secondAttribute=
"trailing"
constant=
"10"
id=
"dRc-Mv-G8O"
/>
<constraint
firstAttribute=
"height"
constant=
"37"
id=
"lqp-wr-pil"
/>
<constraint
firstItem=
"XkS-5B-cWo"
firstAttribute=
"top"
secondItem=
"xaF-9D-Hi3"
secondAttribute=
"top"
id=
"pJL-zi-qnB"
/>
</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=
"mUx-GL-l3u"
>
<rect
key=
"frame"
x=
"15"
y=
"143.5"
width=
"55.5"
height=
"18.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"H2A-87-WoL"
>
<rect
key=
"frame"
x=
"80.5"
y=
"134.5"
width=
"318.5"
height=
"37"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"请选择报告类型"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"aY2-2z-Z3V"
>
<rect
key=
"frame"
x=
"10"
y=
"9"
width=
"91"
height=
"19"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"9A9A9A"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"jinruDetail"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Vbb-el-t7x"
>
<rect
key=
"frame"
x=
"305.5"
y=
"15"
width=
"3"
height=
"7"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"7"
id=
"VTN-pO-54f"
/>
<constraint
firstAttribute=
"width"
constant=
"3"
id=
"dWs-24-voM"
/>
</constraints>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Jk6-Rf-sLp"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"318.5"
height=
"37"
/>
<connections>
<action
selector=
"select_type_action:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"L37-D3-pnF"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
name=
"搜索框底色"
/>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"Vbb-el-t7x"
secondAttribute=
"trailing"
constant=
"10"
id=
"7ZL-4A-M6o"
/>
<constraint
firstItem=
"aY2-2z-Z3V"
firstAttribute=
"leading"
secondItem=
"H2A-87-WoL"
secondAttribute=
"leading"
constant=
"10"
id=
"Ace-bB-XB6"
/>
<constraint
firstItem=
"Vbb-el-t7x"
firstAttribute=
"centerY"
secondItem=
"H2A-87-WoL"
secondAttribute=
"centerY"
id=
"FSl-2c-Gqd"
/>
<constraint
firstItem=
"Jk6-Rf-sLp"
firstAttribute=
"top"
secondItem=
"H2A-87-WoL"
secondAttribute=
"top"
id=
"ZhG-dX-ACb"
/>
<constraint
firstAttribute=
"height"
constant=
"37"
id=
"bg1-85-Xvd"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Jk6-Rf-sLp"
secondAttribute=
"trailing"
id=
"caz-fB-n41"
/>
<constraint
firstItem=
"Jk6-Rf-sLp"
firstAttribute=
"leading"
secondItem=
"H2A-87-WoL"
secondAttribute=
"leading"
id=
"dC9-Wj-I3w"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Jk6-Rf-sLp"
secondAttribute=
"bottom"
id=
"oFW-DO-RDp"
/>
<constraint
firstItem=
"aY2-2z-Z3V"
firstAttribute=
"centerY"
secondItem=
"H2A-87-WoL"
secondAttribute=
"centerY"
id=
"pur-pE-bY6"
/>
</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=
"0cs-Vs-XiS"
>
<rect
key=
"frame"
x=
"15"
y=
"205.5"
width=
"55.5"
height=
"18.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"glR-fE-Q1j"
>
<rect
key=
"frame"
x=
"80.5"
y=
"196.5"
width=
"95"
height=
"37"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"95"
id=
"K4Y-N2-uIO"
/>
<constraint
firstAttribute=
"height"
constant=
"37"
id=
"Ne3-mM-n1b"
/>
</constraints>
<state
key=
"normal"
image=
"update_report_img"
/>
<connections>
<action
selector=
"add_img_action:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"bxg-Hs-iiD"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"QcK-RN-zvv"
>
<rect
key=
"frame"
x=
"80.5"
y=
"196.5"
width=
"0.0"
height=
"128"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstAttribute=
"width"
id=
"HNq-up-1f4"
/>
<constraint
firstAttribute=
"height"
constant=
"128"
id=
"cHz-WT-ma7"
/>
</constraints>
</view>
<view
hidden=
"YES"
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"1E2-Hg-cjR"
>
<rect
key=
"frame"
x=
"80.5"
y=
"171.5"
width=
"318.5"
height=
"149"
/>
<subviews>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hdH-ZQ-JAf"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"318.5"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"49"
id=
"owl-gk-Pde"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<state
key=
"normal"
title=
" 检验检测报告"
>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
</state>
<connections>
<action
selector=
"type_select:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"6sM-qI-8EU"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qIU-Ju-6TU"
>
<rect
key=
"frame"
x=
"15"
y=
"49"
width=
"288.5"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"HTf-kr-Wkz"
/>
</constraints>
</view>
<button
opaque=
"NO"
tag=
"1"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"V2q-cC-Syb"
>
<rect
key=
"frame"
x=
"0.0"
y=
"50"
width=
"318.5"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"49"
id=
"N3a-d5-XCI"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<state
key=
"normal"
title=
" 关检报告"
>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
</state>
<connections>
<action
selector=
"type_select:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"dzB-Sp-ZPj"
/>
</connections>
</button>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Eae-Z1-gAn"
>
<rect
key=
"frame"
x=
"15"
y=
"99"
width=
"288.5"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"aeh-p9-Y1K"
/>
</constraints>
</view>
<button
opaque=
"NO"
tag=
"2"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"dke-5O-HUi"
>
<rect
key=
"frame"
x=
"0.0"
y=
"100"
width=
"318.5"
height=
"49"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<state
key=
"normal"
title=
" 检验检疫合格证"
>
<color
key=
"titleColor"
name=
"标题字颜色"
/>
</state>
<connections>
<action
selector=
"type_select:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"cxf-NB-cLq"
/>
</connections>
</button>
<imageView
hidden=
"YES"
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"Checkmark"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"yX5-IM-zDi"
>
<rect
key=
"frame"
x=
"291.5"
y=
"19.5"
width=
"12"
height=
"9.5"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"9.5"
id=
"dqa-vG-b4H"
/>
<constraint
firstAttribute=
"width"
constant=
"12"
id=
"mpG-bb-VCE"
/>
</constraints>
</imageView>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"qIU-Ju-6TU"
secondAttribute=
"trailing"
constant=
"15"
id=
"3J3-RD-yfE"
/>
<constraint
firstItem=
"qIU-Ju-6TU"
firstAttribute=
"leading"
secondItem=
"1E2-Hg-cjR"
secondAttribute=
"leading"
constant=
"15"
id=
"4eE-fj-9YJ"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"dke-5O-HUi"
secondAttribute=
"bottom"
id=
"AJb-dm-QPF"
/>
<constraint
firstItem=
"dke-5O-HUi"
firstAttribute=
"top"
secondItem=
"Eae-Z1-gAn"
secondAttribute=
"bottom"
id=
"Ci8-ql-2dW"
/>
<constraint
firstItem=
"V2q-cC-Syb"
firstAttribute=
"top"
secondItem=
"qIU-Ju-6TU"
secondAttribute=
"bottom"
id=
"Hal-F3-EfN"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"dke-5O-HUi"
secondAttribute=
"trailing"
id=
"Hhw-4A-gcf"
/>
<constraint
firstItem=
"Eae-Z1-gAn"
firstAttribute=
"leading"
secondItem=
"1E2-Hg-cjR"
secondAttribute=
"leading"
constant=
"15"
id=
"Iwu-Ud-c06"
/>
<constraint
firstItem=
"yX5-IM-zDi"
firstAttribute=
"centerY"
secondItem=
"hdH-ZQ-JAf"
secondAttribute=
"centerY"
id=
"Mng-xH-L9j"
/>
<constraint
firstItem=
"hdH-ZQ-JAf"
firstAttribute=
"top"
secondItem=
"1E2-Hg-cjR"
secondAttribute=
"top"
id=
"Pf2-DA-Zab"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Eae-Z1-gAn"
secondAttribute=
"trailing"
constant=
"15"
id=
"YHI-jb-UJP"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"hdH-ZQ-JAf"
secondAttribute=
"trailing"
id=
"Zx4-XV-vB9"
/>
<constraint
firstItem=
"V2q-cC-Syb"
firstAttribute=
"leading"
secondItem=
"1E2-Hg-cjR"
secondAttribute=
"leading"
id=
"dZL-dh-itD"
/>
<constraint
firstItem=
"Eae-Z1-gAn"
firstAttribute=
"top"
secondItem=
"V2q-cC-Syb"
secondAttribute=
"bottom"
id=
"eXi-QJ-LsW"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"V2q-cC-Syb"
secondAttribute=
"trailing"
id=
"lpt-WT-2GP"
/>
<constraint
firstItem=
"qIU-Ju-6TU"
firstAttribute=
"top"
secondItem=
"hdH-ZQ-JAf"
secondAttribute=
"bottom"
id=
"n1C-0g-qSW"
/>
<constraint
firstItem=
"hdH-ZQ-JAf"
firstAttribute=
"leading"
secondItem=
"1E2-Hg-cjR"
secondAttribute=
"leading"
id=
"oIo-Af-iCt"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"yX5-IM-zDi"
secondAttribute=
"trailing"
constant=
"15"
id=
"qDK-pT-gkf"
/>
<constraint
firstAttribute=
"height"
constant=
"149"
id=
"tka-as-jr0"
/>
<constraint
firstItem=
"dke-5O-HUi"
firstAttribute=
"leading"
secondItem=
"1E2-Hg-cjR"
secondAttribute=
"leading"
id=
"z1w-SR-bMm"
/>
</constraints>
</view>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstItem=
"b3f-iV-kkj"
firstAttribute=
"top"
secondItem=
"TPf-jf-iIq"
secondAttribute=
"top"
id=
"1Av-1J-jC8"
/>
<constraint
firstItem=
"3BL-M6-nIJ"
firstAttribute=
"leading"
secondItem=
"TPf-jf-iIq"
secondAttribute=
"leading"
id=
"3Dz-G1-gAh"
/>
<constraint
firstItem=
"H2A-87-WoL"
firstAttribute=
"leading"
secondItem=
"mUx-GL-l3u"
secondAttribute=
"trailing"
constant=
"10"
id=
"4vf-Sp-BRg"
/>
<constraint
firstItem=
"glR-fE-Q1j"
firstAttribute=
"leading"
secondItem=
"QcK-RN-zvv"
secondAttribute=
"trailing"
id=
"71x-Vz-zc0"
/>
<constraint
firstItem=
"QcK-RN-zvv"
firstAttribute=
"top"
secondItem=
"glR-fE-Q1j"
secondAttribute=
"top"
id=
"7Ix-vy-Agm"
/>
<constraint
firstItem=
"1E2-Hg-cjR"
firstAttribute=
"top"
secondItem=
"H2A-87-WoL"
secondAttribute=
"bottom"
id=
"7kc-ZS-Ef3"
/>
<constraint
firstItem=
"1E2-Hg-cjR"
firstAttribute=
"width"
secondItem=
"Jk6-Rf-sLp"
secondAttribute=
"width"
id=
"Bnt-Jt-fww"
/>
<constraint
firstItem=
"0cs-Vs-XiS"
firstAttribute=
"top"
secondItem=
"mUx-GL-l3u"
secondAttribute=
"bottom"
constant=
"43.5"
id=
"EkY-88-zp9"
/>
<constraint
firstItem=
"H2A-87-WoL"
firstAttribute=
"centerY"
secondItem=
"mUx-GL-l3u"
secondAttribute=
"centerY"
id=
"HBe-KI-aMO"
/>
<constraint
firstItem=
"xaF-9D-Hi3"
firstAttribute=
"centerY"
secondItem=
"0lt-zx-kbK"
secondAttribute=
"centerY"
id=
"Hpg-th-EqH"
/>
<constraint
firstItem=
"1E2-Hg-cjR"
firstAttribute=
"leading"
secondItem=
"Jk6-Rf-sLp"
secondAttribute=
"leading"
id=
"KAu-00-6LL"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"H2A-87-WoL"
secondAttribute=
"trailing"
constant=
"15"
id=
"KiK-8f-j9J"
/>
<constraint
firstItem=
"0cs-Vs-XiS"
firstAttribute=
"leading"
secondItem=
"TPf-jf-iIq"
secondAttribute=
"leading"
constant=
"15"
id=
"PkD-iU-3Gm"
/>
<constraint
firstItem=
"0lt-zx-kbK"
firstAttribute=
"top"
secondItem=
"3BL-M6-nIJ"
secondAttribute=
"bottom"
constant=
"29.5"
id=
"PpK-6Z-iy1"
/>
<constraint
firstItem=
"QcK-RN-zvv"
firstAttribute=
"leading"
secondItem=
"0cs-Vs-XiS"
secondAttribute=
"trailing"
constant=
"10"
id=
"QOX-UY-QPa"
/>
<constraint
firstItem=
"0lt-zx-kbK"
firstAttribute=
"leading"
secondItem=
"TPf-jf-iIq"
secondAttribute=
"leading"
constant=
"15"
id=
"a3j-FU-2cQ"
/>
<constraint
firstItem=
"mUx-GL-l3u"
firstAttribute=
"top"
secondItem=
"0lt-zx-kbK"
secondAttribute=
"bottom"
constant=
"43.5"
id=
"aaA-Lu-dyP"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"b3f-iV-kkj"
secondAttribute=
"trailing"
id=
"bia-6m-sbk"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"xaF-9D-Hi3"
secondAttribute=
"trailing"
constant=
"15"
id=
"c6M-zT-N5c"
/>
<constraint
firstItem=
"glR-fE-Q1j"
firstAttribute=
"centerY"
secondItem=
"0cs-Vs-XiS"
secondAttribute=
"centerY"
id=
"eIE-tz-gu4"
/>
<constraint
firstItem=
"3BL-M6-nIJ"
firstAttribute=
"top"
secondItem=
"b3f-iV-kkj"
secondAttribute=
"bottom"
id=
"kNq-Y9-fbw"
/>
<constraint
firstItem=
"mUx-GL-l3u"
firstAttribute=
"leading"
secondItem=
"TPf-jf-iIq"
secondAttribute=
"leading"
constant=
"15"
id=
"lKn-Ea-Tqh"
/>
<constraint
firstAttribute=
"height"
constant=
"343"
id=
"orV-h3-smX"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"3BL-M6-nIJ"
secondAttribute=
"trailing"
id=
"rch-sK-mTh"
/>
<constraint
firstItem=
"b3f-iV-kkj"
firstAttribute=
"leading"
secondItem=
"TPf-jf-iIq"
secondAttribute=
"leading"
id=
"vvV-w6-bnC"
/>
<constraint
firstItem=
"xaF-9D-Hi3"
firstAttribute=
"leading"
secondItem=
"0lt-zx-kbK"
secondAttribute=
"trailing"
constant=
"10"
id=
"wsF-1r-riL"
/>
</constraints>
</view>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"vUN-kp-3ea"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<constraints>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"TPf-jf-iIq"
secondAttribute=
"trailing"
id=
"1Oy-hd-RyC"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"RL8-gE-q7y"
secondAttribute=
"trailing"
id=
"3Eb-Rc-zn9"
/>
<constraint
firstItem=
"JHd-th-iZi"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
id=
"8JI-YM-N1R"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"t6T-ym-kfQ"
secondAttribute=
"bottom"
id=
"GSl-C5-wrw"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"t6T-ym-kfQ"
secondAttribute=
"trailing"
id=
"GVW-GX-aaV"
/>
<constraint
firstItem=
"TPf-jf-iIq"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
id=
"HCC-pE-zu7"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"RL8-gE-q7y"
secondAttribute=
"bottom"
id=
"Jb5-81-paM"
/>
<constraint
firstItem=
"t6T-ym-kfQ"
firstAttribute=
"top"
secondItem=
"iN0-l3-epB"
secondAttribute=
"top"
id=
"RMm-NI-1yP"
/>
<constraint
firstItem=
"RL8-gE-q7y"
firstAttribute=
"leading"
secondItem=
"iN0-l3-epB"
secondAttribute=
"leading"
id=
"Ukt-4s-tV1"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"bottom"
secondItem=
"JHd-th-iZi"
secondAttribute=
"bottom"
id=
"ZJ1-WE-T2E"
/>
<constraint
firstItem=
"RL8-gE-q7y"
firstAttribute=
"top"
secondItem=
"JHd-th-iZi"
secondAttribute=
"top"
id=
"a5i-ga-EUS"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"JHd-th-iZi"
secondAttribute=
"trailing"
id=
"o8V-ON-96e"
/>
<constraint
firstItem=
"t6T-ym-kfQ"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
id=
"ooH-dA-WtK"
/>
<constraint
firstItem=
"RL8-gE-q7y"
firstAttribute=
"top"
secondItem=
"TPf-jf-iIq"
secondAttribute=
"bottom"
id=
"svc-fn-SS1"
/>
</constraints>
<point
key=
"canvasLocation"
x=
"140.57971014492756"
y=
"93.75"
/>
</view>
</objects>
<designables>
<designable
name=
"RL8-gE-q7y"
>
<size
key=
"intrinsicContentSize"
width=
"10"
height=
"10"
/>
</designable>
</designables>
<resources>
<image
name=
"Checkmark"
width=
"12.5"
height=
"9.5"
/>
<image
name=
"jinruDetail"
width=
"4.5"
height=
"9"
/>
<image
name=
"update_report_img"
width=
"95"
height=
"37"
/>
<namedColor
name=
"9A9A9A"
>
<color
red=
"0.60392156862745094"
green=
"0.60392156862745094"
blue=
"0.60392156862745094"
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.90980392156862744"
green=
"0.92549019607843142"
blue=
"0.94901960784313721"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<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>
<namedColor
name=
"白色背景色"
>
<color
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
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