Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuloulou
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
dongjunjie
9 years ago
Commit
77682759caf8fc5effe1f8b9f7570d83dc0070a4
1 parent
7ea86f24
blk基础商品新增不展示,编辑才展示
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
10 deletions
code/apps/goods/views/basegoods/Edit.html
code/static/js.jquery/module/goods/basegoods/Edit.js
server/views/goods/basegoods/Edit.html
code/apps/goods/views/basegoods/Edit.html
View file @
7768275
...
...
@@ -117,11 +117,13 @@
<
div
class
=
"col-sm-5"
>
<
div
id
=
"tree"
style
=
"width: 100%"
><
/div
>
<
/div
>
<
label
class
=
"col-sm-1 control-label"
>
展示平台
<
/label
>
<
div
class
=
"col-sm-2 checkbox"
style
=
"margin-top: 3px"
>
<
label
><
input
type
=
"checkbox"
name
=
"appType"
value
=
"1"
[[
appType
==
1
?
'checked'
:
''
]]
>
BLK
<
/label
>
<
input
type
=
"hidden"
id
=
"appType"
name
=
"appType"
value
=
"[[appType||'0']]"
for
=
"checkbox"
/>
<
/div
>
<
span
class
=
"showPlatform"
style
=
"display: none"
>
<
label
class
=
"col-sm-1 control-label"
>
展示平台
<
/label
>
<
div
class
=
"col-sm-2 checkbox"
style
=
"margin-top: 3px"
>
<
label
><
input
type
=
"checkbox"
name
=
"appType"
value
=
"1"
[[
appType
==
1
?
'checked'
:
''
]]
>
BLK
<
/label
>
<
input
type
=
"hidden"
id
=
"appType"
name
=
"appType"
value
=
"[[appType||'0']]"
for
=
"checkbox"
/>
<
/div
>
<
/span
>
<
/div
>
<
div
class
=
"form-group"
>
<
label
class
=
"col-sm-2 control-label"
>
商品名称
<
span
class
=
"red"
>*<
/span></
label
>
...
...
code/static/js.jquery/module/goods/basegoods/Edit.js
View file @
7768275
...
...
@@ -101,6 +101,10 @@ var SORTDATA={
var
tabTree
=
new
common
.
tabTree
(
"#tree"
,
SORTDATA
);
tabTree
.
isfeeze
=
true
;
if
(
ACTION
==
1
){
//编辑页面显示展示平台
$
(
'.showPlatform'
).
show
();
}
if
(
ACTION
==
1
&&
canEditSort
){
tabTree
.
options
.
datas
[
0
].
disabled
=
true
;
tabTree
.
isfeeze
=
false
;
...
...
server/views/goods/basegoods/Edit.html
View file @
7768275
...
...
@@ -117,11 +117,13 @@
<
div
class
=
"col-sm-5"
>
<
div
id
=
"tree"
style
=
"width: 100%"
><
/div
>
<
/div
>
<
label
class
=
"col-sm-1 control-label"
>
展示平台
<
/label
>
<
div
class
=
"col-sm-2 checkbox"
style
=
"margin-top: 3px"
>
<
label
><
input
type
=
"checkbox"
name
=
"appType"
value
=
"1"
[[
appType
==
1
?
'checked'
:
''
]]
>
BLK
<
/label
>
<
input
type
=
"hidden"
id
=
"appType"
name
=
"appType"
value
=
"[[appType||'0']]"
for
=
"checkbox"
/>
<
/div
>
<
span
class
=
"showPlatform"
style
=
"display: none"
>
<
label
class
=
"col-sm-1 control-label"
>
展示平台
<
/label
>
<
div
class
=
"col-sm-2 checkbox"
style
=
"margin-top: 3px"
>
<
label
><
input
type
=
"checkbox"
name
=
"appType"
value
=
"1"
[[
appType
==
1
?
'checked'
:
''
]]
>
BLK
<
/label
>
<
input
type
=
"hidden"
id
=
"appType"
name
=
"appType"
value
=
"[[appType||'0']]"
for
=
"checkbox"
/>
<
/div
>
<
/span
>
<
/div
>
<
div
class
=
"form-group"
>
<
label
class
=
"col-sm-2 control-label"
>
商品名称
<
span
class
=
"red"
>*<
/span></
label
>
...
...
Please
register
or
login
to post a comment