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
8f6bcdd8
Commit
8f6bcdd8
authored
Jun 18, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
办公楼新增编辑 相关
parent
8295eebc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
officeEdit.html
application/index/view/office_room/officeEdit.html
+5
-0
officeEdit.js
public/resource/js/officeEdit.js
+15
-5
No files found.
application/index/view/office_room/officeEdit.html
View file @
8f6bcdd8
...
...
@@ -159,6 +159,11 @@
<li
class=
"list-group-item"
style=
"overflow: hidden;"
>
<div
class=
"col-xs-12 form-group"
>
<div
class=
"col-xs-4 p-t-10"
>
<label
>
楼号/栋/座:
</label>
<input
type=
"text"
class=
"form-control"
id=
"building_no"
placeholder=
"2字以上,例如1号楼、A栋、B座"
data-alert=
"请输入楼号/栋/座!"
style=
"width:250px"
>
</div>
<div
class=
"col-xs-4 p-t-10"
>
<label
>
租金总价:
</label>
<input
type=
"number"
class=
"form-control input-100-width"
id=
"price_total"
placeholder=
"请输入"
data-alert=
"请输入租金总价!"
>
元/月
...
...
public/resource/js/officeEdit.js
View file @
8f6bcdd8
...
...
@@ -16,9 +16,14 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
$
(
'#page-content-wrapper'
).
show
();
if
(
getUrlParam
(
'id'
)
!=
null
){
//编辑
$
(
".isShowuser"
).
show
()
$
(
".isShowuser"
).
show
();
$
(
".phone_loupan"
).
attr
(
'disabled'
,
'disabled'
);
}
else
{
$
(
".isShowuser"
).
hide
()
$
(
".isShowuser"
).
hide
();
$
(
".phone_loupan"
).
removeAttr
(
'disabled'
,
'disabled'
);
}
var
_objThis
=
this
,
//user对象
_id
=
getUrlParam
(
'id'
),
//地址栏获取的商铺或者街铺id
...
...
@@ -44,9 +49,9 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_imgUploadDujia
=
$
(
'#dujia_pic_ul'
),
//独家合同ul
_imgMaskObj
=
$
(
'#img_mask_area'
),
//预览大图的mask
_priceTotalObj
=
$
(
'#price_total'
),
//租金总价
_buildingNoObj
=
$
(
'#building_no'
),
//办公楼楼号
_priceSingleObj
=
$
(
'#price_single'
),
//租金单价
_slottingFeeObj
=
$
(
'#slotting_fee'
),
//转让费
// _rentFreeObj = $('#rent_free'), //免租时间
_foreignZhuanrangPriceObj
=
$
(
'#foreignZhuanrangPrice'
),
//对商户显示的免租时间
_foreignZhuanrangFaceObj
=
$
(
'#foreignZhuanrangFace'
),
//对商户显示的免租时间面议
_feeRuleObj
=
$
(
'#fee_rule'
),
//佣金规则
...
...
@@ -248,9 +253,9 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_qianyueNianxianObj
.
val
(
_data
[
'age_limit_start'
]);
//签约年限上限
_qianyueNianxian2Obj
.
val
(
_data
[
'age_limit_end'
]);
//签约年限下限
_priceTotalObj
.
val
(
_data
[
'price_total'
]);
//租金总价
_buildingNoObj
.
val
(
_data
[
'mansion'
]);
//楼号
_priceSingleObj
.
val
(
_data
[
'price'
]);
//租金单价
_slottingFeeObj
.
val
(
_data
[
'slotting_fee'
]);
//转让费
// _rentFreeObj.val(_data['rent_free']); //免租时间
_feeRuleObj
.
val
(
_data
[
'fee_rule'
])
;
//佣金规则
_managementFeeObj
.
val
(
_data
[
'management_fee'
]);
//物业管理费
_stationStartObj
.
val
(
_data
[
'station_start'
]);
//可容纳工位
...
...
@@ -1047,6 +1052,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_qianyueNianxian2Obj
,
_priceTotalObj
,
//租金总价
_priceSingleObj
,
//租金单价
_buildingNoObj
,
//楼号
_slottingFeeObj
,
//转让费
_feeRuleObj
,
//佣金规则
_managementFeeObj
,
//物业管理费
...
...
@@ -1120,10 +1126,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
'shop_sign'
:
_roomTagArr
.
join
(
','
),
'decoration'
:
_zuhangxiuObj
.
val
(),
'source'
:
_laiyuanObj
.
val
(),
'mansion'
:
_buildingNoObj
.
val
(),
//楼号
'price_total'
:
_priceTotalObj
.
val
(),
//租金总价
'price'
:
_priceSingleObj
.
val
(),
//租金单价
'slotting_fee'
:
_slottingFeeObj
.
val
(),
//转让费
// 'rent_free' :_rentFreeObj.val(), //免租时间
'fee_rule'
:
_feeRuleObj
.
val
(),
//佣金规则
'management_fee'
:
_managementFeeObj
.
val
(),
//物业管理费
'station_start'
:
_stationStartObj
.
val
(),
//可容纳工位
...
...
@@ -1198,6 +1204,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_data
[
'source'
]
=
_source
;
_data
[
'sublet_id'
]
=
_sublet_id
;
};
if
(
$
.
trim
(
_buildingNoObj
.
val
()).
length
<
3
){
alert
(
"办公楼楼号字数2字以上"
);
return
;
}
$
.
ajax
({
type
:
'POST'
,
url
:
user
.
urlBuilding
,
...
...
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