edit
This commit is contained in:
parent
6c6e189f95
commit
929407342b
|
@ -103,7 +103,7 @@
|
||||||
<el-button :disabled="multipleSelection.length==0" size="small" @click="batchRecommend">批量设置推荐</el-button>
|
<el-button :disabled="multipleSelection.length==0" size="small" @click="batchRecommend">批量设置推荐</el-button>
|
||||||
<el-button type="primary" size="small" @click="exports">导出列表</el-button>
|
<el-button type="primary" size="small" @click="exports">导出列表</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-table v-loading="listLoading" :data="tableData.data" size="small" @selection-change="handleSelectionChange">
|
<el-table v-loading="listLoading" :data="tableData.data" size="small" @selection-change="handleSelectionChange">
|
||||||
<el-table-column v-if="Number(tableFrom.type)<7" key="2" type="selection" width="55" />
|
<el-table-column v-if="Number(tableFrom.type)<7" key="2" type="selection" width="55" />
|
||||||
<el-table-column type="expand">
|
<el-table-column type="expand">
|
||||||
<template slot-scope="props">
|
<template slot-scope="props">
|
||||||
|
@ -135,8 +135,8 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="product_id" label="ID" min-width="80" />
|
<el-table-column prop="product_id" label="ID" min-width="60" />
|
||||||
<el-table-column prop="tag_name" label="标记" min-width="80" />
|
<el-table-column prop="tag_name" label="标记" min-width="60" />
|
||||||
<el-table-column prop="audit_type" label="商品类型" min-width="80">
|
<el-table-column prop="audit_type" label="商品类型" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ productTypeList[scope.row.audit_type].label }}
|
{{ productTypeList[scope.row.audit_type].label }}
|
||||||
|
@ -149,7 +149,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="store_name" label="商品名称" min-width="100">
|
<el-table-column prop="store_name" label="商品名称" min-width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div><span class="tags_name" :class="'name'+scope.row.spec_type">{{ scope.row.spec_type==0 ? '[单规格]' : '[多规格]' }}</span>{{ scope.row.store_name || '-' }}</div>
|
<div><span class="tags_name" :class="'name'+scope.row.spec_type">{{ scope.row.spec_type==0 ? '[单规格]' : '[多规格]' }}</span>{{ scope.row.store_name || '-' }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -160,12 +160,12 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="remark" label="商家备注" min-width="100" />
|
<el-table-column prop="remark" label="商家备注" min-width="100" />
|
||||||
<el-table-column label="是否惠美乡村店铺" min-width="100">
|
<el-table-column label="是否惠美乡村店铺" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.merchant.is_huimei ? '是' : '否' }}</span>
|
<span>{{ scope.row.merchant.is_huimei ? '是' : '否' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="是否惠美乡村产品" min-width="100">
|
<el-table-column label="是否惠美乡村产品" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.is_huimei ? '是' : '否' }}</span>
|
<span>{{ scope.row.is_huimei ? '是' : '否' }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
<el-table-column prop="price" label="商品售价" min-width="80" />
|
<el-table-column prop="price" label="商品售价" min-width="80" />
|
||||||
<el-table-column prop="sales" label="销量" min-width="70" />
|
<el-table-column prop="sales" label="销量" min-width="70" />
|
||||||
<el-table-column prop="stock" label="库存" min-width="70" />
|
<el-table-column prop="stock" label="库存" min-width="70" />
|
||||||
<el-table-column prop="is_audited" label="待审核类型" min-width="80">
|
<el-table-column prop="is_audited" label="待审核类型" min-width="90">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ auditedList[scope.row.is_audited] }}
|
{{ auditedList[scope.row.is_audited] }}
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -691,6 +691,7 @@ export default {
|
||||||
},
|
},
|
||||||
11: {
|
11: {
|
||||||
'api': productStatusApi,
|
'api': productStatusApi,
|
||||||
|
'status':1,
|
||||||
'backStatus':10
|
'backStatus':10
|
||||||
},
|
},
|
||||||
'15': {
|
'15': {
|
||||||
|
|
Loading…
Reference in New Issue