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
4ab3e84a
Commit
4ab3e84a
authored
Feb 05, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情样式修改
parent
cb170a49
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
126 additions
and
59 deletions
+126
-59
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
+2
-1
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.swift
...atform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.swift
+16
-6
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.xib
...Platform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.xib
+70
-30
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuViewController.swift
...wController/代客下单(购物)/DaiKeXiaDanGouWuViewController.swift
+17
-9
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageDetailViewController.swift
...wController/分销订单管理/RetailManageDetailViewController.swift
+5
-7
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
...ssPlatform/ViewController/订单详情/OrderDViewController.swift
+16
-6
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
4ab3e84a
No preview for this file type
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
4ab3e84a
...
...
@@ -49,7 +49,8 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
})
var
goods_bannerStr
:
String
=
""
if
lastGoodsBanner
.
count
>
0
{
goods_bannerStr
=
dataChangeString
(
sender
:
lastGoodsBanner
)
// goods_bannerStr = dataChangeString(sender: lastGoodsBanner)
goods_bannerStr
=
lastGoodsBanner
.
joined
(
separator
:
","
)
}
report_sn
=
view
.
report_sn_tf
.
text
!
...
...
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.swift
View file @
4ab3e84a
...
...
@@ -13,6 +13,8 @@ protocol DaiKeXiaDanGouWuCellDelegate {
func
DaiKeXiaDanGouWuCell_check
(
cell
:
DaiKeXiaDanGouWuCell
)
}
class
DaiKeXiaDanGouWuCell
:
UITableViewCell
,
UITextViewDelegate
{
@IBOutlet
weak
var
dj_wk_view
:
UIView
!
@IBOutlet
weak
var
dj_wk_top
:
NSLayoutConstraint
!
@IBOutlet
weak
var
btm_line
:
UIView
!
@IBOutlet
weak
var
arrow_img
:
UIImageView
!
@IBOutlet
weak
var
check_button
:
UIButton
!
...
...
@@ -23,14 +25,19 @@ class DaiKeXiaDanGouWuCell: UITableViewCell,UITextViewDelegate {
@IBOutlet
weak
var
changeBtn
:
UIButton
!
@IBOutlet
weak
var
count_lbl
:
UILabel
!
@IBOutlet
weak
var
btmLIneWidth
:
NSLayoutConstraint
!
@IBOutlet
weak
var
detailLbl2
:
UILabel
!
@IBOutlet
weak
var
delBtn
:
UIButton
!
@IBOutlet
weak
var
delImg
:
UIImageView
!
@IBOutlet
weak
var
totalPriceLbl
:
UILabel
!
@IBOutlet
weak
var
priceLbl
:
UILabel
!
@IBOutlet
weak
var
yong_jin_lbl
:
UILabel
!
@IBOutlet
weak
var
xiao_ji_lbl
:
UILabel
!
@IBOutlet
weak
var
detailLbl
:
UILabel
!
@IBOutlet
weak
var
titleLbl
:
UILabel
!
@IBOutlet
weak
var
diLbl
:
UILabel
!
@IBOutlet
weak
var
dan_jia_lbl
:
UILabel
!
@IBOutlet
weak
var
dj_wk_height
:
NSLayoutConstraint
!
@IBOutlet
weak
var
ding_jin_lbl
:
UILabel
!
@IBOutlet
weak
var
wei_kuan_lbl
:
UILabel
!
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
if
isFx
{
...
...
@@ -42,8 +49,11 @@ class DaiKeXiaDanGouWuCell: UITableViewCell,UITextViewDelegate {
edit_img
.
isHidden
=
true
delImg
.
isHidden
=
true
delBtn
.
isHidden
=
true
diLbl
.
isHidden
=
false
priceLbl
.
isHidden
=
false
dan_jia_lbl
.
isHidden
=
false
xiao_ji_lbl
.
isHidden
=
false
dj_wk_top
.
constant
=
0
dj_wk_height
.
constant
=
0
dj_wk_view
.
isHidden
=
true
}
}
@IBOutlet
weak
var
yu_shou_img
:
UIImageView
!
...
...
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.xib
View file @
4ab3e84a
...
...
@@ -12,14 +12,14 @@
<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=
"DaiKeXiaDanGouWuCell"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
250
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
305
"
/>
<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=
"
250
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"375"
height=
"
305
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"oAm-E1-HwQ"
>
<rect
key=
"frame"
x=
"15"
y=
"
249
"
width=
"360"
height=
"1"
/>
<rect
key=
"frame"
x=
"15"
y=
"
304
"
width=
"360"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"END-QU-37t"
/>
...
...
@@ -93,35 +93,35 @@
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"WMj-FN-Sws"
>
<rect
key=
"frame"
x=
"15"
y=
"125"
width=
"345"
height=
"1
09
"
/>
<rect
key=
"frame"
x=
"15"
y=
"125"
width=
"345"
height=
"1
64
"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
5kg/箱/袋
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"LBB-wB-bMd"
>
<rect
key=
"frame"
x=
"10"
y=
"10"
width=
"
49
"
height=
"13.5"
/>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
规格:400g*60包/件
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"LBB-wB-bMd"
>
<rect
key=
"frame"
x=
"10"
y=
"10"
width=
"
107
"
height=
"13.5"
/>
<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=
"
¥260.00*12
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"X1B-vl-mvy"
>
<rect
key=
"frame"
x=
"10"
y=
"
49"
width=
"61.
5"
height=
"13.5"
/>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
佣金:¥50
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"X1B-vl-mvy"
>
<rect
key=
"frame"
x=
"10"
y=
"
59"
width=
"5
5"
height=
"13.5"
/>
<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=
"WVL-NG-HsK"
>
<rect
key=
"frame"
x=
"38.5"
y=
"
7
1.5"
width=
"78"
height=
"18.5"
/>
<rect
key=
"frame"
x=
"38.5"
y=
"
12
1.5"
width=
"78"
height=
"18.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"蓝色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"bianji"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Dmd-Un-AkZ"
>
<rect
key=
"frame"
x=
"10"
y=
"
7
2.5"
width=
"16"
height=
"16"
/>
<rect
key=
"frame"
x=
"10"
y=
"
12
2.5"
width=
"16"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"16"
id=
"MMn-yf-xWV"
/>
<constraint
firstAttribute=
"height"
constant=
"16"
id=
"muF-aA-q6u"
/>
</constraints>
</imageView>
<textView
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"scaleToFill"
textAlignment=
"natural"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"CW3-oD-5Hm"
>
<rect
key=
"frame"
x=
"36"
y=
"
6
5"
width=
"299"
height=
"36"
/>
<rect
key=
"frame"
x=
"36"
y=
"
11
5"
width=
"299"
height=
"36"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"36"
id=
"sxT-0i-iXD"
/>
...
...
@@ -131,31 +131,31 @@
<textInputTraits
key=
"textInputTraits"
autocapitalizationType=
"sentences"
/>
</textView>
<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=
"ykh-Oc-5e6"
>
<rect
key=
"frame"
x=
"10"
y=
"
7
3"
width=
"33"
height=
"15.5"
/>
<rect
key=
"frame"
x=
"10"
y=
"
12
3"
width=
"33"
height=
"15.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"灰色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
hidden=
"YES"
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"¥51153
.00"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Rio-TZ-iyo"
>
<rect
key=
"frame"
x=
"2
83.5"
y=
"28.5"
width=
"51.5
"
height=
"15.5"
/>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"小计:¥515212
.00"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Rio-TZ-iyo"
>
<rect
key=
"frame"
x=
"2
52"
y=
"33.5"
width=
"83
"
height=
"15.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"灰色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
hidden=
"YES"
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"¥51153.00
"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"JyG-Tf-6Jd"
>
<rect
key=
"frame"
x=
"2
83.5"
y=
"9"
width=
"51.5
"
height=
"15.5"
/>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"单价:46.5
"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"JyG-Tf-6Jd"
>
<rect
key=
"frame"
x=
"2
79"
y=
"9"
width=
"56
"
height=
"15.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
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=
"3f3-RV-d16"
>
<rect
key=
"frame"
x=
"10"
y=
"
28.5"
width=
"22
"
height=
"15.5"
/>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"数量
:15件
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3f3-RV-d16"
>
<rect
key=
"frame"
x=
"10"
y=
"
33.5"
width=
"55.5
"
height=
"15.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"灰色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<button
hidden=
"YES"
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"DvI-Hk-ZNE"
>
<rect
key=
"frame"
x=
"244"
y=
"
40.5
"
width=
"78"
height=
"31"
/>
<rect
key=
"frame"
x=
"244"
y=
"
86
"
width=
"78"
height=
"31"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"13"
/>
<state
key=
"normal"
title=
"查看溯源信息"
>
<color
key=
"titleColor"
name=
"#F57575"
/>
...
...
@@ -164,38 +164,74 @@
<action
selector=
"check_action:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"WR3-RW-mnT"
/>
</connections>
</button>
<imageView
hidden=
"YES"
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"red_arrow"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2p2-7L-Hi7"
>
<rect
key=
"frame"
x=
"327"
y=
"
52.5
"
width=
"3"
height=
"7"
/>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"red_arrow"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2p2-7L-Hi7"
>
<rect
key=
"frame"
x=
"327"
y=
"
98
"
width=
"3"
height=
"7"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"3"
id=
"Dwj-HF-JHh"
/>
<constraint
firstAttribute=
"height"
constant=
"7"
id=
"IWn-Vh-ajY"
/>
</constraints>
</imageView>
<view
hidden=
"YES"
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"eKk-wu-XQi"
>
<rect
key=
"frame"
x=
"10"
y=
"82.5"
width=
"320"
height=
"0.0"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"定金:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hpw-Ue-F2i"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"15"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"15"
id=
"IDi-vj-C7s"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
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=
"6Xr-MY-QEo"
>
<rect
key=
"frame"
x=
"0.0"
y=
"-15"
width=
"320"
height=
"15"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"15"
id=
"SOW-XF-9Ja"
/>
</constraints>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"灰色字体颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<constraints>
<constraint
firstItem=
"hpw-Ue-F2i"
firstAttribute=
"top"
secondItem=
"eKk-wu-XQi"
secondAttribute=
"top"
id=
"80J-u9-Q7E"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"hpw-Ue-F2i"
secondAttribute=
"trailing"
id=
"JcG-Gn-WwC"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"6Xr-MY-QEo"
secondAttribute=
"trailing"
id=
"SeE-H7-LbZ"
/>
<constraint
firstItem=
"6Xr-MY-QEo"
firstAttribute=
"leading"
secondItem=
"eKk-wu-XQi"
secondAttribute=
"leading"
id=
"YgS-Qh-Mmi"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"6Xr-MY-QEo"
secondAttribute=
"bottom"
id=
"pO2-Ju-hru"
/>
<constraint
firstAttribute=
"height"
id=
"vTr-T8-QNe"
/>
<constraint
firstItem=
"hpw-Ue-F2i"
firstAttribute=
"leading"
secondItem=
"eKk-wu-XQi"
secondAttribute=
"leading"
id=
"xUx-Dd-oSy"
/>
</constraints>
</view>
</subviews>
<color
key=
"backgroundColor"
name=
"app底色"
/>
<constraints>
<constraint
firstItem=
"Dmd-Un-AkZ"
firstAttribute=
"top"
secondItem=
"X1B-vl-mvy"
secondAttribute=
"bottom"
constant=
"10"
id=
"5Ig-Ek-Czg"
/>
<constraint
firstItem=
"CW3-oD-5Hm"
firstAttribute=
"top"
secondItem=
"2p2-7L-Hi7"
secondAttribute=
"bottom"
constant=
"10"
id=
"0h4-hS-U5y"
/>
<constraint
firstItem=
"Dmd-Un-AkZ"
firstAttribute=
"top"
secondItem=
"eKk-wu-XQi"
secondAttribute=
"bottom"
constant=
"40"
id=
"5Ig-Ek-Czg"
/>
<constraint
firstItem=
"DvI-Hk-ZNE"
firstAttribute=
"centerY"
secondItem=
"2p2-7L-Hi7"
secondAttribute=
"centerY"
id=
"5fA-6C-jzM"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"CW3-oD-5Hm"
secondAttribute=
"trailing"
constant=
"10"
id=
"6vz-aS-Foq"
/>
<constraint
firstItem=
"CW3-oD-5Hm"
firstAttribute=
"leading"
secondItem=
"Dmd-Un-AkZ"
secondAttribute=
"trailing"
constant=
"10"
id=
"7n2-Vb-3XY"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"JyG-Tf-6Jd"
secondAttribute=
"trailing"
constant=
"10"
id=
"9AX-WF-nFt"
/>
<constraint
firstItem=
"DvI-Hk-ZNE"
firstAttribute=
"centerY"
secondItem=
"X1B-vl-mvy"
secondAttribute=
"centerY"
id=
"C4k-rd-zb7"
/>
<constraint
firstItem=
"X1B-vl-mvy"
firstAttribute=
"top"
secondItem=
"3f3-RV-d16"
secondAttribute=
"bottom"
constant=
"5"
id=
"G0k-U9-DVo"
/>
<constraint
firstItem=
"X1B-vl-mvy"
firstAttribute=
"top"
secondItem=
"3f3-RV-d16"
secondAttribute=
"bottom"
constant=
"10"
id=
"G0k-U9-DVo"
/>
<constraint
firstItem=
"LBB-wB-bMd"
firstAttribute=
"leading"
secondItem=
"WMj-FN-Sws"
secondAttribute=
"leading"
constant=
"10"
id=
"L6M-kd-Qvr"
/>
<constraint
firstItem=
"Rio-TZ-iyo"
firstAttribute=
"centerY"
secondItem=
"3f3-RV-d16"
secondAttribute=
"centerY"
id=
"MHT-Tf-HPF"
/>
<constraint
firstItem=
"3f3-RV-d16"
firstAttribute=
"top"
secondItem=
"LBB-wB-bMd"
secondAttribute=
"bottom"
constant=
"
5
"
id=
"RhT-R5-aDU"
/>
<constraint
firstItem=
"3f3-RV-d16"
firstAttribute=
"top"
secondItem=
"LBB-wB-bMd"
secondAttribute=
"bottom"
constant=
"
10
"
id=
"RhT-R5-aDU"
/>
<constraint
firstItem=
"2p2-7L-Hi7"
firstAttribute=
"leading"
secondItem=
"DvI-Hk-ZNE"
secondAttribute=
"trailing"
constant=
"5"
id=
"T3l-7I-23e"
/>
<constraint
firstItem=
"WVL-NG-HsK"
firstAttribute=
"centerY"
secondItem=
"Dmd-Un-AkZ"
secondAttribute=
"centerY"
id=
"VEI-Ck-HWY"
/>
<constraint
firstItem=
"2p2-7L-Hi7"
firstAttribute=
"centerY"
secondItem=
"DvI-Hk-ZNE"
secondAttribute=
"centerY"
id=
"XFT-vs-Mev"
/>
<constraint
firstItem=
"LBB-wB-bMd"
firstAttribute=
"top"
secondItem=
"WMj-FN-Sws"
secondAttribute=
"top"
constant=
"10"
id=
"Xri-zi-cci"
/>
<constraint
firstItem=
"CW3-oD-5Hm"
firstAttribute=
"centerY"
secondItem=
"Dmd-Un-AkZ"
secondAttribute=
"centerY"
constant=
"2.5"
id=
"ZiM-2r-dAw"
/>
<constraint
firstItem=
"Dmd-Un-AkZ"
firstAttribute=
"leading"
secondItem=
"WMj-FN-Sws"
secondAttribute=
"leading"
constant=
"10"
id=
"a7j-vt-r1P"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"2p2-7L-Hi7"
secondAttribute=
"trailing"
constant=
"15"
id=
"bVc-mK-6cd"
/>
<constraint
firstItem=
"eKk-wu-XQi"
firstAttribute=
"leading"
secondItem=
"WMj-FN-Sws"
secondAttribute=
"leading"
constant=
"10"
id=
"bi9-vj-Clv"
/>
<constraint
firstItem=
"ykh-Oc-5e6"
firstAttribute=
"centerY"
secondItem=
"Dmd-Un-AkZ"
secondAttribute=
"centerY"
id=
"cCR-3w-9NS"
/>
<constraint
firstItem=
"eKk-wu-XQi"
firstAttribute=
"top"
secondItem=
"X1B-vl-mvy"
secondAttribute=
"bottom"
constant=
"10"
id=
"ccd-dk-iCZ"
/>
<constraint
firstItem=
"ykh-Oc-5e6"
firstAttribute=
"leading"
secondItem=
"WMj-FN-Sws"
secondAttribute=
"leading"
constant=
"10"
id=
"das-yY-Rxy"
/>
<constraint
firstItem=
"JyG-Tf-6Jd"
firstAttribute=
"centerY"
secondItem=
"LBB-wB-bMd"
secondAttribute=
"centerY"
id=
"lKC-hA-bwp"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Rio-TZ-iyo"
secondAttribute=
"trailing"
constant=
"10"
id=
"qNT-67-znW"
/>
<constraint
firstItem=
"X1B-vl-mvy"
firstAttribute=
"leading"
secondItem=
"WMj-FN-Sws"
secondAttribute=
"leading"
constant=
"10"
id=
"rJS-l5-dkz"
/>
<constraint
firstItem=
"3f3-RV-d16"
firstAttribute=
"leading"
secondItem=
"WMj-FN-Sws"
secondAttribute=
"leading"
constant=
"10"
id=
"sAa-RD-lf2"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"eKk-wu-XQi"
secondAttribute=
"trailing"
constant=
"15"
id=
"uDu-r1-rox"
/>
<constraint
firstItem=
"WVL-NG-HsK"
firstAttribute=
"leading"
secondItem=
"Dmd-Un-AkZ"
secondAttribute=
"trailing"
constant=
"12.5"
id=
"zlW-a1-QVz"
/>
</constraints>
<userDefinedRuntimeAttributes>
...
...
@@ -239,17 +275,21 @@
<outlet
property=
"check_button"
destination=
"DvI-Hk-ZNE"
id=
"egI-io-mdA"
/>
<outlet
property=
"content_tv"
destination=
"CW3-oD-5Hm"
id=
"FqB-Cg-d4n"
/>
<outlet
property=
"count_lbl"
destination=
"3f3-RV-d16"
id=
"mVi-eZ-CLv"
/>
<outlet
property=
"dan_jia_lbl"
destination=
"JyG-Tf-6Jd"
id=
"3Vp-4A-nQa"
/>
<outlet
property=
"delBtn"
destination=
"eKc-LO-OD0"
id=
"sTb-4h-fLY"
/>
<outlet
property=
"delImg"
destination=
"ftv-xQ-eXW"
id=
"CON-aC-p5Y"
/>
<outlet
property=
"detailLbl"
destination=
"LBB-wB-bMd"
id=
"Z5L-Om-fG8"
/>
<outlet
property=
"detailLbl2"
destination=
"X1B-vl-mvy"
id=
"h0s-3d-jnl"
/>
<outlet
property=
"diLbl"
destination=
"JyG-Tf-6Jd"
id=
"loL-0t-j6w"
/>
<outlet
property=
"ding_jin_lbl"
destination=
"hpw-Ue-F2i"
id=
"K7I-B7-5Ft"
/>
<outlet
property=
"dj_wk_height"
destination=
"vTr-T8-QNe"
id=
"AP4-PP-DKd"
/>
<outlet
property=
"dj_wk_top"
destination=
"ccd-dk-iCZ"
id=
"DHR-0U-cSi"
/>
<outlet
property=
"dj_wk_view"
destination=
"eKk-wu-XQi"
id=
"9l4-al-Jgh"
/>
<outlet
property=
"edit_img"
destination=
"Dmd-Un-AkZ"
id=
"Wem-3z-XGv"
/>
<outlet
property=
"holder_lbl"
destination=
"WVL-NG-HsK"
id=
"mrt-aR-lOQ"
/>
<outlet
property=
"imgView"
destination=
"AWX-Qu-0ML"
id=
"BQH-fG-eL9"
/>
<outlet
property=
"priceLbl"
destination=
"Rio-TZ-iyo"
id=
"Ivg-2f-C6y"
/>
<outlet
property=
"titleLbl"
destination=
"HYf-UQ-mHg"
id=
"bMC-Ni-Yjv"
/>
<outlet
property=
"totalPriceLbl"
destination=
"Rio-TZ-iyo"
id=
"l5M-Ih-fxa"
/>
<outlet
property=
"wei_kuan_lbl"
destination=
"6Xr-MY-QEo"
id=
"hu1-bI-zGd"
/>
<outlet
property=
"xiao_ji_lbl"
destination=
"Rio-TZ-iyo"
id=
"4Uh-GN-8oj"
/>
<outlet
property=
"yong_jin_lbl"
destination=
"X1B-vl-mvy"
id=
"3Vm-LZ-a7G"
/>
<outlet
property=
"yu_shou_img"
destination=
"2zV-nI-93U"
id=
"uFW-s4-KdR"
/>
</connections>
<point
key=
"canvasLocation"
x=
"131.15942028985509"
y=
"121.20535714285714"
/>
...
...
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuViewController.swift
View file @
4ab3e84a
...
...
@@ -189,22 +189,27 @@ class DaiKeXiaDanGouWuViewController: BaseViewController,UITableViewDataSource,U
cell
.
detailLbl
.
text
=
"
\(
cellData
.
spec_str
!
)
/
\(
cellData
.
unit
!
)
"
let
pStr
=
cellData
.
target_Price
as!
NSString
let
p
=
pStr
.
floatValue
*
Float
(
cellData
.
target_Count
!
)
cell
.
detailLbl2
.
text
=
"小计:¥"
+
String
(
format
:
"%.2f"
,
p
)
cell
.
xiao_ji_lbl
.
text
=
"小计:¥"
+
String
(
format
:
"%.2f"
,
p
)
let
priceStr
=
cellData
.
target_Price
?
.
replacingOccurrences
(
of
:
""
,
with
:
","
)
as!
NSString
let
totalP
=
priceStr
.
floatValue
*
Float
(
cellData
.
target_Count
!
)
cell
.
totalPriceL
bl
.
text
=
"
\(
totalP
)
"
cell
.
xiao_ji_l
bl
.
text
=
"
\(
totalP
)
"
if
orderType
==
1
{
cell
.
dj_wk_top
.
constant
=
10
cell
.
dj_wk_height
.
constant
=
40
cell
.
dj_wk_view
.
isHidden
=
false
cell
.
yu_shou_img
.
isHidden
=
false
cell
.
d
iL
bl
.
isHidden
=
false
cell
.
priceL
bl
.
isHidden
=
false
cell
.
di
L
bl
.
text
=
"定金:¥"
+
djTFstr
cell
.
priceL
bl
.
text
=
"尾款:¥"
+
wkTFstr
cell
.
d
an_jia_l
bl
.
isHidden
=
false
cell
.
xiao_ji_l
bl
.
isHidden
=
false
cell
.
di
ng_jin_l
bl
.
text
=
"定金:¥"
+
djTFstr
cell
.
wei_kuan_l
bl
.
text
=
"尾款:¥"
+
wkTFstr
}
else
{
// cell.totalPriceLbl.text = "¥\(priceStr.floatValue * countStr.floatValue)"
cell
.
diLbl
.
isHidden
=
true
cell
.
xiao_ji_lbl
.
isHidden
=
true
cell
.
dj_wk_top
.
constant
=
0
cell
.
dj_wk_height
.
constant
=
0
cell
.
dj_wk_view
.
isHidden
=
true
}
return
cell
...
...
@@ -689,7 +694,10 @@ class DaiKeXiaDanGouWuViewController: BaseViewController,UITableViewDataSource,U
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
indexPath
.
section
==
1
{
return
250
if
orderType
==
1
{
return
340
}
return
300
}
if
indexPath
.
section
==
2
{
//新增预售
if
orderType
==
1
{
...
...
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageDetailViewController.swift
View file @
4ab3e84a
...
...
@@ -86,7 +86,6 @@ class RetailManageDetailViewController: BaseViewController ,UITableViewDelegate,
let
dataM
=
data
as!
OrderDetailModel
self
.
dataMdoel
=
dataM
.
data
self
.
listView
.
reloadData
()
})
{
(
error
)
in
self
.
listView
.
isHidden
=
true
}
...
...
@@ -96,7 +95,6 @@ class RetailManageDetailViewController: BaseViewController ,UITableViewDelegate,
let
dataM
=
data
as!
OrderDetailModel
self
.
dataMdoel
=
dataM
.
data
self
.
listView
.
reloadData
()
})
{
(
error
)
in
self
.
listView
.
isHidden
=
true
}
...
...
@@ -152,12 +150,12 @@ class RetailManageDetailViewController: BaseViewController ,UITableViewDelegate,
}
else
{
cell
.
detailLbl
.
text
=
"规格:-"
}
cell
.
count
_lbl
.
text
=
"单价:"
+
(
rowModel
?
.
goods_price
)
!
cell
.
priceL
bl
.
text
=
"数量:"
+
StringByInt
(
number
:
(
rowModel
?
.
cart_number
!
)
!
)
cell
.
diL
bl
.
text
=
"佣金:¥"
+
(
rowModel
?
.
commission_val
)
!
cell
.
dan_jia
_lbl
.
text
=
"单价:"
+
(
rowModel
?
.
goods_price
)
!
cell
.
count_l
bl
.
text
=
"数量:"
+
StringByInt
(
number
:
(
rowModel
?
.
cart_number
!
)
!
)
cell
.
yong_jin_l
bl
.
text
=
"佣金:¥"
+
(
rowModel
?
.
commission_val
)
!
let
s_p
=
rowModel
?
.
goods_price
as!
NSString
let
p_count
=
Float
((
rowModel
?
.
cart_number
)
!
)
*
s_p
.
floatValue
cell
.
detailLbl2
.
text
=
"小计:"
+
String
(
format
:
"%.2f"
,
p_count
)
cell
.
xiao_ji_lbl
.
text
=
"小计:"
+
String
(
format
:
"%.2f"
,
p_count
)
cell
.
delegate
=
self
cell
.
tag
=
indexPath
.
row
...
...
@@ -256,7 +254,7 @@ class RetailManageDetailViewController: BaseViewController ,UITableViewDelegate,
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
indexPath
.
section
==
1
{
return
21
0
return
30
0
}
return
49
}
...
...
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
View file @
4ab3e84a
...
...
@@ -511,15 +511,22 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
cell
.
detailLbl
.
text
=
"规格:-"
}
if
isYuShou
{
cell
.
diLbl
.
isHidden
=
false
cell
.
priceLbl
.
isHidden
=
false
cell
.
dj_wk_top
.
constant
=
10
cell
.
dj_wk_height
.
constant
=
40
cell
.
dj_wk_view
.
isHidden
=
false
cell
.
dan_jia_lbl
.
isHidden
=
false
cell
.
xiao_ji_lbl
.
isHidden
=
false
cell
.
yu_shou_img
.
isHidden
=
false
cell
.
diLbl
.
text
=
"定金:¥"
+
(
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_amount
)
!
cell
.
priceLbl
.
text
=
"尾款:¥"
+
(
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_amount
)
!
cell
.
ding_jin_lbl
.
text
=
"定金:¥"
+
(
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_amount
)
!
cell
.
wei_kuan_lbl
.
text
=
"尾款:¥"
+
(
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_amount
)
!
}
else
{
cell
.
dj_wk_top
.
constant
=
0
cell
.
dj_wk_height
.
constant
=
0
cell
.
dj_wk_view
.
isHidden
=
true
}
cell
.
count_lbl
.
text
=
"数量:"
+
StringByInt
(
number
:
(
rowModel
?
.
cart_number
!
)
!
)
cell
.
detailLbl2
.
text
=
"小计:¥"
+
(
self
.
dataMdoel
?
.
order_res
?
.
goods_amount
)
!
cell
.
xiao_ji_lbl
.
text
=
"小计:¥"
+
(
self
.
dataMdoel
?
.
order_res
?
.
goods_amount
)
!
return
cell
case
2
:
...
...
@@ -1216,7 +1223,10 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
switch
indexPath
.
section
{
case
1
:
//商品展示heightrow
return
250
if
isYuShou
{
return
340
}
return
300
case
4
:
//发票信息heightrow
if
segmentIndex
==
0
{
return
180
...
...
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