Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-shop-manage
·
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
李奇
8 years ago
Commit
78c35ed9498e8696c246094fc85b12efaca1b458
1 parent
c78e56d2
fixed:下架按钮颜色等
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
app/pages/product/offsale/offsale.vue
app/pages/product/offsale/store/index.js
app/pages/product/onsale/onsale.vue
app/pages/product/onsale/store/index.js
app/pages/product/offsale/offsale.vue
View file @
78c35ed
...
...
@@ -52,7 +52,7 @@
</LayoutFilter>
<LayoutAction>
<Button type="
error
" @click="batchSetOnSale">上架</Button>
<Button type="
success
" @click="batchSetOnSale">上架</Button>
</LayoutAction>
<LayoutList>
...
...
@@ -173,6 +173,7 @@
_.each(data.list, (item) => {
item.changePrice = false;
item._disabled = item.auditStatus === 1;
item.offshelveTime = item.offshelveTime || '-';
});
this.tableData = data.list;
...
...
app/pages/product/offsale/store/index.js
View file @
78c35ed
...
...
@@ -149,7 +149,7 @@ export default () => {
key
:
'image'
,
width
:
120
,
align
:
'center'
,
render
(
row
,
column
,
index
)
{
render
(
row
)
{
// eslint-disable-line
return
'<cell-image :image-src="row.picImgUrl" :product-url="row.productUrl"></cell-image>'
;
}
},
...
...
@@ -157,7 +157,7 @@ export default () => {
title
:
'商品信息'
,
key
:
'info'
,
align
:
'center'
,
render
(
row
,
column
,
index
)
{
render
(
row
)
{
// eslint-disable-line
return
`
<
cell
-
info
:
skn
=
"row.productSkn"
:
product
-
name
=
"row.productName"
...
...
@@ -215,7 +215,7 @@ export default () => {
key
:
'action'
,
width
:
180
,
align
:
'center'
,
render
:
function
(
row
,
column
,
index
)
{
render
:
function
(
row
)
{
// eslint-disable-line
return
`
<
div
class
=
"action-btn-row"
>
<
i
-
button
type
=
"primary"
size
=
"small"
@
click
=
"editSize(row.productSkn)"
>
尺码维护
<
/i-button
>
<
i
-
button
type
=
"primary"
size
=
"small"
@
click
=
"editProduct(${row.productSkn})"
>
内容编辑
<
/i-button
>
...
...
app/pages/product/onsale/onsale.vue
View file @
78c35ed
...
...
@@ -167,6 +167,7 @@
_.each(data.list, (item) => {
item.changePrice = false;
item._disabled = item.auditStatus === 1;
item.shelveTime = item.shelveTime || '-';
});
this.tableData = data.list;
...
...
app/pages/product/onsale/store/index.js
View file @
78c35ed
...
...
@@ -24,7 +24,7 @@ export default () => {
key
:
'image'
,
width
:
120
,
align
:
'center'
,
render
(
row
,
column
,
index
)
{
render
(
row
)
{
// eslint-disable-line
return
'<cell-image :image-src="row.picImgUrl" :product-url="row.productUrl"></cell-image>'
;
}
},
...
...
@@ -32,7 +32,7 @@ export default () => {
title
:
'商品信息'
,
key
:
'info'
,
align
:
'center'
,
render
(
row
)
{
render
(
row
)
{
// eslint-disable-line
return
`
<
cell
-
info
:
skn
=
"row.productSkn"
:
product
-
name
=
"row.productName"
...
...
Please
register
or
login
to post a comment