doway-coms 2.11.13 → 2.11.14
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
|
@@ -2114,6 +2114,7 @@ export default {
|
|
|
2114
2114
|
colParams['controlType'] = originCol.controlType
|
|
2115
2115
|
colParams['filterControlType'] = colParams['controlType']
|
|
2116
2116
|
colParams['edit'] = false
|
|
2117
|
+
colParams['thousandDigit'] = originCol.thousandDigit
|
|
2117
2118
|
if (originCol.editStates) {
|
|
2118
2119
|
colParams['editStates'] = originCol.editStates
|
|
2119
2120
|
}
|
|
@@ -472,13 +472,13 @@ export function gridDefaultValueDisplay(rowInfo,colInfo){
|
|
|
472
472
|
}
|
|
473
473
|
if(colInfo.params.percent){
|
|
474
474
|
displayValue=XEUtils.round(displayValue*100,colInfo.params.precision)
|
|
475
|
-
if(
|
|
475
|
+
if(colInfo.params.thousandDigit===true){
|
|
476
476
|
displayValue = displayValue.toLocaleString('en-US',{ maximumFractionDigits: 10 })
|
|
477
477
|
}
|
|
478
478
|
displayValue = displayValue+'%'
|
|
479
479
|
}else{
|
|
480
|
-
if(
|
|
481
|
-
|
|
480
|
+
if(colInfo.params.thousandDigit===true){
|
|
481
|
+
displayValue = displayValue.toLocaleString('en-US',{ maximumFractionDigits: 10 })
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
}
|