diff --git a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue index 1f70a6ce..6dac6056 100644 --- a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue +++ b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue @@ -72,7 +72,7 @@ :value="[{url: row.goods.picUrl}]" :limit="1"> -
{{ row.goods.title }}
+ @@ -142,7 +142,7 @@ class="search-input" size="small" v-throttle="() => {search.current = 1, getList()}" - placeholder="请输入商品名称" + placeholder="请输入商品名称/商品类型说明" clearable @clear="search.current = 1, search.title = '', getList()" suffix-icon="iconfont iconSearch"> @@ -221,6 +221,7 @@ chooseColConfigs: [ { slot: 'goods' }, { prop: 'goods', label: '商品类型', align: 'center', format: v => this.dict.getLabel('integralSGType', v.type) }, + { prop: 'typeExplain', label: '商品类型说明'}, { slot: 'integralPrice' }, { slot: 'payMoney' }, { prop: 'goods', label: '商品链接', align: 'center', format: v => v.jdUrl }, @@ -232,6 +233,7 @@ { prop: 'serialNumber', label: '商品ID', align: 'center' }, { slot: 'goods', align: 'center' }, { prop: 'type', label: '商品类型', align: 'center', format: v => this.dict.getLabel('integralSGType', v) }, + { prop: 'typeExplain', label: '商品类型说明'}, { prop: 'onlineTime', label: '上架时间', align: 'center' }, { prop: 'status', width: 90, label: '状态', align: 'center', format: v => this.dict.getLabel('integralSGStatus', v) } ], @@ -335,6 +337,9 @@ getInfo (id) { this.instance.post(`/app/appintegralsupermarketshop/queryDetailById?id=${id}`).then(res => { if (res.code === 0) { + res.data.goodsList.map((item) => { + item.typeExplain = item.goods.typeExplain + }) this.form = { ...res.data, visibleNames: '1', diff --git a/project/fengdu/app/AppIntegratingSupermarket/components/GoodsList.vue b/project/fengdu/app/AppIntegratingSupermarket/components/GoodsList.vue index f31874da..e1c36a52 100644 --- a/project/fengdu/app/AppIntegratingSupermarket/components/GoodsList.vue +++ b/project/fengdu/app/AppIntegratingSupermarket/components/GoodsList.vue @@ -16,6 +16,22 @@ placeholder="请选择类型" :selectList="dict.getDict('integralSGStatus')"> +