|
@@ -72,7 +72,7 @@
|
|
|
</template>
|
|
|
<!-- 产品名称 -->
|
|
|
<template slot="productName" slot-scope="text, record">
|
|
|
- <a-badge count="活动" v-if="record.oosFlag == 1">
|
|
|
+ <a-badge count="活动" v-if="record.promotableFlag == 1">
|
|
|
<div style="padding-right: 15px;">{{ text }}</div>
|
|
|
</a-badge>
|
|
|
<span v-else>{{ text }}</span>
|
|
@@ -124,9 +124,10 @@ export default {
|
|
|
exportLoading: false, // 导出loading
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
- { title: '产品名称', dataIndex: 'productName', scopedSlots: { customRender: 'productName' }, width: 200, align: 'center' },
|
|
|
+ { title: '产品编码', dataIndex: 'productCode', width: 150, align: 'center' },
|
|
|
+ { title: '产品名称', dataIndex: 'productName', scopedSlots: { customRender: 'productName' }, align: 'center' },
|
|
|
{ title: '原厂编码', dataIndex: 'productOrigCode', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '品牌', dataIndex: 'productBrandName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '品牌', dataIndex: 'productBrandName', width: 150, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '库存数量', dataIndex: 'currentStockQty', width: 100, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
{ title: '单位', dataIndex: 'productUnit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '售价', dataIndex: 'productPrice', width: 150, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|