Commit 68893bca by cwq0219

产品管理-加字段

1 parent 9f3117ff
......@@ -211,7 +211,7 @@ export default {
label: '园区店名称',
prop: 'yqMerchantName',
formatter: (cellValue) => {
return cellValue.hasOwnProperty('merchantRefList') ? cellValue.merchantRefList[0].merchantInfo.yqMerchantName : ''
return cellValue.hasOwnProperty('yqMerchantNames') ? cellValue.yqMerchantNames : ''
},
width: '200px'
}, {
......@@ -301,8 +301,8 @@ export default {
})
},
handleExport() {
const tHeader = ['序号', '商品ID', '商品名称', '分类', '品牌商', '属性', '商品状态', '创建时间', '绑定商品数(件)', '分配门店数(家)']
const fieldVal = ['index', 'goodsCode', 'goodsName', 'goodsTypeName', 'brandMerchantName', 'attribute', 'status', 'createdDate', 'upgradeGoodsNum', 'merchantNum']
const tHeader = ['序号', '商品ID', '商品名称', '分类', '品牌商', '属性', '商品状态', '创建时间', '绑定商品数(件)', '园区店名称', '分配门店数(家)']
const fieldVal = ['index', 'goodsCode', 'goodsName', 'goodsTypeName', 'brandMerchantName', 'attribute', 'status', 'createdDate', 'upgradeGoodsNum', 'yqMerchantNames', 'merchantNum']
exportBaseList(this.searchForm).then(res => {
require.ensure([], () => {
const data = this.formatJson(fieldVal, res)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!