|
@@ -99,6 +99,7 @@
|
|
|
style="width: 150px;"
|
|
|
type="primary"
|
|
|
class="button-primary"
|
|
|
+ v-if="dataSource.length>0"
|
|
|
@click="handleSubmit()"
|
|
|
:loading="loading"
|
|
|
id="productInfoList-handleSubmit">下推</a-button>
|
|
@@ -137,7 +138,7 @@ export default {
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
{ title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: 220, align: 'center' },
|
|
|
- { title: '产品名称', dataIndex: 'productEntity.name', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '产品名称', dataIndex: 'productEntity.name', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '剩余待下推', dataIndex: 'surplusQty', width: 150, align: 'center' },
|
|
|
{ title: '本次下推数', scopedSlots: { customRender: 'salesNums' }, width: 150, align: 'center' },
|
|
|
{ title: '单位', dataIndex: 'productEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|