|
@@ -156,15 +156,15 @@ export default {
|
|
|
{ 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 || '--' }, ellipsis: true },
|
|
|
- { title: '原厂编码', dataIndex: 'productEntity.origCode', width: 220, align: 'center', customRender: function (text) { return text == '' ? text : '--' } },
|
|
|
- { title: '成本价', dataIndex: 'showCost', width: 120, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|
|
|
- { title: '销售价', dataIndex: 'price', width: 120, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|
|
|
+ { title: '原厂编码', dataIndex: 'productEntity.origCode', width: 220, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '成本价', dataIndex: 'showCost', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? ('¥' + text) : '--') } },
|
|
|
+ { title: '销售价', dataIndex: 'price', width: 120, 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: 'stockQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
- { title: '销售数量', dataIndex: 'qty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
- { title: '已取消', dataIndex: 'cancelQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
- { title: '已下推', dataIndex: 'pushedQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
- { title: '剩余待下推', dataIndex: 'surplusQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
+ { title: '可用库存', dataIndex: 'stockQty', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
+ { title: '销售数量', dataIndex: 'qty', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
+ { title: '已取消', dataIndex: 'cancelQty', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
+ { title: '已下推', dataIndex: 'pushedQty', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
+ { title: '剩余待下推', dataIndex: 'surplusQty', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '取消数量', dataIndex: 'cancelNums', scopedSlots: { customRender: 'nums' }, width: 150, align: 'center' },
|
|
|
{ title: '操作', dataIndex: 'action', scopedSlots: { customRender: 'action' }, width: 150, align: 'center', fixed: 'right' }
|
|
|
],
|