Commit 84357d29 authored by jingnan's avatar jingnan 👀

配套需求单明细内部表格增加出库类型字段

parent 214012c5
......@@ -148,6 +148,7 @@ export default {
{ 'title': '验收单编号', 'key': 'inventory.testNo' },
{ 'title': '库位', 'key': 'inventory.workunit' },
{ 'title': '分配数量', 'key': 'allocatedAmount' },
{ 'title': '出库类型', 'key': 'outType', 'minWidth': 100 },
{ 'title': '批次号', 'key': 'inventory.lotNo' },
{ 'title': '序列号', 'key': 'inventory.serno' },
{ 'title': '入库时间', 'key': 'inventory.createTime' },
......@@ -233,7 +234,10 @@ export default {
get(`/ExtSupportingItem/searchTakeInfo?supportingItemId=${row.id}`).then(res => {
this.tableData.forEach((item, index) => {
if (item.id === row.id) {
item.internalDataList = res.items
item.internalDataList = res.items.map(row => {
row.outType = row.subTypeDisplayName.slice(0, 2)
return row
})
}
})
}).catch(err => {
......
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