修复:代理申请信息列表 配送商渲染报错 导致不显示配送商申请信息

This commit is contained in:
wuhui_zzw 2024-03-27 11:02:44 +08:00
parent 8a8319e3fb
commit 1d4343e731
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,7 @@
</template>
<template v-if="Number(scope.row.agent_type) == 8">
<el-tag type="info" effect="dark" size="small">配送商</el-tag>
<el-tag v-if="Object.values(scope.row.merList).length > 0" type="success" effect="dark" size="small">
<el-tag v-if="Object.values(scope.row.merList || {}).length > 0" type="success" effect="dark" size="small">
{{ scope.row.merList[0].mer_name }}
{{ Object.values(scope.row.merList).length > 1 ? '+'+Object.values(scope.row.merList).length : '' }}
</el-tag>
@ -260,6 +260,7 @@ export default {
components: { },
data() {
return {
moren: require("@/assets/images/f.png"),
listLoading: true,
tableFrom: {
page: 1,