Commit 1614a644 by wangzhihui

修复采购上架bug

1 parent bf33e5a6
...@@ -346,7 +346,7 @@ export default { ...@@ -346,7 +346,7 @@ export default {
prop: 'type', prop: 'type',
parentProp: 'upgradeGoods', parentProp: 'upgradeGoods',
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.upgradeGoods.type || '-' return cellValue.upgradeGoods?.type || '-'
} }
}, { }, {
label: '供应商编码', label: '供应商编码',
...@@ -354,7 +354,7 @@ export default { ...@@ -354,7 +354,7 @@ export default {
parentProp: 'upgradeGoods', parentProp: 'upgradeGoods',
width: 100, width: 100,
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue?.upgradeGoods.thirdPartyCode || '-' return cellValue?.upgradeGoods?.thirdPartyCode || '-'
} }
}, { }, {
label: '上架商户', label: '上架商户',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!