|
@@ -26,6 +26,11 @@
|
|
:tableId="item.receivingBillSn"
|
|
:tableId="item.receivingBillSn"
|
|
:scroll="{ x: 1360 }"
|
|
:scroll="{ x: 1360 }"
|
|
bordered>
|
|
bordered>
|
|
|
|
+ <!-- 采购数量 -->
|
|
|
|
+ <template slot="origqty" slot-scope="text, record, index">
|
|
|
|
+ <div>{{ text }}</div>
|
|
|
|
+ <div>原采购数量:{{ record.origqty }}</div>
|
|
|
|
+ </template>
|
|
<!-- 仓库仓位 -->
|
|
<!-- 仓库仓位 -->
|
|
<template slot="warehousePosition" slot-scope="text, record, index">
|
|
<template slot="warehousePosition" slot-scope="text, record, index">
|
|
<a-cascader
|
|
<a-cascader
|
|
@@ -83,7 +88,7 @@ export default {
|
|
{ title: '产品名称', dataIndex: 'dealerProductEntity.name', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品名称', dataIndex: 'dealerProductEntity.name', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '原厂编码', dataIndex: 'dealerProductEntity.origCode', width: 140, align: 'center', customRender: function (text) { return text = ' ' ? '--' : text } },
|
|
{ title: '原厂编码', dataIndex: 'dealerProductEntity.origCode', width: 140, 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: 'price', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
- { title: '采购数量', dataIndex: 'qty', width: 100, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
|
|
+ { title: '采购数量', dataIndex: 'qty', width: 100, align: 'center', scopedSlots: { customRender: 'origqty' } },
|
|
{ title: '本次发货数量', dataIndex: 'oosQty', width: 100, align: 'center', customRender: function (text) { return text || 0 } },
|
|
{ title: '本次发货数量', dataIndex: 'oosQty', width: 100, align: 'center', customRender: function (text) { return text || 0 } },
|
|
{ title: '单位', dataIndex: 'dealerProductEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ 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: 'totalAmount', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) }, fixed: 'right' },
|