6bb38d78 by renchao@pashanhoo.com

1

1 parent df59d6ff
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-26 16:13:12 4 * @LastEditTime: 2024-01-30 16:47:02
5 --> 5 -->
6 <template> 6 <template>
7 <div class="tableBox"> 7 <div class="tableBox">
...@@ -159,17 +159,21 @@ ...@@ -159,17 +159,21 @@
159 default: (label) => label 159 default: (label) => label
160 }; 160 };
161 const strategy = strategies[prop] || strategies.default; 161 const strategy = strategies[prop] || strategies.default;
162 if (prop == 'bdbzzqse') { 162 if (['zgzqse', 'bdbzzqse'].includes(prop)) {
163 let title = strategy(label) 163 let title = strategy(label) ? strategy(label) : ''
164 if (row.jedw == 2) { 164 if (strategy(label) && row.jedw == 2) {
165 title = title + '万元' 165 title = title + '万元'
166 } else if (row.jedw == 1) { 166 } else if (strategy(label) && row.jedw == 1) {
167 title = title + '元' 167 title = title + '元'
168 } 168 }
169 return title 169 return title
170 } else if (prop == 'dymj' && row.mjdw) { 170 } else if (prop == 'dymj' && row.mjdw) {
171 let arr = store.getters.dictData['A7'].filter(item => item.dcode === row.mjdw); 171 let arr = store.getters.dictData['A7'].filter(item => item.dcode === row.mjdw);
172 return strategy(label) + arr[0].dname 172 if (strategy(label)) {
173 return strategy(label) + arr[0].dname
174 } else {
175 return strategy(label)
176 }
173 } else { 177 } else {
174 return strategy(label); 178 return strategy(label);
175 } 179 }
......