Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
ShenghuoquanBusiness
Commits
93017089
Commit
93017089
authored
Sep 07, 2021
by
shiyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 生活圈C端项目SHQCLIENT-1529 && 生活圈C端项目SHQCLIENT-1531
parent
a22a1957
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ConfirmOrderViewModel.kt
...henghuoquan/buserorder/viewmodel/ConfirmOrderViewModel.kt
+5
-1
No files found.
Components/BUserOrder/src/main/java/com/yidian/shenghuoquan/buserorder/viewmodel/ConfirmOrderViewModel.kt
View file @
93017089
...
@@ -167,7 +167,11 @@ class ConfirmOrderViewModel : BaseViewModel() {
...
@@ -167,7 +167,11 @@ class ConfirmOrderViewModel : BaseViewModel() {
return
return
}
}
if
(
receivingName
.
value
.
isNullOrBlank
())
{
if
(
receivingName
.
value
.
isNullOrBlank
())
{
postErrorEvent
(
ErrorInfo
(
message
=
"请输入收货姓名"
))
postErrorEvent
(
ErrorInfo
(
message
=
"请输入收货人姓名"
))
return
}
if
(
receivingName
.
value
?.
length
==
1
)
{
postErrorEvent
(
ErrorInfo
(
message
=
"姓名必须为2到10个字符"
))
return
return
}
}
if
(
receivingPhone
.
value
.
isNullOrBlank
())
{
if
(
receivingPhone
.
value
.
isNullOrBlank
())
{
...
...
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