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
4ca139a3
Commit
4ca139a3
authored
Sep 28, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增商铺修改
parent
6eb39595
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
16 deletions
+23
-16
edit.html
application/index/view/houses/edit.html
+6
-6
shop_edit.js
public/resource/js/shop_edit.js
+17
-10
No files found.
application/index/view/houses/edit.html
View file @
4ca139a3
...
...
@@ -307,9 +307,9 @@
<div
class=
"form-group"
>
<label
for=
""
>
签约年限
</label>
<div
class=
"input-group"
>
<input
type=
"number"
class=
"form-control input-100-width"
id=
"qianyueNianxian"
placeholder=
"请填写"
data-alert=
"请填写签约年限!"
>
<input
type=
"number"
class=
"form-control input-100-width"
id=
"qianyueNianxian"
placeholder=
"请填写"
data-alert=
"请填写签约年限
上限
!"
>
<div
class=
"input-group-addon shangchang-show-part"
>
至
</div>
<input
type=
"number"
class=
"form-control input-100-width"
id=
"qianyueNianxian2"
placeholder=
"请输入"
data-alert=
"请填写签约年限!"
>
<input
type=
"number"
class=
"form-control input-100-width"
id=
"qianyueNianxian2"
placeholder=
"请输入"
data-alert=
"请填写签约年限
下限
!"
>
<div
class=
"input-group-addon"
>
年
</div>
</div>
</div>
...
...
@@ -478,19 +478,19 @@
</div>-->
<div
class=
"form-group full-width-100"
>
<label
for=
""
>
周边配套
</label>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"zhoubianpeitao"
data-alert=
"请输入该商铺周边配套
、所处地段和该商铺的优势!
"
placeholder=
"商铺周边配套(附近有什么)"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"zhoubianpeitao"
data-alert=
"请输入该商铺周边配套"
placeholder=
"商铺周边配套(附近有什么)"
></textarea>
</div>
<div
class=
"form-group full-width-100"
>
<label
for=
""
>
所处地段
</label>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"suo
chudiduan"
data-alert=
"请输入该商铺周边配套、所处地段和该商铺的优势!
"
placeholder=
"商铺所处地段怎么样"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"suo
shudiduan"
data-alert=
"请输入该商铺所处地段
"
placeholder=
"商铺所处地段怎么样"
></textarea>
</div>
<div
class=
"form-group full-width-100"
>
<label
for=
""
>
附近人流
</label>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"fujinrenliu"
data-alert=
"请输入该商铺
周边配套、所处地段和该商铺的优势!
"
placeholder=
"商铺附近的人流怎么样"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"fujinrenliu"
data-alert=
"请输入该商铺
附近人流
"
placeholder=
"商铺附近的人流怎么样"
></textarea>
</div>
<div
class=
"form-group full-width-100"
>
<label
for=
""
>
其他补充
</label>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"qitabuchong"
data-alert=
"请输入该商铺周边配套、所处地段和该商铺的优势!"
placeholder=
"其他补充"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"qitabuchong"
placeholder=
"其他补充"
></textarea>
</div>
</li>
<!--<li class="list-group-item">-->
...
...
public/resource/js/shop_edit.js
View file @
4ca139a3
...
...
@@ -64,9 +64,8 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_guizeYaObj
=
$
(
'#guizeYa'
),
//签约规则,押
_qianyueNianxianObj
=
$
(
'#qianyueNianxian'
),
//签约年限
_qianyueNianxian2Obj
=
$
(
'#qianyueNianxian2'
),
//签约年限下限
_internalYoushiObj
=
$
(
'#internalYoushi'
),
//对内项目优势
_foreignYoushiObj
=
$
(
'#zhoubianpeitao'
),
//周边配套,以前的对外项目优势
_suo
chudiduanObj
=
$
(
'#suoc
hudiduan'
),
//所处地段
_suo
shudiduanObj
=
$
(
'#suos
hudiduan'
),
//所处地段
_fujinrenliuObj
=
$
(
'#fujinrenliu'
),
//附近人流
_qitabuchongObj
=
$
(
'#qitabuchong'
),
//其他补充
_qianyueRuleObj
=
$
(
'#qianyueRule'
),
//签约规则
...
...
@@ -169,7 +168,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
var
_data
=
data
[
'data'
];
_roomTagObj
=
$
(
'.roomTag'
);
//商铺标签,重新获取一次
if
(
data
.
code
==
200
)
{
_foreignYoushiObj
.
val
(
_data
[
'external_item_advantage'
]);
//对外项目优势
_foreignYoushiObj
.
val
(
_data
[
'rim_mating'
]);
//对外项目优势
_suoshudiduanObj
.
val
(
_data
[
'section'
]);
//所属地段
_fujinrenliuObj
.
val
(
_data
[
'section'
]);
//附近人流
_qitabuchongObj
.
val
(
_data
[
'section'
]);
//其他补充
_objThis
.
upload_id
=
_data
[
'upload_id'
];
if
(
_data
[
'shop_type'
]
!==
undefined
)
{
//.change()之后,自动执行相关显示隐藏操作
...
...
@@ -333,14 +335,14 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_yongjinRuleObj
.
val
(
_data
[
'fee_rule'
]);
//佣金规则
_guizeFuObj
.
val
(
_data
[
'payment_month'
]);
//签约规则,付
_guizeYaObj
.
val
(
_data
[
'deposit_month'
]);
//签约规则,押
_qianyueNianxianObj
.
val
(
_data
[
'age_limit'
]);
//签约年限上限
_qianyueNianxian2Obj
.
val
(
_data
[
'age_limit
2'
]);
//签约年限下限
_qianyueNianxianObj
.
val
(
_data
[
'age_limit'
]
.
split
(
'-'
)[
0
]
);
//签约年限上限
_qianyueNianxian2Obj
.
val
(
_data
[
'age_limit
'
].
split
(
'-'
)[
1
]);
//签约年限下限
_weilouLinkObj
.
val
(
_data
[
'tiny_brochure_url'
]);
//微楼书
_miankuanObj
.
val
(
_data
[
'area_width'
]);
//面宽
_jinshenObj
.
val
(
_data
[
'depth'
]);
//进深
_dianliangObj
.
val
(
_data
[
'electric_quantity'
]);
//电量
_dianyaObj
.
val
(
_data
[
'voltage'
]
);
//电压
_dianyaObj
.
val
(
(
_data
[
'voltage'
]
==
220
||
_data
[
'voltage'
]
==
380
)?
_data
[
'voltage'
]:
''
);
//电压
_yanguandaoObj
.
val
(
_data
[
'exhaust_fume'
]);
//是否有烟管道
_shangshuiObj
.
val
(
_data
[
'running_water'
]);
//是否有上水
_xiashuiObj
.
val
(
_data
[
'downriver'
]);
//是否有下水
...
...
@@ -976,7 +978,9 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_hasMovedObj
,
//已入住
_yingyeTimeObj
,
//营业时间
_yongjinRuleObj
,
//佣金规则
_foreignYoushiObj
,
//对外项目优势
_foreignYoushiObj
,
//周边配套,对外项目优势
_suoshudiduanObj
,
//所属地段
_fujinrenliuObj
,
//附近人流
_guizeFuObj
,
_guizeYaObj
,
_qianyueNianxianObj
,
...
...
@@ -1139,8 +1143,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
'fee_rule'
:
$
.
trim
(
_yongjinRuleObj
.
val
()),
'payment_month'
:
_guizeFuObj
.
val
(),
'deposit_month'
:
_guizeYaObj
.
val
(),
'age_limit'
:
_qianyueNianxianObj
.
val
(),
'age_limit2'
:
_qianyueNianxian2Obj
.
val
(),
'age_limit'
:
_qianyueNianxianObj
.
val
()
+
'-'
+
_qianyueNianxian2Obj
.
val
(),
'sign_rule'
:
$
.
trim
(
_qianyueRuleObj
.
val
()),
'tiny_brochure_url'
:
$
.
trim
(
_weilouLinkObj
.
val
()),
'auditorium'
:
_dajiangtangVal
,
...
...
@@ -1166,7 +1169,11 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
if
(
_shangpuTypeObj
.
val
()
==
'0'
)
{
_data
[
'shop_area_end'
]
=
_roomArea2Obj
.
val
();
};
_data
[
'external_item_advantage'
]
=
$
.
trim
(
_foreignYoushiObj
.
val
());
//_data['external_item_advantage'] = $.trim(_foreignYoushiObj.val());
_data
[
'rim_mating'
]
=
$
.
trim
(
_foreignYoushiObj
.
val
());
_data
[
'section'
]
=
$
.
trim
(
_suoshudiduanObj
.
val
());
_data
[
'crowd'
]
=
$
.
trim
(
_fujinrenliuObj
.
val
());
_data
[
'other'
]
=
$
.
trim
(
_qitabuchongObj
.
val
());
if
(
_shangpuTypeObj
.
val
()
==
'1'
){
if
(
_foreignZhuanrangFaceObj
.
is
(
':checked'
)){
_data
[
'external_slotting_fee'
]
=
-
1
;
...
...
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