页面显示优化

This commit is contained in:
wuweihua
2026-10-12 10:44:22 +08:00
parent 2a9825c498
commit 9dcf1b201c
2 changed files with 8 additions and 12 deletions
@@ -178,11 +178,9 @@
<span v-else>{{ scope.row.creditEd }}</span> <span v-else>{{ scope.row.creditEd }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-if="isColVisible('productCodes')" label="绑定产品" align="center" prop="productCodes" min-width="180"> <el-table-column v-if="isColVisible('productCodes')" label="绑定产品" align="center" prop="productCodes" min-width="180" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
<span v-if="productNames(scope.row.productCodes)" :title="productNames(scope.row.productCodes)"> <span v-if="productNames(scope.row.productCodes)">{{ productNames(scope.row.productCodes) }}</span>
{{ productNames(scope.row.productCodes) }}
</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
@@ -121,11 +121,11 @@
<el-table v-loading="loading" border :data="supplierList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" border :data="supplierList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" fixed="left" /> <el-table-column type="selection" width="55" align="center" fixed="left" />
<el-table-column v-if="isColVisible('supplierCode')" label="供应商编码" align="center" prop="supplierCode" /> <el-table-column v-if="isColVisible('supplierCode')" label="供应商编码" align="center" width="130" prop="supplierCode" />
<el-table-column v-if="isColVisible('supplierName')" label="供应商名称" align="center" prop="supplierName" :show-overflow-tooltip="true" /> <el-table-column v-if="isColVisible('supplierName')" label="供应商名称" align="center" width="130" prop="supplierName" :show-overflow-tooltip="true" />
<el-table-column v-if="isColVisible('supplierCodeDw')" label="对外代码" align="center" prop="supplierCodeDw" /> <el-table-column v-if="isColVisible('supplierCodeDw')" label="对外代码" align="center" width="130" prop="supplierCodeDw" />
<el-table-column v-if="isColVisible('creditCode')" label="统一社会信用代码" align="center" prop="creditCode" /> <el-table-column v-if="isColVisible('creditCode')" label="统一社会信用代码" align="center" prop="creditCode" />
<el-table-column v-if="isColVisible('supplierType')" label="供应商类型" align="center" prop="supplierType"> <el-table-column v-if="isColVisible('supplierType')" label="供应商类型" align="center" width="120" prop="supplierType">
<template #default="scope">{{ formatOption(supplierTypeOptions, scope.row.supplierType) }}</template> <template #default="scope">{{ formatOption(supplierTypeOptions, scope.row.supplierType) }}</template>
</el-table-column> </el-table-column>
<el-table-column v-if="isColVisible('invoiceType')" label="开票类型" align="center" prop="invoiceType"> <el-table-column v-if="isColVisible('invoiceType')" label="开票类型" align="center" prop="invoiceType">
@@ -167,11 +167,9 @@
<el-table-column v-if="isColVisible('cooperationStatus')" label="合作状态" align="center" prop="cooperationStatus"> <el-table-column v-if="isColVisible('cooperationStatus')" label="合作状态" align="center" prop="cooperationStatus">
<template #default="scope">{{ formatOption(cooperationStatusOptions, scope.row.cooperationStatus) }}</template> <template #default="scope">{{ formatOption(cooperationStatusOptions, scope.row.cooperationStatus) }}</template>
</el-table-column> </el-table-column>
<el-table-column v-if="isColVisible('channelIds')" label="绑定渠道" align="center" prop="channelIds" min-width="200"> <el-table-column v-if="isColVisible('channelIds')" label="绑定渠道" align="center" prop="channelIds" min-width="200" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
<span v-if="channelNames(scope.row.channelIds)" :title="channelNames(scope.row.channelIds)"> <span v-if="channelNames(scope.row.channelIds)">{{ channelNames(scope.row.channelIds) }}</span>
{{ channelNames(scope.row.channelIds) }}
</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>