文档更改04 Number

maym 于 2025/06/26 06:46 最后修改

从版本 7.2
yufei li编辑
在2025/02/14 02:13上
修改评论: Update document after refactoring.
到版本
maym编辑
在2025/06/26 06:46上
修改评论: 该版本没有评论

摘要

细节

页面属性
标题
... ... @@ -1,1 +1,1 @@
1 -04 数值
1 +04 Number
文档作者
... ... @@ -1,1 +1,1 @@
1 -XWiki.YufeiLi
1 +XWiki.maym
内容
... ... @@ -1,99 +1,52 @@
1 -**功能简介**
1 +**Feature Overview**
2 2  
3 -数值控件仅限填写数字类型的值。填写的数字可以参与计算、统计以及汇总等。
3 +The Number Input widget is designed for entering only numeric values. The entered numbers can be used for calculations, statistics, and summaries.
4 4  
5 -**使用场景**
5 +**Use Cases**
6 6  
7 -例如商品单价、请假天数等都可以使用数值控件,方便后期统计和计算。
7 +It is suitable for scenarios where more text is required, such as entering notes, detailed addresses, comments, etc.
8 8  
9 -**设置方式**
9 +**Setting Method**
10 10  
11 -直接点击基础字段中的数值控件 或者 拖拽数值控件到画布中,即可完成添加控件。
11 +Click on the Multiline Input widget in the basic fields or drag and drop the Multiline Input widget onto the canvas to complete the addition.
12 12  
13 -**控件属性**
14 14  
15 -(% style="width:824px" %)
16 -|(% colspan="1" rowspan="1" style="width:128px" %)(((
17 -控件属性
18 -)))|(% colspan="1" rowspan="1" style="width:160px" %)(((
19 -设置项
20 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
21 -设置项说明
22 -)))
23 -|(% colspan="1" rowspan="6" style="width:128px" %)(((
24 -基础属性
25 -)))|(% colspan="1" rowspan="1" style="width:160px" %)(((
26 -控件名称
27 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
28 -用于区分不同的字段
29 -)))
30 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
31 -显示控件名称
32 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
33 -用于控制在填单时是否显示控件名称
34 -)))
35 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
36 -控件宽度
37 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
38 -用于控制在填单时当前控件的显示宽度
39 -)))
40 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
41 -占位提示
42 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
43 -用于引导填写者填写内容
44 -)))
45 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
46 -帮助文字
47 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
48 -填单时出现问号悬浮可以显示帮助文字
49 -)))
50 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
51 -字段权限
52 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
53 -可见权限:可见、有条件可见、不可见;
14 +**Widget Properties**
54 54  
55 -编辑权限(前提是有可见权限):可编辑、不可编辑;
16 +(% style="width:1235px" %)
17 +|(% colspan="1" rowspan="1" style="width:182px" %)**Widget Properties**|(% colspan="1" rowspan="1" style="width:160px" %)**Settings Options**|(% colspan="1" rowspan="1" style="width:889px" %)**Settings Options Description**
18 +|(% colspan="1" rowspan="6" style="width:182px" %)Basic Properties|(% style="width:160px" %)Name|(% style="width:889px" %)Used to distinguish different widgets.
19 +|(% style="width:160px" %)Display Name|(% style="width:889px" %)Used to control whether the widget name is displayed when filling out the form.
20 +|(% style="width:160px" %)Width|(% style="width:889px" %)Used to control the display width of the current widget when filling out the form.
21 +|(% style="width:160px" %)Placeholder|(% style="width:889px" %)Used to guide the filler in entering content.
22 +|(% style="width:160px" %)Help Text|(% style="width:889px" %)A question mark hover appears when filling out the form, which can display help text.
23 +|(% style="width:160px" %)Permissions|(% style="width:889px" %)(((
24 +Visibility Permissions: Visible, Conditionally Visible, Invisible;
56 56  
57 -必填权限(前提是有编辑权限):必填、有条件必填、不必填;
26 +Edit Permissions (precondition: visibility permissions): Editable, Non-editable;
58 58  
59 -字段权限仅在非流程表单中生效;
28 +Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory;
60 60  
61 -另外有条件可见和有条件必填在流程表单和非流程表单中都生效;
30 +Field permissions only take effect in non-process forms;
31 +
32 +Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.
62 62  )))
63 -|(% colspan="1" rowspan="7" style="width:128px" %)(((
64 -特殊属性
65 -)))|(% colspan="1" rowspan="1" style="width:160px" %)(((
66 -默认值
67 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
68 -数值输入框,支持负数。如果不输入则无默认值。
34 +|(% colspan="1" rowspan="9" style="width:182px" %)Special Properties|(% colspan="1" rowspan="2" style="width:160px" %)Default Value(assigned only when the control is loaded for the first time)|(% colspan="1" rowspan="1" style="width:889px" %)Numeric Input Box, Supports Negative Numbers. No Default Value if Not Entered.
35 +|(% colspan="1" style="width:889px" %)Obtain default values through formula calculation
36 +|(% colspan="1" style="width:160px" %)Formula value|(% colspan="1" style="width:889px" %)Dynamically obtain the result calculated by the formula when the value of the control used in the formula changes, and obtain the default value based on the formula calculation
37 +|(% colspan="1" rowspan="1" style="width:160px" %)Decimal Places|(% colspan="1" rowspan="1" style="width:889px" %)(((
38 +Counter, Minimum: 0, Maximum: 10;
39 +
40 +Support not setting decimal places. At this time, when the client is running, it supports outputting and inputting numbers from 0.00000000000001 to 999999999999
69 69  )))
70 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
71 -小数位数
72 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
73 -计数器,最小为 0,最大为 6
42 +|(% colspan="1" rowspan="1" style="width:160px" %)Rounding Method|(% colspan="1" rowspan="1" style="width:889px" %)Drop-down Selection (Floor, Round, Ceiling)
43 +|(% colspan="1" rowspan="1" style="width:160px" %)Numeric Range|(% colspan="1" rowspan="1" style="width:889px" %)(((
44 +Supports configuring both fixed numeric ranges and dynamic numeric ranges based on the values of other numeric widgets.
74 74  )))
75 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
76 -取整方式
77 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
78 -下拉选择(向下取整、四舍五入、向上取整)
46 +|(% colspan="1" rowspan="1" style="width:160px" %)Display Format|(% colspan="1" rowspan="1" style="width:889px" %)(((
47 +Radio Button (Display Thousandths), Percentage (Only perform percentage scaling during display, save according to widget precision)
79 79  )))
80 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
81 -数值范围
82 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
83 -支持配置固定数值区间,也支持配置根据其他数值控件值的动态数值区间
49 +|(% colspan="1" rowspan="1" style="width:160px" %)Prefix|(% colspan="1" rowspan="1" style="width:889px" %)Displayed Before the Numeric Value
50 +|(% colspan="1" rowspan="1" style="width:160px" %)Suffix|(% colspan="1" rowspan="1" style="width:889px" %)(((
51 +Displayed After the Numeric Value
84 84  )))
85 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
86 -显示格式
87 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
88 -单选框(显示千分位)、百分比(仅显示时进行百分比升位,按控件精度保存)
89 -)))
90 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
91 -前缀
92 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
93 -显示在数值前面
94 -)))
95 -|(% colspan="1" rowspan="1" style="width:160px" %)(((
96 -后缀
97 -)))|(% colspan="1" rowspan="1" style="width:532px" %)(((
98 -显示在数值后面
99 -)))