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
84c36db8
Commit
84c36db8
authored
May 26, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复点击修改数量bug
parent
a65824ce
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
10 deletions
+17
-10
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(购物)/XuanZeShangPinViewController.swift
...iewController/代客下单(购物)/XuanZeShangPinViewController.swift
+4
-5
GeliBusinessPlatform/ViewController/商品详情/EPViewController.swift
...sinessPlatform/ViewController/商品详情/EPViewController.swift
+7
-2
GeliBusinessPlatform/ViewController/商品详情/ProductDetailViewController.swift
...orm/ViewController/商品详情/ProductDetailViewController.swift
+6
-3
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
84c36db8
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(购物)/XuanZeShangPinViewController.swift
View file @
84c36db8
...
...
@@ -222,7 +222,6 @@ class XuanZeShangPinViewController: BaseViewController,UITableViewDelegate,UITab
cell
.
iconImg
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
model
.
goods_img
!
))
cell
.
imgUrlPath
=
SERVERCE_ImageHost
+
model
.
goods_img
!
cell
.
sku_id
=
model
.
sku_id
cell
.
countTF
.
text
=
StringByInt
(
number
:
model
.
origin_number
!
)
cell
.
priceTF
.
text
=
model
.
price
!
model
.
target_Count
=
model
.
origin_number
!
...
...
@@ -269,13 +268,13 @@ class XuanZeShangPinViewController: BaseViewController,UITableViewDelegate,UITab
func
XuanZeShangPinCellTextChange
(
index
:
IndexPath
,
sender
:
XuanZeShangPinCell
,
senderTF
:
UITextField
)
{
let
model
=
se
lectArr
[
index
.
row
]
print
(
"count === "
,
selectArr
.
count
)
let
model
=
se
nder
.
cellModel
let
valueStr
=
senderTF
.
text
as!
NSString
if
senderTF
==
sender
.
priceTF
{
model
.
target_Price
=
formatShowNumber
(
value
:
senderTF
.
text
!
)
model
!
.
target_Price
=
formatShowNumber
(
value
:
senderTF
.
text
!
)
}
else
{
model
.
target_Count
=
valueStr
.
integerValue
model
!
.
target_Count
=
valueStr
.
integerValue
}
}
...
...
GeliBusinessPlatform/ViewController/商品详情/EPViewController.swift
View file @
84c36db8
...
...
@@ -776,6 +776,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
cell
.
textTF
.
delegate
=
self
cell
.
textTF
.
isUserInteractionEnabled
=
isAllEditing
cell
.
textTF
.
returnKeyType
=
.
done
switch
cell
.
nameLbl
.
text
{
case
"关键字"
:
cell
.
textTF
.
text
=
keyWord
...
...
@@ -788,6 +789,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
break
}
cell
.
textTF
.
placeholder
=
tishixxArr1
[
indexPath
.
row
]
as!
String
cell
.
tag
=
indexPath
.
row
cell
.
delegate
=
self
return
cell
...
...
@@ -1480,8 +1482,11 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
}
}
func
YuShouWeiKuanFaHuoCellString
(
str
:
String
)
{
faHuoTime
=
str
print
(
faHuoTime
)
if
isPurnInt
(
string
:
str
)
{
faHuoTime
=
formatShowNumber
(
value
:
str
)
}
else
{
HUD
.
flash
(
.
label
(
"请输入正确的数据"
),
delay
:
1.2
)
}
}
override
func
backAction
()
{
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
...
...
GeliBusinessPlatform/ViewController/商品详情/ProductDetailViewController.swift
View file @
84c36db8
...
...
@@ -654,7 +654,7 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl
for
asset
in
assets
{
PHImageManager
.
default
()
.
requestImage
(
for
:
asset
,
targetSize
:
PHImageManagerMaximumSize
,
contentMode
:
.
default
,
options
:
option
,
resultHandler
:
{
(
image
,
_
:
[
AnyHashable
:
Any
]?)
in
// print("上传图片==\(image)")
self
.
uploadImg
(
imge
:
image
!
,
isOriginal
:
true
,
tag
:
0
)
})
...
...
@@ -1096,8 +1096,11 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl
}
}
func
YuShouWeiKuanFaHuoCellString
(
str
:
String
)
{
faHuoTime
=
str
print
(
faHuoTime
)
if
isPurnInt
(
string
:
str
)
{
faHuoTime
=
formatShowNumber
(
value
:
str
)
}
else
{
HUD
.
flash
(
.
label
(
"请输入正确的数据"
),
delay
:
1.2
)
}
}
override
func
backAction
()
{
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
...
...
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