Commit dc7c1e2d authored by jingnan's avatar jingnan 👀

采购入库新增明细后接收仓库未展示bug修改

parent eddde649
......@@ -442,7 +442,7 @@ export default {
{ title: '报检人', key: 'creator.userName', headerAlign: 'center' },
{
title: '接受仓库', key: 'extname', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
const value = row.storageZone ? row.storageZone.extname : row.storageZoneName
const value = row.storageZone && typeof (row.storageZone) === 'object' ? row.storageZone.extname : row.storageZoneName
return value
}
},
......
......@@ -443,7 +443,7 @@ export default {
{ title: '报检人', key: 'creator.userName', headerAlign: 'center' },
{
title: '接受仓库', key: 'extname', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
const value = row.storageZone ? row.storageZone.extname : row.storageZoneName
const value = row.storageZone && typeof (row.storageZone) === 'object' ? row.storageZone.extname : row.storageZoneName
return value
}
},
......
......@@ -109,7 +109,7 @@ export default {
{ title: '报检人', key: 'applyUserName', align: 'center', headerAlign: 'center' },
{
title: '接受仓库', key: 'extname', align: 'center', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
const value = row.storageZone ? row.storageZone.extname : row.storageZoneName
const value = row.storageZone && typeof (row.storageZone) === 'object' ? row.storageZone.extname : row.storageZoneName
return value
}
},
......
......@@ -220,7 +220,7 @@ export default {
{ title: '报检人', key: 'applyUserName', align: 'center', headerAlign: 'center' },
{
title: '接受仓库', key: 'extname', align: 'center', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
const value = row.storageZone ? row.storageZone.extname : row.storageZoneName
const value = row.storageZone && typeof (row.storageZone) === 'object' ? row.storageZone.extname : row.storageZoneName
return value
}
},
......
......@@ -89,7 +89,7 @@ export default {
{ title: '报检人', key: 'applyUserName', align: 'center', headerAlign: 'center' },
{
title: '接受仓库', key: 'extname', align: 'center', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
const value = row.storageZone ? row.storageZone.extname : row.storageZoneName
const value = row.storageZone && typeof (row.storageZone) === 'object' ? row.storageZone.extname : row.storageZoneName
return value
}
},
......
......@@ -238,7 +238,7 @@ export default {
{ title: '报检人', key: 'applyUserName', align: 'center', headerAlign: 'center' },
{
title: '接受仓库', key: 'extname', align: 'center', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
const value = row.storageZone ? row.storageZone.extname : row.storageZoneName
const value = row.storageZone && typeof (row.storageZone) === 'object' ? row.storageZone.extname : row.storageZoneName
return value
}
},
......
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