完善库存报表,给商品页面增加修正成本

This commit is contained in:
jishenghua
2024-05-24 01:23:46 +08:00
parent 28548c7957
commit ed9a99c552
4 changed files with 35 additions and 4 deletions

View File

@@ -189,7 +189,7 @@
{title: '类别', dataIndex: 'categoryName', width: 60, ellipsis:true},
{title: '仓位货架', dataIndex: 'position', width: 60, ellipsis:true},
{title: '单位', dataIndex: 'unitName', width: 60, ellipsis:true},
{title: '价', dataIndex: 'purchaseDecimal', sorter: (a, b) => a.purchaseDecimal - b.purchaseDecimal, width: 60},
{title: '成本价', dataIndex: 'purchaseDecimal', sorter: (a, b) => a.purchaseDecimal - b.purchaseDecimal, width: 60},
{title: '初始库存', dataIndex: 'initialStock', width: 60},
{title: '库存', dataIndex: 'currentStock', sorter: (a, b) => a.currentStock - b.currentStock, width: 60,
scopedSlots: { customRender: 'customRenderStock' }