@fecp/designer 5.4.41 → 5.4.43
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.
|
@@ -99,6 +99,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
99
99
|
textValue.value = "";
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
|
+
debugger;
|
|
102
103
|
let displayValue = props.modelValue;
|
|
103
104
|
switch (props.format) {
|
|
104
105
|
case "wan":
|
|
@@ -117,7 +118,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
117
118
|
displayValue = numMulti(displayValue, 1e4);
|
|
118
119
|
break;
|
|
119
120
|
}
|
|
120
|
-
|
|
121
|
+
if (props.format == "yuan" || props.format == "wan" || props.format == "million") {
|
|
122
|
+
textValue.value = formatMoney(
|
|
123
|
+
displayValue,
|
|
124
|
+
precision.value,
|
|
125
|
+
".",
|
|
126
|
+
",",
|
|
127
|
+
true
|
|
128
|
+
);
|
|
129
|
+
}
|
|
121
130
|
if (!showThousandsSeparator.value) {
|
|
122
131
|
textValue.value = delcommafy(textValue.value);
|
|
123
132
|
}
|
|
@@ -101,6 +101,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
101
101
|
textValue.value = "";
|
|
102
102
|
return;
|
|
103
103
|
}
|
|
104
|
+
debugger;
|
|
104
105
|
let displayValue = props.modelValue;
|
|
105
106
|
switch (props.format) {
|
|
106
107
|
case "wan":
|
|
@@ -119,7 +120,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
119
120
|
displayValue = numMulti(displayValue, 1e4);
|
|
120
121
|
break;
|
|
121
122
|
}
|
|
122
|
-
|
|
123
|
+
if (props.format == "yuan" || props.format == "wan" || props.format == "million") {
|
|
124
|
+
textValue.value = formatMoney(
|
|
125
|
+
displayValue,
|
|
126
|
+
precision.value,
|
|
127
|
+
".",
|
|
128
|
+
",",
|
|
129
|
+
true
|
|
130
|
+
);
|
|
131
|
+
}
|
|
123
132
|
if (!showThousandsSeparator.value) {
|
|
124
133
|
textValue.value = delcommafy(textValue.value);
|
|
125
134
|
}
|