|
@@ -87,14 +87,14 @@ export default {
|
|
isShow: this.openModal, // 是否打开弹框
|
|
isShow: this.openModal, // 是否打开弹框
|
|
nowColumns: [ // 可导入
|
|
nowColumns: [ // 可导入
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
- { title: '供应商名称', dataIndex: 'product.unit', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
|
|
+ { title: '供应商名称', dataIndex: 'supplierName', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品名称', dataIndex: 'product.name', width: '30%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '产品名称', dataIndex: 'product.name', width: '30%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '成本价', dataIndex: 'costText', width: '15%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '成本价', dataIndex: 'costText', width: '15%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
],
|
|
],
|
|
nowUnColumns: [ // 不可导入
|
|
nowUnColumns: [ // 不可导入
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
|
|
- { title: '供应商名称', dataIndex: 'product.unit', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
|
|
+ { title: '供应商名称', dataIndex: 'supplierName', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品名称', dataIndex: 'product.name', width: '25%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '产品名称', dataIndex: 'product.name', width: '25%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '成本价', dataIndex: 'costText', width: '15%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '成本价', dataIndex: 'costText', width: '15%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|