6bb38d78 by renchao@pashanhoo.com

1

1 parent df59d6ff
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-26 16:13:12
* @LastEditTime: 2024-01-30 16:47:02
-->
<template>
<div class="tableBox">
......@@ -159,17 +159,21 @@
default: (label) => label
};
const strategy = strategies[prop] || strategies.default;
if (prop == 'bdbzzqse') {
let title = strategy(label)
if (row.jedw == 2) {
if (['zgzqse', 'bdbzzqse'].includes(prop)) {
let title = strategy(label) ? strategy(label) : ''
if (strategy(label) && row.jedw == 2) {
title = title + '万元'
} else if (row.jedw == 1) {
} else if (strategy(label) && row.jedw == 1) {
title = title + '元'
}
return title
} else if (prop == 'dymj' && row.mjdw) {
let arr = store.getters.dictData['A7'].filter(item => item.dcode === row.mjdw);
return strategy(label) + arr[0].dname
if (strategy(label)) {
return strategy(label) + arr[0].dname
} else {
return strategy(label)
}
} else {
return strategy(label);
}
......