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
xuhongyun
8 years ago
Commit
116d7f133c51f34955340880cf675c852292cbf0
1 parent
7ea3a75a
build
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletions
dist/yohobuy-portal-fe/5.0.2/jquery/goods.basegoods.Index.js
server/views/goods/basegoods/Index.html
dist/yohobuy-portal-fe/5.0.2/jquery/goods.basegoods.Index.js
View file @
116d7f1
...
...
@@ -233,7 +233,9 @@ webpackJsonp([34],{
founderName
:
common
.
util
.
__input
(
"founderName"
),
factoryCode
:
common
.
util
.
__input
(
"factoryCode"
),
skuFactoryCode
:
common
.
util
.
__input
(
"skuFactoryCode"
),
appType
:
common
.
util
.
__input
(
"appType"
)
appType
:
common
.
util
.
__input
(
"appType"
),
goodsYears
:
common
.
util
.
__input
(
"goodsYears"
),
goodsSeason
:
common
.
util
.
__input
(
"goodsSeason"
)
};
},
columns
:
[{
...
...
server/views/goods/basegoods/Index.html
View file @
116d7f1
...
...
@@ -80,6 +80,19 @@
<div
class=
"panel-col2"
>
<div
id=
"sort"
></div>
</div>
<div
id=
"goodsYearsDiv"
class=
"panel-col"
>
</div>
<div
class=
"panel-col"
>
<select
id=
"goodsSeason"
class=
"form-control"
>
<option
value=
"-1"
>
请选择货品季
</option>
<option
value=
"1"
>
春
</option>
<option
value=
"2"
>
夏
</option>
<option
value=
"3"
>
秋
</option>
<option
value=
"4"
>
冬
</option>
<option
value=
"5"
>
春夏
</option>
<option
value=
"6"
>
秋冬
</option>
</select>
</div>
<div
class=
"panel-col"
>
<a
id=
"filter-btn"
href=
"javascript:;"
class=
"btn btn-info"
>
筛选
</a>
...
...
@@ -108,6 +121,14 @@
</div>
</div>
<script>
var
htmlStr
=
'<select id="goodsYears" class="form-control"><option value="-1">请选择货品年</option>'
;
for
(
var
i
=
2005
;
i
<
(
new
Date
).
getFullYear
()
+
10
;
i
++
){
htmlStr
+=
'<option value="'
+
i
+
'">'
+
i
+
'</option>'
;
}
htmlStr
+=
'</select>'
;
document
.
getElementById
(
'goodsYearsDiv'
).
innerHTML
=
htmlStr
;
</script>
<script
type=
"text/template"
id=
"template"
>
<
div
class
=
"rows"
style
=
"height: 100px;"
>
...
...
Please
register
or
login
to post a comment