Sfoglia il codice sorgente

金额转大写单位调整

TonyKang 4 anni fa
parent
commit
5d455695f6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/reports/public/stringUtil.js

+ 1 - 1
app/reports/public/stringUtil.js

@@ -159,7 +159,7 @@ module.exports = {
             let capChars, unitChars;
             if (isTraditionalCap) {
                 capChars = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"];
-                unitChars = ["" , "拾", "佰", "仟", "萬", "拾", "佰", "仟", "億", "拾", "佰", "仟", "萬"];
+                unitChars = ["" , "拾", "佰", "仟", "萬", "拾", "佰", "仟", "亿", "拾", "佰", "仟", "万"];
             } else {
                 capChars = ["零", "一", "二", "三", "四", "五", "六", "七", "八", "九"];
                 unitChars = ["" , "十", "百", "千", "万", "十", "百", "千", "亿", "十", "百", "千", "万"];