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
2b2a1f7a
Commit
2b2a1f7a
authored
Sep 05, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改来源验证
parent
e2f9e4ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
edit.html
application/index/view/houses/edit.html
+1
-1
shop_edit.js
public/resource/js/shop_edit.js
+6
-0
No files found.
application/index/view/houses/edit.html
View file @
2b2a1f7a
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"exclusiveType"
>
来源
</label>
<label
for=
"exclusiveType"
>
来源
</label>
<select
class=
"form-control"
name=
"exclusiveType"
id=
"laiyuan"
data-alert=
"请选择是否独家"
>
<select
class=
"form-control"
name=
"exclusiveType"
id=
"laiyuan"
data-alert=
"请选择是否独家"
>
<option
value=
""
>
请选择
</option>
<option
value=
"
-1
"
>
请选择
</option>
<option
value=
"0"
>
无
</option>
<option
value=
"0"
>
无
</option>
<option
value=
"1"
>
网络
</option>
<option
value=
"1"
>
网络
</option>
<option
value=
"2"
>
客户介绍
</option>
<option
value=
"2"
>
客户介绍
</option>
...
...
public/resource/js/shop_edit.js
View file @
2b2a1f7a
...
@@ -1022,6 +1022,12 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1022,6 +1022,12 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
if
(
_isBreakFlag
)
{
if
(
_isBreakFlag
)
{
return
false
;
return
false
;
};
};
//验证来源是否选择
if
(
$
(
'#laiyuan'
).
val
()
==
-
1
){
alert
(
"请选择来源"
);
return
false
;
}
//验证盘方是否填写
//验证盘方是否填写
var
_pfPhoneArr
=
[];
var
_pfPhoneArr
=
[];
...
...
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