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
b3e0089e
Commit
b3e0089e
authored
Sep 10, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺新增
parent
32a800c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
edit.html
application/index/view/houses/edit.html
+1
-0
shop_edit.js
public/resource/js/shop_edit.js
+8
-1
No files found.
application/index/view/houses/edit.html
View file @
b3e0089e
...
...
@@ -325,6 +325,7 @@
<option
value=
"1"
selected=
"selected"
>
月租金
</option>
<option
value=
"2"
>
营业额扣点
</option>
<option
value=
"3"
>
每平方米租金
</option>
<option
value=
"4"
>
年租金
</option>
</select>
</div>
<div
class=
"form-group"
>
...
...
public/resource/js/shop_edit.js
View file @
b3e0089e
...
...
@@ -1000,7 +1000,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
}
else
if
(
_this
.
val
()
==
'3'
)
{
_moonPriceObj
.
prev
().
hide
();
_moonPriceObj
.
next
().
html
(
'元/天/㎡'
);
}
else
{
}
else
if
(
_this
.
val
()
==
'4'
)
{
_moonPriceObj
.
prev
().
hide
();
_moonPriceObj
.
next
().
html
(
'元/年'
);
}
else
{
console
.
log
(
'other value租金模式'
);
};
});
...
...
@@ -1176,6 +1179,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
alert
(
'每天每平米租金不能超过300'
);
_isBreakFlag
=
true
;
return
false
;
}
else
if
(
_zujinTypeObj
.
val
()
==
4
&&
$
.
trim
(
item
.
val
())
<
1000
){
alert
(
'年租金模式不能小于1000'
);
_isBreakFlag
=
true
;
return
false
;
}
else
{}
};
}
...
...
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