Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to group
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
梁志锋
2016-10-26 16:06:08 +0800
Commit
3c5a073c6a79eed48119326d312fd2ea1bcbb0eb
1 parent
fe5cca35
基础商品 网销优化
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
5 deletions
code/apps/goods/views/basegoods/Edit.html
code/apps/goods/views/netsale/__partail/basic_info.html
code/static/js.jquery/module/goods/basegoods/Index.js
code/static/js.jquery/module/goods/netsale/Index.js
code/apps/goods/views/basegoods/Edit.html
View file @
3c5a073
...
...
@@ -124,8 +124,8 @@
<
input
type
=
"hidden"
id
=
"appType"
name
=
"appType"
value
=
"[[appType||'0']]"
for
=
"checkbox"
/>
<
/div
>
<
/span
>
<
label
class
=
"col-sm-1 control-label"
>
厂家编号
<
span
class
=
"red"
>*<
/span></
label
>
<
div
class
=
"col-sm-1"
>
<
label
class
=
"col-sm-2 control-label"
>
厂家编号
<
span
class
=
"red"
>*<
/span></
label
>
<
div
class
=
"col-sm-2"
>
<
input
type
=
"text"
id
=
"factoryCode"
placeholder
=
"厂家编号"
value
=
"[[factoryCode]]"
class
=
"form-control"
required
/>
<
/div
>
<
/div
>
...
...
code/apps/goods/views/netsale/__partail/basic_info.html
View file @
3c5a073
...
...
@@ -98,7 +98,7 @@
<
input
id
=
"phrase"
class
=
"form-control"
placeholder
=
"商品短评"
type
=
"text"
value
=
"[[phrase]]"
>
<
/div
>
[[
else
]]
<
div
class
=
"col-sm-
9
"
>
<
div
class
=
"col-sm-
11
"
>
[[
phrase
]]
<
/div
>
[[
/if]
]
...
...
code/static/js.jquery/module/goods/basegoods/Index.js
View file @
3c5a073
...
...
@@ -312,7 +312,26 @@ var g = new common.grid({
return
html
.
join
(
''
);
}
},
{
display
:
"是否BLK"
,
render
:
function
(
item
)
{
if
(
item
.
appType
===
0
)
{
return
"<p>有货</p>"
;
}
else
if
(
item
.
appType
===
1
)
{
return
"<p>BLK</p>"
;
}
}
},
{
display
:
"是否JIT"
,
render
:
function
(
item
)
{
if
(
item
.
isJit
==
"Y"
)
{
return
"<p>是</p>"
;
}
else
if
(
item
.
isJit
==
"N"
)
{
return
"<p>否</p>"
;
}
}
},
{
display
:
"奥莱"
,
render
:
function
(
item
)
{
...
...
code/static/js.jquery/module/goods/netsale/Index.js
View file @
3c5a073
...
...
@@ -89,7 +89,7 @@ var t = new common.tab2({
columns
:
[{
name
:
"0"
,
value
:
'8,3,2'
,
display
:
"
上架前
({1})"
display
:
"
新品待上架
({1})"
},
{
name
:
"1"
,
value
:
'4,1,0,5,6,7,9,10'
,
...
...
Please
register
or
login
to post a comment