BAOLH
2026-04-14 8681fcc99808f3d7ac45a68c9723a12355c2b833
合同部分金额添加自定义中文格式显示(再修改)
1 files modified
4 ■■■■■ changed files
eladmin-web-master/src/views/assembly/moneyInput/index.vue 4 ●●●●● patch | view | raw | blame | history
eladmin-web-master/src/views/assembly/moneyInput/index.vue
@@ -75,7 +75,7 @@
  computed: {
    customNzh() {
      return new Nzh({
        ch: '0123456789', // 数字字符
        ch: '零一二三四五六七八九', // 数字字符
        ch_u: '个十百千万亿兆京', // 数位单位
        ch_f: '负', // 负号
        ch_d: '点', // 小数点
@@ -89,7 +89,7 @@
      if (this.value === null || this.value === undefined) {
        return ''
      }
      return this.customNzh.toMoney(this.value, { outSymbol: false }).replace(/[个十百千]/g, '')
      return this.customNzh.toMoney(this.value, { outSymbol: false })
    }
  },
  watch: {