Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
8887f1c1
Commit
8887f1c1
authored
Nov 29, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
3c728d1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
shop_edit.js
public/resource/js/shop_edit.js
+10
-0
No files found.
public/resource/js/shop_edit.js
View file @
8887f1c1
...
@@ -702,6 +702,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -702,6 +702,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
var
_ajaxObjSearchRepeatShop
=
null
;
//所调用的ajax对象
var
_ajaxObjSearchRepeatShop
=
null
;
//所调用的ajax对象
function
searchRepeatShop
()
{
function
searchRepeatShop
()
{
var
_valAddress
=
$
.
trim
(
_addressInternalObj
.
val
());
//输入的地址
var
_valAddress
=
$
.
trim
(
_addressInternalObj
.
val
());
//输入的地址
if
(
_valAddress
.
length
<
4
){
_repeatShopList
.
parent
().
hide
();
return
false
;
};
var
_valCity
=
$
.
trim
(
_cityInternalObj
.
val
());
//市
var
_valCity
=
$
.
trim
(
_cityInternalObj
.
val
());
//市
if
(
!
_valCity
){
if
(
!
_valCity
){
alert
(
'需要先地址定位'
);
alert
(
'需要先地址定位'
);
...
@@ -1150,6 +1154,12 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1150,6 +1154,12 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_isBreakFlag
=
true
;
_isBreakFlag
=
true
;
return
false
;
return
false
;
};
};
if
(
item
===
_addressInternalObj
)
{
if
(
$
.
trim
(
item
.
val
()).
length
<
4
)
alert
(
'详细地址不能少于4个字'
);
_isBreakFlag
=
true
;
return
false
;
};
if
(
item
===
_moonPriceObj
){
if
(
item
===
_moonPriceObj
){
if
(
_zujinTypeObj
.
val
()
==
1
&&
$
.
trim
(
item
.
val
())
<
1000
){
if
(
_zujinTypeObj
.
val
()
==
1
&&
$
.
trim
(
item
.
val
())
<
1000
){
alert
(
'月租金模式不能小于1000'
);
alert
(
'月租金模式不能小于1000'
);
...
...
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