|
@@ -91,7 +91,7 @@ export default {
|
|
|
{ title: '原厂编码', dataIndex: 'dealerProductEntity.origCode', width: 220, align: 'center', customRender: function (text) { return text = ' ' ? '--' : text } },
|
|
|
{ title: '采购单价', dataIndex: 'price', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '采购数量', dataIndex: 'qty', width: 100, align: 'center', scopedSlots: { customRender: 'origqty' } },
|
|
|
- { title: '本次发货数量', dataIndex: 'oosQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
+ { title: '本次发货数量', dataIndex: 'shippedQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
{ title: '单位', dataIndex: 'dealerProductEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '采购金额', dataIndex: 'totalAmount', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) }, fixed: 'right' },
|
|
|
{ title: '本次入库数量', dataIndex: 'putQty', width: 120, align: 'center', fixed: 'right' },
|
|
@@ -107,6 +107,7 @@ export default {
|
|
|
const no = (data.pageNo - 1) * data.pageSize
|
|
|
for (var i = 0; i < data.list.length; i++) {
|
|
|
data.list[i].no = no + i + 1
|
|
|
+ data.list[i].shippedQty = data.list[i].putQty
|
|
|
const warehouseSn = data.list[i].warehouseSn || undefined
|
|
|
const warehouseLocationSn = data.list[i].warehouseLocationSn || undefined
|
|
|
if (warehouseSn || warehouseLocationSn) {
|