|
@@ -107,7 +107,7 @@ export default {
|
|
|
{ title: '仓库', dataIndex: 'warehouseName', width: '14%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '仓位', dataIndex: 'warehouseLocationName', width: '14%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '单位', dataIndex: 'productUnit', align: 'center', width: '15%', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '退货单价', dataIndex: 'returnPriceStr', width: '14%', align: 'right', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
+ { title: '退货单价', dataIndex: 'returnPrice', width: '14%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
|
{ title: '退货数量', dataIndex: 'returnQtyStr', width: '14%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
],
|
|
|
loadData: [],
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
{ title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '仓库', dataIndex: 'warehouseName', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '仓位', dataIndex: 'warehouseLocationName', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
- { title: '退货单价', dataIndex: 'returnPriceStr', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
+ { title: '退货单价', dataIndex: 'returnPrice', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
|
{ title: '退货数量', dataIndex: 'returnQtyStr', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '错误说明', scopedSlots: { customRender: 'errorMsg' }, width: '10%', align: 'center' }
|
|
|
],
|
|
@@ -131,10 +131,12 @@ export default {
|
|
|
this.unLoadData = paramsData.errorList || []
|
|
|
this.loadData.map((item, index) => {
|
|
|
item.no = index + 1
|
|
|
+ item.returnPrice = item.returnPriceStr ? item.returnPriceStr : item.returnPrice
|
|
|
item.sparePartsReturnSn = paramsData.sparePartsReturnSn
|
|
|
})
|
|
|
this.unLoadData.map((item, index) => {
|
|
|
item.no = index + 1
|
|
|
+ item.returnPrice = item.returnPriceStr ? item.returnPriceStr : item.returnPrice
|
|
|
item.sparePartsReturnSn = paramsData.sparePartsReturnSn
|
|
|
})
|
|
|
},
|