Commit 220e9890 authored by jingnan's avatar jingnan 👀

配套需求单明细增加实发数量字段

parent afd6d8c2
......@@ -150,6 +150,7 @@ export default {
{ 'title': '安装位置', 'key': 'installName', 'minWidth': 100 },
{ 'title': '需求数量', 'key': 'reqAmount', 'minWidth': 100 },
// { 'title': '库房', 'key': 'productWorkCenter.extname', 'minWidth': 100 },
{ 'title': '实发数量', 'key': 'actualAmount', 'minWidth': 120 },
{ 'title': '占用数量', 'key': 'takeAmount', 'minWidth': 120 },
{ 'title': '状态', 'key': 'reqStatus' },
{ 'title': '版本', 'key': 'elecHardwareConfPieceNo' }
......@@ -291,6 +292,7 @@ export default {
state: this.$utils.getParamsFromLists(this.ObjStatusOptions, 'value', lst.state, 'label')
}
}) || []
item.actualAmount = item.actualAmount || 0
item.reqStatus = item.reqStatus === 'Not' ? '未出库' : this.$utils.getParamsFromLists(this.reqStatusOptions, 'value', item.reqStatus, 'label')
return item
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment