|
@@ -155,13 +155,13 @@ export default {
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
{ title: '采购单号', dataIndex: 'purchaseBillNo', width: 200, align: 'center' },
|
|
|
- { title: '产品编码', dataIndex: 'productEntity.code', width: 200, align: 'center' },
|
|
|
- { title: '产品名称', dataIndex: 'productEntity.name', width: 200, align: 'center', ellipsis: true },
|
|
|
+ { title: '产品编码', dataIndex: 'dealerProductEntity.code', width: 200, align: 'center' },
|
|
|
+ { title: '产品名称', dataIndex: 'dealerProductEntity.name', width: 200, align: 'center', ellipsis: true },
|
|
|
{ title: '采购总数', dataIndex: 'qty', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '可退数量', dataIndex: 'qtyLeft', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '退货数量', scopedSlots: { customRender: 'returnQty' }, width: 100, align: 'center' },
|
|
|
{ title: '采购价', dataIndex: 'price', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
- { title: '单位', dataIndex: 'productEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '单位', dataIndex: 'dealerProductEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 100, align: 'center', fixed: 'right' }
|
|
|
],
|
|
|
loadData: [],
|