|
@@ -180,7 +180,7 @@
|
|
</template>
|
|
</template>
|
|
<!-- 退货金额合计 amount-->
|
|
<!-- 退货金额合计 amount-->
|
|
<template slot="amount" slot-scope="text, record">
|
|
<template slot="amount" slot-scope="text, record">
|
|
- {{ (record.cost * record.qty).toFixed(2) }}
|
|
|
|
|
|
+ {{ toThousands(record.cost * record.qty) }}
|
|
</template>
|
|
</template>
|
|
<!-- 操作 -->
|
|
<!-- 操作 -->
|
|
<template slot="action" slot-scope="text, record">
|
|
<template slot="action" slot-scope="text, record">
|
|
@@ -264,7 +264,7 @@ export default {
|
|
{ title: '单位', dataIndex: 'dealerProductEntity.unit', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '单位', dataIndex: 'dealerProductEntity.unit', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '退货单价', scopedSlots: { customRender: 'price' }, width: '10%', align: 'center' },
|
|
{ title: '退货单价', scopedSlots: { customRender: 'price' }, width: '10%', align: 'center' },
|
|
{ title: '退货数量', scopedSlots: { customRender: 'qty' }, width: '10%', align: 'center' },
|
|
{ title: '退货数量', scopedSlots: { customRender: 'qty' }, width: '10%', align: 'center' },
|
|
- { title: '退货金额', scopedSlots: { customRender: 'amount' }, width: '6%', align: 'center' },
|
|
|
|
|
|
+ { title: '退货金额', scopedSlots: { customRender: 'amount' }, width: '6%', align: 'right' },
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
|
|
],
|
|
],
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|