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
e5197912
Commit
e5197912
authored
May 05, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增商铺bug修改
parent
0c8ec517
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
edit.js
public/resource/js/edit.js
+5
-3
No files found.
public/resource/js/edit.js
View file @
e5197912
...
...
@@ -9,15 +9,15 @@ define(['ckfinder', 'ckfinderStart', 'bootstrapJs'], function() {
var
_objThis
=
this
,
//user对象
_id
=
getUrlParam
(
'id'
),
//地址栏获取的商铺或者街铺id
_source
=
getUrlParam
(
'source'
),
_sublet_id
=
getUrlParam
(
'sublet_id'
)
;
_doc
=
$
(
document
),
_sublet_id
=
getUrlParam
(
'sublet_id'
)
,
_doc
=
$
(
document
),
_urlCut
=
location
.
origin
+
'/resource/lib/Attachments/images/'
,
//要截取的部分url
_loadMainItem
=
$
(
'#main_loading_pic'
),
//整个页面的加载图标
_shangpuTypeObj
=
$
(
'#shangpuType'
),
//商铺类型
_showCdObj
=
$
(
'#showCd'
),
//显示给C端用户看
_exclusiveTypeObj
=
$
(
'#exclusiveType'
),
//是否独家
_yetaiObj
=
$
(
'.yetai'
),
//业态
_roomTagObj
=
$
(
'.roomTag'
),
//商铺标签
_roomTagObj
,
//商铺标签,初始化
//_landlordPhoneObj = $('#landlordPhone'),//房东手机号
_landlordPhoneObj
=
$
(
'.li_landlord_phone input'
),
//房东手机号
_internalNameObj
=
$
(
'#internalName'
),
//对内商铺名称
...
...
@@ -143,6 +143,7 @@ define(['ckfinder', 'ckfinderStart', 'bootstrapJs'], function() {
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
var
_data
=
data
[
'data'
];
_roomTagObj
=
$
(
'.roomTag'
);
//商铺标签,重新获取一次
if
(
data
.
code
==
200
)
{
_objThis
.
upload_id
=
_data
[
'upload_id'
];
if
(
_data
[
'shop_type'
]
!==
undefined
)
{
...
...
@@ -246,6 +247,7 @@ define(['ckfinder', 'ckfinderStart', 'bootstrapJs'], function() {
_landlordPhoneObj
.
val
(
_data
[
'landlord_phone'
]);
//房东手机号
_internalNameObj
.
val
(
_data
[
'internal_title'
]);
//对内商铺名称
_zujinTypeObj
.
val
(
_data
[
'rent_type'
]);
//租金模式
_zujinTypeObj
.
change
();
//触发change事件
_moonPriceObj
.
val
(
_data
[
'rent_price'
]);
//月租均价
_wuyePriceObj
.
val
(
_data
[
'management_fee'
]);
//物业管理费
_jinchangPriceObj
.
val
(
_data
[
'slotting_fee'
]);
//进场费(转让费)
...
...
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