Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
yunxin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
be6417e6
authored
Nov 03, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
01e762b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
public/pc/js/controller/GoodsComList.js
public/pc/js/controller/GoodsList.js
public/pc/js/controller/GoodsComList.js
View file @
be6417e6
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
})
})
,
cols
:
[[
,
cols
:
[[
{
field
:
'goods_id'
,
title
:
'商品ID'
,
width
:
190
,
align
:
'center'
,
templet
:
function
(
d
){
{
field
:
'goods_id'
,
title
:
'商品ID'
,
width
:
190
,
align
:
'center'
,
templet
:
function
(
d
){
return
"<a href='https://www.ichunt.com/goods_"
+
d
.
goods_id
+
".html' style='cursor: pointer;
text-decoration: none
'>"
+
d
.
goods_id
+
"</a>"
return
"<a href='https://www.ichunt.com/goods_"
+
d
.
goods_id
+
".html' style='cursor: pointer;
' target='_blank
'>"
+
d
.
goods_id
+
"</a>"
}},
}},
{
field
:
'goods_name'
,
title
:
'SKU型号'
,
width
:
170
,
align
:
'center'
},
{
field
:
'goods_name'
,
title
:
'SKU型号'
,
width
:
170
,
align
:
'center'
},
{
field
:
'goods_type_name'
,
title
:
'商品类别'
,
align
:
'center'
},
{
field
:
'goods_type_name'
,
title
:
'商品类别'
,
align
:
'center'
},
...
...
public/pc/js/controller/GoodsList.js
View file @
be6417e6
...
@@ -46,8 +46,8 @@
...
@@ -46,8 +46,8 @@
,
first
:
true
//不显示首页
,
first
:
true
//不显示首页
,
last
:
false
//不显示尾页
,
last
:
false
//不显示尾页
,
cols
:
[[
,
cols
:
[[
{
field
:
'goods_id'
,
title
:
'商品ID'
,
width
:
1
90
,
align
:
'center'
,
templet
:
function
(
d
){
{
field
:
'goods_id'
,
title
:
'商品ID'
,
width
:
90
,
align
:
'center'
,
templet
:
function
(
d
){
return
"<a href='https://www.ichunt.com/item/"
+
d
.
goods_id
+
".html' style='cursor: pointer;
text-decoration: none
'>"
+
d
.
goods_id
+
"</a>"
return
"<a href='https://www.ichunt.com/item/"
+
d
.
goods_id
+
".html' style='cursor: pointer;
' target='_blank
'>"
+
d
.
goods_id
+
"</a>"
}},
}},
{
field
:
'encoded'
,
title
:
'商品编码'
,
align
:
'center'
}
{
field
:
'encoded'
,
title
:
'商品编码'
,
align
:
'center'
}
,{
field
:
'goods_type_name'
,
title
:
'类型'
,
align
:
'center'
}
,{
field
:
'goods_type_name'
,
title
:
'类型'
,
align
:
'center'
}
...
...
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