t20-common-lib 0.10.7 → 0.10.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t20-common-lib",
3
- "version": "0.10.7",
3
+ "version": "0.10.8",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -182,10 +182,12 @@ export default {
182
182
  type: this.$l('全部合计'), //全部合计
183
183
  list: statisChildList.map(c => {
184
184
  let label = c.label
185
- if (item.currencyNo === defaultCurrencyNo) {
186
- label = c.label + this.$l('(原币)')
187
- } else if (c.key) {
188
- label = c.currencyType === 'origin' ? `${c.label}(${this.$l('原币')})` : `${c.label}(${this.$l('折')}${this.$l(defaultCurrencyName)})`
185
+ if (c.key) {
186
+ if (item.currencyNo === defaultCurrencyNo) {
187
+ label = c.label + this.$l('(原币)')
188
+ } else {
189
+ label = c.currencyType === 'origin' ? `${c.label}(${this.$l('原币')})` : `${c.label}(${this.$l('折')}${this.$l(defaultCurrencyName)})`
190
+ }
189
191
  }
190
192
  return {
191
193
  label,