Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
王洪广
9 years ago
Commit
5a25d6f5f1dd7a135b3e6a9da470d2e65bef5434
1 parent
b999abb0
fix order problem
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
web-static/js/home/order-block.js
web-static/js/home/order-block.js
View file @
5a25d6f
...
...
@@ -276,16 +276,19 @@ function newAddress(id) {
}
});
$name
.
on
(
'blur'
,
function
()
{
validate
.
name
(
$
name
.
val
(
));
validate
.
name
(
$
.
trim
(
$name
.
val
()
));
});
$address
.
on
(
'blur'
,
function
()
{
validate
.
address
(
$
address
.
val
(
));
validate
.
address
(
$
.
trim
(
$address
.
val
()
));
});
$phone
.
on
(
'blur'
,
function
()
{
validate
.
mobile
(
$
phone
.
val
(
));
validate
.
mobile
(
$
.
trim
(
$phone
.
val
()
));
});
$tel
.
on
(
'blur'
,
function
()
{
validate
.
tel
(
$telCode
.
val
(),
$tel
.
val
());
validate
.
tel
(
$
.
trim
(
$telCode
.
val
()),
$
.
trim
(
$tel
.
val
()));
})
$county
.
on
(
'change'
,
function
()
{
validate
.
city
(
$province
.
val
(),
$city
.
val
(),
$county
.
val
());
})
}
/**
...
...
Please
register
or
login
to post a comment