Wiki源代码06 Single Lookup

maym 于 2025/06/30 03:55 最后修改

隐藏最后作者
yufei li 6.3 1 **Feature Description**
yufei li 1.1 2
yufei li 6.3 3 The Associated Single-Select Widget refers to calling data from other forms within the current form, establishing a connection between two forms. When used, it can associate with one piece of data from the corresponding form.
yufei li 1.1 4
yufei li 6.3 5 **Use Cases**
yufei li 1.1 6
yufei li 6.3 7 For example, in the 【Order Information】form, you need to fill in order time, product number, product quantity, product amount, etc. Among these, the product number field needs to be consistent with the product numbers already entered in the 【Product Information】form. In this scenario, the product number field serves as the data association field, allowing you to retrieve all “product numbers” already entered in the 【Product Information】form.
yufei li 1.1 8
yufei li 6.3 9 **Setup Method**
yufei li 1.1 10
yufei li 6.3 11 Simply click on the Associated Single-Select Widget in the advanced fields or drag the widget onto the canvas to complete the addition of the widget.
yufei li 1.1 12
yufei li 6.3 13 **Widget Properties**
yufei li 1.1 14
yufei li 6.3 15 (% style="width:1293px" %)
16 |**Widget Properties**|**Settings Options**|(% style="width:960px" %)**Settings Options Description**
17 |(% colspan="1" rowspan="6" style="width:142px" %)Basic Properties|Name|(% style="width:960px" %)Used to distinguish different widgets.
18 |Display Name|(% style="width:960px" %)Used to control whether the widget name is displayed when filling out the form.
19 |Width|(% style="width:960px" %)Used to control the display width of the current widget when filling out the form.
20 |Placeholder|(% style="width:960px" %)Used to guide the filler in entering content.
21 |Help Text|(% style="width:960px" %)A question mark hover appears when filling out the form, which can display help text.
22 |Permissions|(% style="width:960px" %)(((
maym 8.1 23 Visibility Permissions: Visible, Conditionally Visible, Invisible.
maym 4.1 24
maym 8.1 25 Edit Permissions (precondition: visibility permissions): Editable, Non-editable.
maym 4.1 26
maym 8.1 27 Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory.
maym 4.1 28
maym 8.1 29 Field permissions only take effect in non-process forms.
maym 4.1 30
yufei li 6.3 31 Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.
yufei li 1.1 32 )))
yufei li 6.3 33 |(% colspan="1" rowspan="8" style="width:142px" %)Special Properties|(% colspan="1" rowspan="1" style="width:186px" %)Related Form|(% colspan="1" rowspan="1" style="width:960px" %)Drop-down Option (Select Form):Choose the associated form.
34 |(% colspan="1" rowspan="1" style="width:186px" %)Form Field|(% colspan="1" rowspan="1" style="width:960px" %)Drop-down Option (Select Form Field):Choose the corresponding field under the associated form.
35 |(% colspan="1" style="width:186px" %)Tree List|(% colspan="1" style="width:960px" %)(((
36 Switch,After enabling the tree display, you can select node fields as branches of the tree.
37
38 Once selected, the data associated with the form will be displayed in a tree structure.
maym 7.1 39
40 Only leaf nodes are allowed to be selected: When enabled, the client can only select data without subordinates when selecting associated form data
yufei li 1.1 41 )))
yufei li 6.3 42 |(% colspan="1" rowspan="1" style="width:186px" %)Input method|(% colspan="1" rowspan="1" style="width:960px" %)(((
43 Radio Button (Drop-down Selection, Pop-up Dialog):
maym 5.1 44
yufei li 6.3 45 Drop-down Selection for Configuring Auxiliary Display Fields:
maym 5.1 46
yufei li 6.3 47 * Up to three fields can be configured as auxiliary display fields.
48 * Field types that can be configured for display include: single-line input, multi-line input, numeric, date, date and time, radio button, drop-down single selection, multiple selection, number, switch, personnel, department, address, associated single selection, and associated multiple selection.
49 * The order of the configured auxiliary display fields can be adjusted in the client interface, as shown by dragging and sorting in the diagram.
maym 5.1 50
yufei li 6.3 51 [[image:1740966438006-620.png]]
maym 5.1 52
yufei li 6.3 53 * After configuration, the client-side runtime effect is as shown in the following figure.
maym 5.1 54
yufei li 6.3 55 [[image:1740966999589-368.png]]
maym 5.1 56
yufei li 6.3 57 Popup Dialog Auxiliary Settings: Dialog Settings
58
59 Support setting which fields are displayed in the dialog and whether they can be used as search criteria.
60
61 [[image:1740967251663-180.png]]
62
63 After configuration, the client-side runtime effect is as shown in the following figure.
64
65 [[image:1740967338663-242.png]]
66
67
68
yufei li 1.1 69 )))
yufei li 6.3 70 |(% colspan="1" rowspan="1" style="width:186px" %)Data Range|(% colspan="1" rowspan="1" style="width:960px" %)Set the data range that can be selected for the current form.
71 |(% colspan="1" rowspan="1" style="width:186px" %)Related assignment|(% colspan="1" rowspan="1" style="width:960px" %)Set the assignment rules to assign the value of a field in the selected row to other fields.
72 |(% colspan="1" rowspan="1" style="width:186px" %)Fetch real-time data|(% colspan="1" rowspan="1" style="width:960px" %)Switch: When enabled, the data will be refreshed each time the page is entered.
73 |(% colspan="1" style="width:186px" %)Default|(% colspan="1" style="width:960px" %)Automatically retrieve associated form data based on conditions. If there are multiple sets of associated form data that meet the conditions, the system will only retrieve the first one.