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
307e22d2
Commit
307e22d2
authored
Sep 21, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 新增商铺
parent
f99f2c8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
shop_edit.js
public/resource/js/shop_edit.js
+3
-2
No files found.
public/resource/js/shop_edit.js
View file @
307e22d2
...
@@ -170,6 +170,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -170,6 +170,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
var
_data
=
data
[
'data'
];
var
_data
=
data
[
'data'
];
_roomTagObj
=
$
(
'.roomTag'
);
//商铺标签,重新获取一次
_roomTagObj
=
$
(
'.roomTag'
);
//商铺标签,重新获取一次
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
_foreignYoushiObj
.
val
(
_data
[
'external_item_advantage'
]);
//对外项目优势
_objThis
.
upload_id
=
_data
[
'upload_id'
];
_objThis
.
upload_id
=
_data
[
'upload_id'
];
if
(
_data
[
'shop_type'
]
!==
undefined
)
{
if
(
_data
[
'shop_type'
]
!==
undefined
)
{
//.change()之后,自动执行相关显示隐藏操作
//.change()之后,自动执行相关显示隐藏操作
...
@@ -188,7 +189,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -188,7 +189,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
//如果是显示给C端用户看(对商户公开)
//如果是显示给C端用户看(对商户公开)
_foreignNameObj
.
val
(
_data
[
'external_title'
]);
//对外商铺名称
_foreignNameObj
.
val
(
_data
[
'external_title'
]);
//对外商铺名称
_addressExternalObj
.
val
(
_data
[
'external_address'
]);
//对外详细地址
_addressExternalObj
.
val
(
_data
[
'external_address'
]);
//对外详细地址
_foreignYoushiObj
.
val
(
_data
[
'external_item_advantage'
]);
//对外项目优势
};
};
if
(
_data
[
'shop_type'
]
==
'1'
&&
_data
[
'is_show'
]
==
'0'
){
if
(
_data
[
'shop_type'
]
==
'1'
&&
_data
[
'is_show'
]
==
'0'
){
//如果是街铺,且对商户公开
//如果是街铺,且对商户公开
...
@@ -1159,7 +1160,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1159,7 +1160,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
if
((
item
===
_foreignNameObj
||
item
===
_addressExternalObj
||
item
===
_foreignYoushiObj
)
&&
(
_showCdObj
.
val
()
==
'1'
))
{
if
((
item
===
_foreignNameObj
||
item
===
_addressExternalObj
||
item
===
_foreignYoushiObj
)
&&
(
_showCdObj
.
val
()
==
'1'
))
{
console
.
log
(
'不显示给商户C端看的时候,对外名称,对外地址,对外项目优势 不需要填写'
);
console
.
log
(
'不显示给商户C端看的时候,对外名称,对外地址,对外项目优势 不需要填写'
);
}
else
if
(
item
===
_foreignZhuanrangPriceObj
){
}
else
if
(
item
===
_foreignZhuanrangPriceObj
){
if
((
_sh
owCdObj
.
val
()
==
'0'
)
&&
(
_sh
angpuTypeObj
.
val
()
==
'1'
)){
if
((
_shangpuTypeObj
.
val
()
==
'1'
)){
if
(
_foreignZhuanrangFaceObj
.
is
(
':checked'
)){
if
(
_foreignZhuanrangFaceObj
.
is
(
':checked'
)){
}
else
{
}
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