Commit cd8170b2 by 前端

BUG修复

1 parent 442d17fa
...@@ -91,7 +91,14 @@ export default { ...@@ -91,7 +91,14 @@ export default {
prop: 'goodsTypeName' prop: 'goodsTypeName'
}, },
{ {
label: '退货数量', label: '系统库存',
prop: 'stock',
formatter: cellValue => {
return cellValue.stock || cellValue.stock == 0 ? parseFloat(cellValue.stock).toFixed(2) + (this.$membraneTypeList.includes(cellValue.goodsType) ? '米' : '件') : '-'
}
},
{
label: '退货库存',
prop: 'refundStock', prop: 'refundStock',
formatter: cellValue => { formatter: cellValue => {
return cellValue.refundStock || cellValue.refundStock == 0 ? parseFloat(cellValue.refundStock).toFixed(2) + (this.$membraneTypeList.includes(cellValue.goodsType) ? '米' : '件') : '-' return cellValue.refundStock || cellValue.refundStock == 0 ? parseFloat(cellValue.refundStock).toFixed(2) + (this.$membraneTypeList.includes(cellValue.goodsType) ? '米' : '件') : '-'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!