Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 68893bca
authored
Mar 01, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
产品管理-加字段
1 parent
9f3117ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/goods/commodity.vue
src/views/goods/commodity.vue
View file @
68893bc
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
label
:
'园区店名称'
,
label
:
'园区店名称'
,
prop
:
'yqMerchantName'
,
prop
:
'yqMerchantName'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
hasOwnProperty
(
'
merchantRefList'
)
?
cellValue
.
merchantRefList
[
0
].
merchantInfo
.
yqMerchantName
:
''
return
cellValue
.
hasOwnProperty
(
'
yqMerchantNames'
)
?
cellValue
.
yqMerchantNames
:
''
},
},
width
:
'200px'
width
:
'200px'
},
{
},
{
...
@@ -301,8 +301,8 @@ export default {
...
@@ -301,8 +301,8 @@ export default {
})
})
},
},
handleExport
()
{
handleExport
()
{
const
tHeader
=
[
'序号'
,
'商品ID'
,
'商品名称'
,
'分类'
,
'品牌商'
,
'属性'
,
'商品状态'
,
'创建时间'
,
'绑定商品数(件)'
,
'分配门店数(家)'
]
const
tHeader
=
[
'序号'
,
'商品ID'
,
'商品名称'
,
'分类'
,
'品牌商'
,
'属性'
,
'商品状态'
,
'创建时间'
,
'绑定商品数(件)'
,
'
园区店名称'
,
'
分配门店数(家)'
]
const
fieldVal
=
[
'index'
,
'goodsCode'
,
'goodsName'
,
'goodsTypeName'
,
'brandMerchantName'
,
'attribute'
,
'status'
,
'createdDate'
,
'upgradeGoodsNum'
,
'merchantNum'
]
const
fieldVal
=
[
'index'
,
'goodsCode'
,
'goodsName'
,
'goodsTypeName'
,
'brandMerchantName'
,
'attribute'
,
'status'
,
'createdDate'
,
'upgradeGoodsNum'
,
'
yqMerchantNames'
,
'
merchantNum'
]
exportBaseList
(
this
.
searchForm
).
then
(
res
=>
{
exportBaseList
(
this
.
searchForm
).
then
(
res
=>
{
require
.
ensure
([],
()
=>
{
require
.
ensure
([],
()
=>
{
const
data
=
this
.
formatJson
(
fieldVal
,
res
)
const
data
=
this
.
formatJson
(
fieldVal
,
res
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment