Bill entry interaction method and device, computer device and storage medium
By displaying a reference data interface outside the document data entry interface, the problems of low efficiency and high resource consumption in traditional methods are solved, achieving the effect of efficient document entry and low resource consumption.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- KINGDEE SOFTWARE(CHINA) CO LTD
- Filing Date
- 2022-09-05
- Publication Date
- 2026-05-12
AI Technical Summary
Traditional document entry methods are inefficient, resource-intensive, and require frequent switching of interfaces to query data.
The document data entry interface displays a reference data interface outside the entry control, showing the data query results of the pre-configured reference fields for the target document type and the entry fields. This interface can be triggered and canceled by moving the focus indicator.
It reduces interface switching time, improves document entry efficiency, and reduces computer resource consumption.
Smart Images

Figure CN115469950B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of document entry technology, and in particular to a document entry interactive method, apparatus, computer equipment, storage medium and computer program product. Background Technology
[0002] With the development of computer technology, the construction of enterprise management systems has become possible. Information-based enterprise management systems can help enterprise managers optimize workflows and improve work efficiency. The informatization of enterprise management systems relies heavily on data entry for documents; when entering data, data entry personnel sometimes need to query other data.
[0003] The traditional method involves the data entry personnel opening a data query interface to view other data that needs to be retrieved when entering documents. This method is inefficient and consumes a lot of resources. Summary of the Invention
[0004] Therefore, it is necessary to provide a document entry interaction method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can reduce the resource consumption of document entry in order to address the above-mentioned technical problems.
[0005] Firstly, this application provides a document entry interaction method. The method includes:
[0006] The document data entry interface is displayed, and the document data entry interface is used to enter data of documents of the target document type;
[0007] The document data entry interface displays the entry fields of the target document type and the entry controls corresponding to the entry fields;
[0008] In response to the focus indicator moving to the target input control corresponding to the target input field in the input field, the input reference data interface is displayed at a position outside the target input control;
[0009] The reference data entry interface displays the data query results for the reference fields pre-configured for the target document type and the target entry field.
[0010] In one embodiment, the method further includes:
[0011] When the focus indicator is located at the target input control, the input reference data interface remains displayed;
[0012] In response to the focus indicator moving away from the target input control, the input reference data interface is canceled from display.
[0013] In one embodiment, the step of displaying an input reference data interface at a location outside the target input control in response to the focus indicator moving to the target input control corresponding to the target input field in the input field includes:
[0014] When the focus indicator is on the document data entry interface, obtain the position indicated by the focus indicator;
[0015] In response to the movement of the focus indicator, when the indicator position is within the display range of the target entry control corresponding to the target entry field in the entry field, a query is triggered to retrieve the entry reference configuration record for the target document type and the target entry field;
[0016] When an entry reference configuration record for the target document type and the target entry field is found, the entry reference data interface is displayed outside the target entry control.
[0017] In one embodiment, the reference fields pre-configured for the target document type and the target entry field are determined based on entry reference configuration records, and the method further includes:
[0018] Displays the input reference function configuration interface;
[0019] The input reference function configuration interface displays document type configuration items, input field configuration items, and reference field configuration items.
[0020] In response to configuration operations on the document type configuration item, the input field configuration item, and the reference field configuration item, the target document type, target input field, and reference field are determined respectively.
[0021] Generate an entry reference configuration record that includes the target document type, the target entry field, and the correspondence between the reference fields.
[0022] In one embodiment, displaying the input reference data interface at a location outside the target input control includes:
[0023] Obtain the data query results for the target document type and the reference fields pre-configured for the target input field;
[0024] Determine the display size of the data query results;
[0025] Based on the data display size, determine the interface size of the input reference data interface that can accommodate the data query results;
[0026] The input reference data interface is displayed at a location outside the target input control, according to the interface size.
[0027] In one embodiment, when the input combination reference function is enabled, when the target input field belongs to the input field combination, the input reference data interface is displayed outside the corresponding input control of each input field in the input field combination, and the input reference data interface displays the data query results of each input field in the input field combination; the input field combination includes at least two input fields of the target document type that are configured with the input reference function.
[0028] Secondly, this application also provides a document entry interactive device. The device includes:
[0029] The interface display module is used to display the document data entry interface, which is used to enter data of the document of the target document type; the document data entry interface displays the entry fields of the document of the target document type and the entry controls corresponding to the entry fields;
[0030] A focus indicator response module is used to display an input reference data interface at a position outside the target input control in response to the focus indicator moving to the target input control corresponding to the target input field in the input field;
[0031] The results display module is used to display the data query results for the target document type and the reference field pre-configured for the target entry field on the reference data entry interface.
[0032] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0033] The document data entry interface is displayed, and the document data entry interface is used to enter data of documents of the target document type;
[0034] The document data entry interface displays the entry fields of the target document type and the entry controls corresponding to the entry fields;
[0035] In response to the focus indicator moving to the target input control corresponding to the target input field in the input field, the input reference data interface is displayed at a position outside the target input control;
[0036] The reference data entry interface displays the data query results for the reference fields pre-configured for the target document type and the target entry field.
[0037] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0038] The document data entry interface is displayed, and the document data entry interface is used to enter data of documents of the target document type;
[0039] The document data entry interface displays the entry fields of the target document type and the entry controls corresponding to the entry fields;
[0040] In response to the focus indicator moving to the target input control corresponding to the target input field in the input field, the input reference data interface is displayed at a position outside the target input control;
[0041] The reference data entry interface displays the data query results for the reference fields pre-configured for the target document type and the target entry field.
[0042] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0043] The document data entry interface is displayed, and the document data entry interface is used to enter data of documents of the target document type;
[0044] The document data entry interface displays the entry fields of the target document type and the entry controls corresponding to the entry fields;
[0045] In response to the focus indicator moving to the target input control corresponding to the target input field in the input field, the input reference data interface is displayed at a position outside the target input control;
[0046] The reference data entry interface displays the data query results for the reference fields pre-configured for the target document type and the target entry field.
[0047] The aforementioned document entry interaction method, device, computer equipment, storage medium, and computer program product display a target entry control corresponding to the target entry field on the document data entry interface. When the focus indicator moves to the display position of the target entry control, an entry reference data interface can be displayed on the document data entry interface, and the data query results can be displayed on the entry reference data interface. The entry reference data interface is displayed outside the display position of the target entry control, so viewing the data query results does not affect the entry of document data. Compared to traditional methods, viewing the data query results while entering document data is done on the same interface, eliminating the need to switch between the document entry interface and the data query results interface, thus reducing interface switching time. Furthermore, no operation is required on the data query results interface, allowing for quick viewing of the data query results. Document entry efficiency is higher, and computer resources are consumed less. Attached Figure Description
[0048] Figure 1 This is an application environment diagram of a document entry interaction method in one embodiment;
[0049] Figure 2 This is a flowchart illustrating a document entry interaction method in one embodiment;
[0050] Figure 3 This is a flowchart illustrating the steps of adjusting the display of the input reference data interface according to the positional relationship between the focus indicator and the target input control in one embodiment.
[0051] Figure 4 This is a flowchart illustrating the process of displaying an input reference data interface outside the target input control in one embodiment in response to the focus indicator moving to the target input control corresponding to the target input field in the input field;
[0052] Figure 5 This is a flowchart illustrating the steps of configuring the reference configuration record through the reference function configuration interface in one embodiment.
[0053] Figure 6 This is a flowchart illustrating the process of displaying a reference data entry interface outside the target entry control in one embodiment.
[0054] Figure 7 This is a diagram illustrating the minimum configuration requirements for the document type, input fields, and reference fields for the reference input function in one embodiment.
[0055] Figure 8 This is a schematic diagram of the input reference function configuration interface in one embodiment;
[0056] Figure 9 This is a schematic diagram of a document data entry interface in one embodiment;
[0057] Figure 10 This is a structural block diagram of a document entry interactive device in one embodiment;
[0058] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0060] The document entry interaction method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. Specifically, terminal 102 can run a client, and server 104 can run a server that communicates with the client. Terminal 102 interacts with server 104 through the client. The data storage system can store the data required for the document entry interaction method during execution. The data storage system can be integrated on server 104, or it can be located in the cloud or on other servers. It is understood that the above document entry interaction method can also be executed independently on terminal 102, which can be, but is not limited to, various desktop computers, laptops, tablets, or mobile terminals. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0061] based on Figure 1 In the application environment, terminal 102 can display a document data entry interface, which is used to enter data for documents of the target document type. On the document data entry interface, terminal 102 displays the entry fields of the target document type and the corresponding entry controls. In response to the focus indicator moving to the target entry control corresponding to the target entry field, terminal 102 displays an entry reference data interface outside the target entry control. On the entry reference data interface, terminal 102 displays the data query results for the reference fields pre-configured for the target document type and the target entry field. At least one of the interfaces displayed by terminal 102 or the data displayed on the interface can be obtained by terminal 102 from its local storage or by terminal 102 through interaction with server 104.
[0062] The embodiments of this application can be applied to various Enterprise Resource Planning (ERP) systems (or enterprise management systems), including but not limited to production management systems, supply chain systems, human resources systems, financial systems, tax systems, and auditing systems.
[0063] In one embodiment, such as Figure 2 As shown, a document entry interaction method is provided. This embodiment mainly applies this method to... Figure 1 Taking the terminal in the example, the method includes the following steps:
[0064] Step 202: Display the document data entry interface. The document data entry interface is used to enter data for documents of the target document type.
[0065] The interface refers to the area displayed on the terminal for human-computer interaction. The document data entry interface is used to enter the data required for a document of the target document type; it can be a window, a tab within a window, or a separate page. The document data entry interface can be the interface of an enterprise management system, such as a financial management system or a supply chain management system. The target document type is a document type for which the data entry reference function is enabled. The data entry reference function refers to the function that processes data using the document entry interaction method of this application. The document type refers to the category to which the corresponding document belongs; a document is an electronic voucher with a specific data organization structure. The document type can be a purchase receipt, sales order, accounts receivable, accounts payable, or others.
[0066] In one embodiment, with the global input reference function enabled, the terminal, in response to an input trigger event for any inputtable document, displays a document data input interface for that document and triggers subsequent steps 204 to 208. The document type is the target document type. The input trigger event can be a click operation on the document's identification information, or a click operation on the input function in the document's edit menu. The document's identification information can be the document's name or a representative icon.
[0067] In one embodiment, the terminal may only respond to the data entry trigger event for a document of the target document type that is configured with the data entry reference function, display the document data entry interface for that document, and trigger the execution of subsequent steps 204 to 208.
[0068] Furthermore, the terminal can respond to an entry trigger event for any enterable document, determine whether the document type of the document belongs to the target document type; when it is determined to belong to the target document type, the document data entry interface for the document is displayed, and subsequent steps 204 to 208 are triggered; when it is determined not to belong to the target document type, steps 206 to 208 are not executed after step 204.
[0069] Step 204: On the document data entry interface, display the entry fields of the document of the target document type and the entry controls corresponding to the entry fields.
[0070] In this context, a field is an attribute of a series of data, constraining the data type of each piece of data in the series. An input field is a field in a document where data needs to be entered, indicating the data to be entered through the corresponding input control. For example, if a sales order is the target document type, the input field may include business type, ordering customer, order date, salesperson, or other fields that need to be entered into the sales order document. An input control is an operable object used for entering data; in this embodiment, it specifically refers to an operable object used to retrieve data of the type indicated by the input field corresponding to the input control in response to user operations. An input control may include at least one of a text input box, an option control, or an upload control.
[0071] In one embodiment, the data entry control may only include a data entry area for entering data, such as a text input box. In another embodiment, the data entry control may include a data entry area for entering data and interactive elements for responding to user actions, such as an option control or an upload control. In yet another embodiment, the data entry control may include not only a data entry area, or a data entry area and interactive elements, but also a prompt area for displaying input prompts related to the data entry control.
[0072] In one embodiment, the terminal can respond to an input trigger event for a document of a target document type, determine the layout of the input fields and corresponding input controls for that document type, and simultaneously draw the input fields and corresponding input controls displayed on the document data entry interface according to the layout. Specifically, the layout can be a matrix arrangement of input fields and corresponding input controls; alternatively, the layout can be adaptive based on the document's input fields and corresponding input controls, such as adaptively adjusting at least one of size, relative position, or spacing.
[0073] In one embodiment, the terminal can respond to an input trigger event for a document of a target document type, draw a document data entry interface, and then determine the arrangement of the input fields and corresponding input controls of the target document type relative to the document data entry interface. The terminal then draws the input fields and corresponding input controls presented in the document data entry interface according to this arrangement. Specifically, the arrangement can be a matrix arrangement of input fields and corresponding input controls; alternatively, the arrangement can be adaptive based on the document's input fields and corresponding input controls, such as adaptively adjusting at least one of the following: size, relative position, or spacing.
[0074] Step 206: In response to the focus indicator moving to the target input control corresponding to the target input field in the input field, the input reference data interface is displayed outside the target input control.
[0075] In this context, "focus" refers to the indicated position of the operator during human-computer interaction. Specifically, it can be the indicated position of the input device or the indicated position of the hand during touch. A focus indicator is an element that indicates the focus position; it can be visually visible or visually invisible. When this method is executed on a computer, the focus indicator can be a visually visible mouse pointer. When this method is executed on a mobile terminal, the focus indicator can be visually visible, such as a mouse pointer; it can also be visually invisible, such as when a certain input control is touched, the input control is selected by the focus indicator, meaning the focus indicator moves into that input control; when another position on the document entry interface is touched outside the input control selected by the focus indicator, the focus indicator moves out of the previous input control. The focus indicator can present different forms at and outside the target input control; the form can specifically include at least one of shape or color. The input reference data interface is an interface used to provide reference data required during input. The input reference data interface can be a window or a floating layer. A target input field is an input field among the displayed input fields that is configured with the input reference function, and a target input control corresponds to that target input field. A target input field can be one or more of the displayed input fields, and correspondingly, a target input control can also be one or more of the displayed input controls.
[0076] In one embodiment, the terminal responds to a focus indicator movement event and triggers the movement of the focus indicator; when the focus indicator moves to the position where the target entry control is displayed in the document data entry interface, the terminal displays the entry reference data interface at a position other than the position where the target entry control is displayed in the document data entry interface.
[0077] In one embodiment, after triggering the display of the input reference data interface, the terminal maintains the display position of the input reference data interface unchanged when the focus indicator moves within the target input control. In another embodiment, after triggering the display of the input reference data interface, when the focus indicator moves within the target input control, the terminal changes the display position of the input reference data interface in response to the movement of the focus indicator, and maintains the input reference data interface displayed outside the target input control.
[0078] In one embodiment, the position outside the target input control can specifically be a preset position relative to the target input control. The preset position is, for example, the position outside the target input control corresponding to one corner of the rectangular target input control. Specifically, the terminal can determine the position of the target input control and, in conjunction with preset directional and distance relationships, determine the preset position outside the target input control. In one embodiment, the position outside the target input control can be adaptively determined based on the interface layout outside the target input control.
[0079] In one embodiment, the terminal can determine the location for displaying the input reference data interface outside the target input control based on the position of the focus indicator relative to the target input control at the time it enters the target input control, and in conjunction with the position of the target input control, display the input reference data interface at that location. The input reference data interface is displayed entirely outside the target input control, and its display position is related to the display position of the target input control, as well as the position of the focus indicator relative to the target input control at the time it enters the target input control.
[0080] In one embodiment, the terminal may display an input reference data interface at a location other than the target field and the target input control in response to the focus indicator moving to the display position of the target input field. The terminal may also display an input reference data interface at a location other than the target field and the target input control in response to the focus indicator moving to the target input control corresponding to the target input field within the input fields.
[0081] Step 208: On the reference data entry interface, the data query results for the reference fields pre-configured for the target document type and target entry fields are displayed.
[0082] The reference field is the field corresponding to the data that needs to be referenced when entering data for the target data field of the target document type. When multiple reference fields are configured for the target document type and the target data field, the data query results corresponding to multiple reference fields can be displayed on the same data entry reference interface.
[0083] In one embodiment, the terminal can obtain an input reference configuration record pre-configured for the target document type and the target input field, thereby determining the reference field according to the mapping relationship between the target input field and the reference field in the input reference configuration record, and obtaining the data query result of the reference field and displaying it in the input reference data interface.
[0084] In one embodiment, the data query result may include the result obtained by directly querying the reference field, or the result obtained by performing calculations based on the result obtained by directly querying the reference field. The data query result may also include the result obtained by querying fields associated with the reference field.
[0085] For example, when the target document type is a sales order and the target entry field is the ordering customer, the reference field can be the credit balance, and can further display the credit limit amount, the credit amount used, and the document amount associated with the credit balance.
[0086] In one embodiment, the terminal may, in response to the focus indicator moving to the target entry control corresponding to the target entry field in the entry field, obtain the data query results of the reference field pre-configured for the target document type and the target entry field, thereby displaying the entry reference data interface and the data query results presented on the entry reference data interface at a location outside the target entry control.
[0087] In one embodiment, the terminal may respond to the focus indicator moving to the target input control corresponding to the target input field in the input field, display the input reference data interface at a position outside the target input control, obtain the data query results of the reference field pre-configured for the target document type and the target input field, and then display the obtained data query results in the input reference data interface.
[0088] In the above document entry interaction method, the target entry control corresponding to the target entry field is displayed on the document data entry interface. When the focus indicator moves to the display position of the target entry control, the entry reference data interface can be displayed on the document data entry interface, and the data query results are displayed on the entry reference data interface. The entry reference data interface is displayed outside the display position of the target entry control, so viewing the data query results does not affect the entry of document data. Compared with the traditional method, the document data entry and data query results are viewed on the same interface, without the need to enter the data query results interface from the document entry interface, reducing the time spent switching interfaces. There is also no need to operate on the data query results interface, and the data query results can be viewed quickly. The document entry efficiency is higher and the computer resources consumed are less.
[0089] In one embodiment, such as Figure 3 As shown, the document entry interaction method also includes the step of adjusting the display of the entry reference data interface according to the positional relationship of the focus indicator relative to the target entry control, specifically including:
[0090] Step 302: With the focus indicator located at the target input control, continue displaying the input reference data interface.
[0091] In one embodiment, when the focus indicator is at any position of the target input control, the input reference data interface is always displayed, regardless of whether the current focus indicator is stationary or moving.
[0092] In one embodiment, the terminal can obtain the display range of the target input control and the indication position of the focus indicator. If the indication position of the focus indicator is within the display range of the target input control, it determines whether the input reference data interface is triggered to be displayed. If the input reference data interface is not triggered to be displayed, the terminal displays the input reference data interface outside the display range of the target input control and maintains the display of the input reference data interface. If the input reference data interface has been triggered to be displayed, the display of the input reference data interface is maintained.
[0093] The position indicated by the focus indicator is the position indicated by the indicator part of the focus indicator. For example, when the focus indicator is an arrow, its position is the position of the tip of the arrow. When the focus indicator is a hand shape, its position is the position pointed to by a specific finger in the hand shape.
[0094] In one embodiment, when the focus indicator is at any position of the target input control, the terminal always maintains the opacity of the input reference data interface at 100%, regardless of whether the current focus indicator is stationary or moving.
[0095] Opacity refers to the visibility of the reference data entry interface, and its value can range from 0 to 100%. When the opacity value is 0, the reference data entry interface is completely transparent and invisible, and is not displayed. When the opacity value is 100%, the reference data entry interface is completely opaque and visible, and is displayed.
[0096] Step 304: In response to the focus indicator moving away from the target input control, the input reference data interface is canceled.
[0097] In one embodiment, the terminal can determine whether a focus indicator move-out event has been triggered based on the position of the focus indicator relative to the target data entry control. Specifically, a focus indicator move-out event is determined to have been triggered when the focus indicator moves out of the boundary of the target data entry control. When the terminal determines that a focus indicator move-out event has been triggered, it triggers the cancellation of the display of the data entry reference interface. Cancellation of the data entry reference interface can be achieved by hiding the interface, deleting the independent layer on which the interface is drawn, or redrawing the portion covered by the reference interface within the document data entry interface.
[0098] In one embodiment, when the focus indicator first enters the target input control, the terminal draws an input reference data interface with 100% opacity outside the target input control; when the focus indicator moves within the target input control, the opacity of the input reference data interface remains at 100%; when the focus indicator moves out of the target input control, the opacity of the input reference data interface is adjusted to 0; when the focus indicator does not enter the target input control for the first time, the opacity of the input reference data interface is adjusted from 0 to 100%.
[0099] In this embodiment, when the focus indicator is located at the target data entry control, the reference data entry interface is kept displayed, allowing users to view the reference data while entering data without having to switch out of the document data entry interface. When the focus indicator moves away from the target data entry control, the reference data entry interface is de-displayed, without obscuring other fields in the document data entry interface, facilitating the entry of data in other fields. By responding to the movement of the focus indicator, the display of the reference data interface is controlled, making the operation simple, resulting in high document entry efficiency and low computer resource consumption.
[0100] In one embodiment, such as Figure 4 As shown, step 206 includes the following steps 402 to 406:
[0101] Step 402: When the focus indicator is on the document data entry interface, obtain the position indicated by the focus indicator.
[0102] The indicated position can be represented by coordinates, specifically the coordinates of the indicator part of the focus indicator relative to a specified reference object. The specified reference object can be the display area of the terminal, the data entry interface of the document, or the entry control closest to the indicator part of the focus indicator.
[0103] In one embodiment, when the focus indicator is outside the document data entry interface, the position of the focus indicator is obtained by referring to the display area of the terminal; when the focus indicator is inside the document data entry interface and the distance to any entry control exceeds a preset distance, the position of the focus indicator is obtained by referring to the document data entry interface; when the focus indicator is inside the document data entry interface and the nearest entry control does not exceed a preset distance, the position of the focus indicator is obtained by referring to the nearest entry control.
[0104] In one embodiment, the terminal can acquire the position of the focus indicator if the focus indicator remains active for any preset duration; the terminal can enter the input reference function sleep state and no longer acquire the position of the focus indicator if the focus indicator remains stationary for a preset duration; the terminal can exit the input reference function sleep state in response to the movement of the focus indicator after entering the input reference function sleep state, and then acquire the position of the focus indicator.
[0105] Step 404: In response to the movement of the focus indicator, when the indicator position is within the display range of the target entry control corresponding to the target entry field in the entry field, a query is triggered to retrieve the entry reference configuration record for the target document type and the target entry field.
[0106] The entry reference configuration record is a record generated for configuring reference fields for document types and entry fields. Each entry reference configuration record includes at least one document type, one entry field, and one reference field, and may also include other content such as remarks, creation time, or modification time.
[0107] Step 406: When the entry reference configuration record for the target document type and target entry field is found, the entry reference data interface is displayed outside the target entry control.
[0108] In one embodiment, when a terminal queries the entry reference configuration record for a target document type and a target entry field, it can traverse the entry reference configuration record table to determine whether the document type in the traversed entry reference configuration record is the target document type and whether the entry field is the target entry field. If the document type in the traversed entry reference configuration record is the target document type and the entry field is the target entry field, the entry reference configuration record for the target document type and the target entry field is found, and the entry reference data interface is displayed outside the target entry control.
[0109] In one embodiment, when a terminal queries an entry reference configuration record for a target document type and a target entry field, it can query an entry reference configuration record for the target document type and the target entry field from a quick query table. The quick query table records the mapping relationship between document types and entry fields. When a mapping relationship exists between the target document type and the target entry field in the quick query table, it is determined that an entry reference configuration record for the target document type and the target entry field has been found.
[0110] The quick lookup table can be stored on the terminal or on the server. It can be updated in real-time, periodically, or in response to the generation of reference configuration records.
[0111] In this embodiment, when the focus indicator is within the display range of the target data entry control, a query is triggered to retrieve the data entry reference configuration records for the target document type and the target data entry field. If the data entry reference configuration records for the target document type and the target data entry field are retrieved, then the target document type and the target data entry field are configured with the data entry reference function. This enables the display of the data entry reference data interface in response to the focus indicator moving to the target data entry control, providing a basis for providing data query results when entering document data, thereby improving document entry efficiency and reducing computer resource consumption.
[0112] In one embodiment, such as Figure 5 As shown, the reference fields pre-configured for the target document type and target entry fields are determined based on the entry reference configuration record. The document entry interaction method also includes the step of configuring the entry reference configuration record through the entry reference function configuration interface, which includes the following steps 502 to 508:
[0113] Step 502: Display the input reference function configuration interface.
[0114] The reference entry configuration interface is used to generate reference entry configuration records. The terminal displays this interface in response to creating or modifying reference entry configuration records.
[0115] In one embodiment, the terminal may display the reference entry function configuration interface in response to a configuration trigger event for the reference entry function. The configuration trigger event for the reference entry function may be a click operation on the identifier information of the reference entry function. The identifier information of the reference entry function may be an icon or a name representing the reference entry function; it may also be an "Add" or "Modify" option in a menu.
[0116] Step 504: Display the document type configuration item, the entry field configuration item, and the reference field configuration item in the entry reference function configuration interface.
[0117] The document type configuration item is a configuration control used to configure the document type for which the data entry reference function is enabled; the data entry field configuration item is a configuration control used to configure the data entry fields in the document of that document type for which the data entry reference function is enabled; and the reference field configuration item is a configuration control used to configure the reference fields for that data entry field. In one embodiment, the terminal may also display a remarks configuration item for configuring remarks and a function switch configuration item for configuring whether to enable the corresponding data entry reference configuration record. The configuration controls may be option controls, text input boxes, or a combination of option controls and text input boxes.
[0118] Step 506: In response to the configuration operations on the document type configuration item, the entry field configuration item, and the reference field configuration item, respectively, determine the target document type, the target entry field, and the reference field to be configured.
[0119] The configuration operation can be a click operation on the identification information of document type configuration items, entry field configuration items, or reference field configuration items. The identification information can be the name of the document type configuration item, entry field configuration item, or reference field configuration item.
[0120] Step 508: Generate an entry reference configuration record that includes the target document type, target entry fields, and the correspondence between reference fields.
[0121] In one embodiment, the terminal can display a separate configuration page in the input reference function configuration interface. This page displays document type configuration items, input field configuration items, and reference field configuration items. In response to a configuration completion event, an input reference configuration record is generated, the configuration page is closed, and the record is displayed in the input reference configuration record table within the input reference function configuration interface. This record includes the correspondence between the target document type, target input fields, and reference fields. The configuration completion event can be a click on a button indicating configuration completion, or it can be the completion of configuring the target document type, target input fields, and reference fields.
[0122] In one embodiment, the terminal can display an input reference configuration record table on the input reference function configuration interface. The input reference configuration record table displays configurable input reference configuration records. Each record displays a document type configuration item, an input field configuration item, and a reference field configuration item. In response to configuration operations on the document type configuration item, input field configuration item, and reference field configuration item, the corresponding configured document type, input field, and reference field are displayed at the document type configuration item, input field configuration item, and reference field configuration item, respectively, to generate an input reference configuration record. The input reference configuration record includes the correspondence between the target document type, the target input field, and the reference field.
[0123] In this embodiment, an input reference function configuration interface is displayed, showing document type configuration items, input field configuration items, and reference field configuration items. In response to the configuration operation, the input reference function configures the correspondence between the target document type, target input field, and reference field in the input reference function configuration interface. This provides a basis for displaying data query results in response to the focus indicator moving to the target input control. Moreover, it generates an input reference configuration record including the correspondence between the target document type, target input field, and reference field. When the focus indicator moves to an input field, it can quickly query whether the input field is the target input field in the target document type, thereby providing the possibility of quickly displaying data query results, thus improving document input efficiency and reducing computer resource consumption.
[0124] In one embodiment, such as Figure 6 As shown, displaying the reference data input interface outside the target input control includes the following steps 602 to 608:
[0125] Step 602: Obtain the data query results for the reference fields pre-configured for the target document type and target input fields.
[0126] In one embodiment, the terminal may, in response to the focus indicator moving to the target input control corresponding to the target input field in the input field, determine the reference field pre-configured for the target document type and target input field based on the correspondence between the target document type, target input field, and reference field in the input reference configuration record, and obtain the data query result based on the reference field. This data query result is used to determine the interface size of the input reference data interface to be displayed, and is used to display it in the input reference data interface.
[0127] Step 604: Determine the display size of the data query results.
[0128] The data query results may include characters, which may include at least one of numbers, letters, or Chinese characters. Characters may also include specific symbols, such as punctuation marks.
[0129] The data display size refers to the size of the character area when displaying data query results. The display format of the data query results can use preset formats, such as preset font size, preset character spacing, and preset line spacing. The display format of the data query results can also be related to the interface size of the document data entry interface; for example, the larger the interface size, the larger the font size. The display format of the data query results can also be related to the format of the fields entered in the document data entry interface; for example, the larger the font size of the entered fields, the larger the font size of the data query results.
[0130] In one embodiment, the data display size may include a data display width and a data display height. At least one of the data display width or height is determined based on the data query results. When one of the data display width or height is determined based on the data query results, the other may be a preset value. The data display size may be the coordinates of the two opposite vertices of a rectangular area when the data query results are displayed as such.
[0131] Step 606: Based on the data display size, determine the interface size of the reference data entry interface that can accommodate the data query results.
[0132] The reference data entry interface may include a data query results display area, and may also include other preset areas, such as a title display area or a reserved blank area. The reference data entry interface may be rectangular, and its dimensions may include the interface width and height.
[0133] In one embodiment, the terminal can determine the interface width of the reference data entry interface based on the data display width of the data query results, and determine the interface height of the reference data entry interface based on the data display height of the data query results. The interface width and interface height can be equal to or greater than the data display width and data display height, respectively.
[0134] Step 608: Display the reference data entry interface outside the target entry control, according to the interface size.
[0135] In one embodiment, the terminal can determine the display range of the target input control, and based on the display range, determine the display position and orientation of the input reference data interface outside the display range relative to the input reference data interface of the target input control, and then display the input reference data interface according to the interface size based on the display position and orientation of the input reference data interface.
[0136] In this embodiment, the data query results of the reference fields pre-configured for the target document type and target input fields are obtained, and the data display size of the data query results is determined. Based on the data display size, the interface size of the input reference data interface that can accommodate the data query results is determined, ensuring that the data query results can be fully displayed in the input reference data interface. Then, the input reference interface is displayed in a position outside the target input controls according to the interface size, providing a basis for displaying the data query results in the input reference interface later, making it easier to view the data query results, thereby improving document input efficiency and reducing computer resource consumption.
[0137] In one embodiment, when the input combination reference function is enabled, if the target input field belongs to the input field combination, the input reference data interface is displayed outside the corresponding input control of each input field in the input field combination, and the input reference data interface displays the data query results of each input field in the input field combination; the input field combination includes at least two input fields of the target document type that are configured with the input reference function.
[0138] The "Entry Reference" function is a feature that triggers the entry reference data interface based on a combination of entry fields. This combination includes at least two entry fields configured with the entry reference function. An entry field configured with the entry reference function means that the entry reference data interface is triggered when the focus indicator moves to the entry control of that entry field.
[0139] In one embodiment, the terminal can activate the input combination reference function in response to an operation on a preset function key. The preset function key can be a physical key or a virtual key, a single key or a combination of keys, a key with a specific function or any key within a specified range. Operations on the preset function key can be various methods such as single-click, double-click, or long-press.
[0140] In one embodiment, the terminal can enable the combined reference function on the document data entry interface of the target document type in response to the operation of the function switch for the combined reference function. The function switch can be an icon representing the combined reference function or the name of the combined reference function.
[0141] In one embodiment, the terminal may, in response to the focus indicator moving to the target input control corresponding to the target input field in the input field, determine the display position of the input control corresponding to each input field in the input field combination when it is determined that the target field belongs to the input field combination, thereby displaying the input reference data interface at a position other than the determined display positions of all input controls.
[0142] In one embodiment, each input field in the input field combination has a corresponding input reference data interface, and each input reference data interface is used to display the data query results corresponding to the corresponding input field. In another embodiment, all input fields in the input field combination correspond to one input reference data interface, and the data query results corresponding to all input fields in the input field combination are displayed in this input reference data interface. In yet another embodiment, multiple input fields in the input field combination that are close in display position correspond to the same input reference data interface, used to display the data query results corresponding to each of these multiple input fields.
[0143] In this embodiment, when the input combination reference function is enabled, if the target input field belongs to the input field combination, the data query results corresponding to all input fields in the target input field can be displayed at the input control of each input field in the target input field. This makes it convenient to refer to the data query results of other input fields of the same target document type when entering data for one input field of the document, thereby improving the document input efficiency.
[0144] In one embodiment, an application scenario for the document entry interaction method is provided, as follows:
[0145] The enterprise management account is configured with permissions for the data entry reference function and document entry permissions. Terminals log in using the enterprise management account. Terminals can respond to trigger events for the data entry reference function and display the data entry reference function configuration interface. The data entry reference function configuration interface displays document type configuration items, data entry field configuration items, and reference field configuration items.
[0146] The terminal responds to configuration operations on document type configuration items, input field configuration items, and reference field configuration items, respectively, determining the target document type, target input field, and reference field, and displays them in the input / reference function configuration interface. For example... Figure 7 As shown, configuring the data entry reference function includes at least the configuration of document type, data entry fields, and reference fields. For example... Figure 8 As shown in the input reference function configuration interface, the configured target document type, target input field, and reference field can be a purchase receipt, material, or real-time inventory. The server generates and saves an input reference configuration record that includes the correspondence between the target document type, target input field, and reference field.
[0147] The terminal responds to a document entry trigger event and displays the document data entry interface. In this interface, the terminal displays the entry fields for the target document type and the corresponding entry controls. When the focus indicator moves to the entry control of an entry field, the terminal triggers a query for entry reference configuration records for that target document type and entry field. If a record is found, the entry field is identified as the target entry field, and the corresponding entry control is identified as the target entry control.
[0148] The terminal, based on the target data entry control, determines the display position of the reference data entry interface outside the display range of the target data entry control, and displays the reference data entry interface at this position. For the target document type and target data entry field, it determines the corresponding reference field, retrieves the data query results for the reference field, and displays these results on the reference data entry interface. For example... Figure 9 As shown in the document data entry interface, when the target document type is a sales order, the target entry field is the ordering customer, and the reference field is the credit balance, when the focus indicator moves to the target entry control corresponding to the ordering customer, the entry reference data interface and data query results, as shown in 901, are displayed outside the target entry control.
[0149] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0150] Based on the same inventive concept, this application also provides a document entry interaction device for implementing the document entry interaction method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of the one or more document entry interaction device embodiments provided below can be found in the limitations of the document entry interaction method described above, and will not be repeated here.
[0151] In one embodiment, such as Figure 10 As shown, a document entry interactive device 1000 is provided, including: an interface display module 1010, a focus indicator response module 1020, and a result display module 1030, wherein:
[0152] The interface display module 1010 is used to display the document data entry interface, which is used to enter data of the document of the target document type. The document data entry interface displays the entry fields of the document of the target document type and the entry controls corresponding to the entry fields.
[0153] The focus indicator response module 1020 is used to display the input reference data interface at a position outside the target input control in response to the focus indicator moving to the target input control corresponding to the target input field in the input field.
[0154] The results display module 1030 is used to display the data query results of the reference fields pre-configured for the target document type and the target input field on the reference data entry interface.
[0155] In one embodiment, the focus indicator response module 1020 is further configured to maintain the display of the input reference data interface when the focus indicator is located at the target input control; and to cancel the display of the input reference data interface in response to the focus indicator moving away from the target input control.
[0156] In one embodiment, the focus indicator response module 1020 is further configured to: obtain the indication position of the focus indicator when the focus indicator is in the document data entry interface; in response to the movement of the focus indicator, when the indication position is within the display range of the target entry control corresponding to the target entry field in the entry field, trigger a query for the entry reference configuration record for the target document type and the target entry field; when the entry reference configuration record for the target document type and the target entry field is found, display the entry reference data interface at a position outside the target entry control.
[0157] In one embodiment, the reference fields pre-configured for the target document type and target input fields are determined based on the input reference configuration record. The document input interaction device 1000 also includes a configuration record generation module. The configuration record generation module is used to display the input reference function configuration interface; display document type configuration items, input field configuration items, and reference field configuration items in the input reference function configuration interface; respond to the configuration operations on the document type configuration items, input field configuration items, and reference field configuration items respectively; determine the configured target document type, target input field, and reference field; and generate an input reference configuration record including the correspondence between the target document type, target input field, and reference field.
[0158] In one embodiment, the focus indicator response module 1020 is further configured to obtain the data query results of the reference field pre-configured for the target document type and the target input field; determine the data display size of the data query results; determine the interface size of the input reference data interface that can accommodate the data query results based on the data display size; and display the input reference data interface at a location outside the target input control according to the interface size.
[0159] In one embodiment, when the input combination reference function is enabled, if the target input field belongs to the input field combination, the input reference data interface is displayed outside the corresponding input control of each input field in the input field combination, and the input reference data interface displays the data query results of each input field in the input field combination; the input field combination includes at least two input fields of the target document type that are configured with the input reference function.
[0160] In the aforementioned document entry interactive device, a target entry control corresponding to the target entry field is displayed on the document data entry interface. When the focus indicator moves to the display position of the target entry control, an entry reference data interface can be displayed on the document data entry interface, and the data query results are displayed on the entry reference data interface. The entry reference data interface is displayed outside the display position of the target entry control, so viewing the data query results does not affect the entry of document data. Compared with traditional methods, document data entry and viewing of data query results are performed on the same interface, without the need to enter the data query results interface from the document entry interface, reducing the time spent switching interfaces. There is also no need to operate on the data query results interface, allowing for quick viewing of data query results. Document entry efficiency is higher, and less computer resources are consumed.
[0161] Each module in the aforementioned document entry interactive device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0162] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a document entry interactive method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0163] Those skilled in the art will understand that Figure 11The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0164] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0165] Displays the document data entry interface, which is used to enter data for documents of the target document type;
[0166] The document data entry interface displays the entry fields of the target document type and the corresponding entry controls.
[0167] In response to the focus indicator moving to the target input control corresponding to the target input field in the input field, the input reference data interface is displayed outside the target input control;
[0168] The reference data entry interface displays the data query results for the reference fields pre-configured for the target document type and target entry fields.
[0169] In one embodiment, the processor, when executing the computer program, further performs the following steps: maintaining the display of the input reference data interface while the focus indicator is at the target input control; and canceling the display of the input reference data interface in response to the focus indicator moving away from the target input control.
[0170] In one embodiment, when the processor executes the computer program, it further implements the following steps: when the focus indicator is on the document data entry interface, it obtains the indication position of the focus indicator; in response to the movement of the focus indicator, when the indication position is within the display range of the target entry control corresponding to the target entry field in the entry field, it triggers a query for the entry reference configuration record for the target document type and the target entry field; when the entry reference configuration record for the target document type and the target entry field is found, it displays the entry reference data interface at a position outside the target entry control.
[0171] In one embodiment, the reference fields pre-configured for the target document type and target entry field are determined based on the entry reference configuration record. When the processor executes the computer program, it also performs the following steps: displaying the entry reference function configuration interface; displaying document type configuration items, entry field configuration items, and reference field configuration items in the entry reference function configuration interface; determining the configured target document type, target entry field, and reference field in response to the configuration operations on the document type configuration items, entry field configuration items, and reference field configuration items; and generating an entry reference configuration record that includes the correspondence between the target document type, target entry field, and reference field.
[0172] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining data query results for reference fields pre-configured for the target document type and the target input field; determining the data display size of the data query results; determining the interface size of the input reference data interface that can accommodate the data query results based on the data display size; and displaying the input reference data interface in accordance with the interface size at a location outside the target input control.
[0173] In one embodiment, when the processor executes the computer program, it further implements the following: when the input combination reference function is enabled, and the target input field belongs to the input field combination, the input reference data interface is displayed outside the corresponding input control of each input field in the input field combination, and the input reference data interface displays the data query results of each input field in the input field combination; the input field combination includes at least two input fields of the target document type that are configured with the input reference function.
[0174] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments. In another embodiment, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0175] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0176] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0177] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0178] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A document entry interactive method, characterized in that, The method includes: Display the input reference function configuration interface; display document type configuration items, input field configuration items, and reference field configuration items in the input reference function configuration interface; respond to the configuration operations of the document type configuration items, the input field configuration items, and the reference field configuration items respectively, determine the configured target document type, target input field, and reference field; generate an input reference configuration record including the correspondence between the target document type, the target input field, and the reference field; When the global input reference function is enabled, in response to an input trigger event for any inputable document, a document data input interface for the document is displayed. The document data input interface is used to input data of the document of the target document type. The target document type is a document type for which the input reference function is enabled. The document is an electronic voucher with a specific data organization structure. The document data entry interface displays the entry fields of the document belonging to the target document type and the entry controls corresponding to the entry fields; In response to the focus indicator moving to the target entry control corresponding to the target entry field in the entry field, a query is triggered for the entry reference configuration record for the target document type and the target entry field. When the entry reference configuration record for the target document type and the target entry field is found, a reference field corresponding to the target document type and the target entry field is determined based on the entry reference configuration record. Data query results are obtained for the reference field, and the entry reference data interface is displayed at a position outside the target entry control. The target entry field is the entry field among the displayed entry fields that has the entry reference function configured. The reference data entry interface displays the data query results obtained for the reference fields, including: when multiple reference fields are configured for the target document type and the target entry field, displaying the data query results corresponding to multiple reference fields on the same reference data entry interface.
2. The method according to claim 1, characterized in that, The method further includes: When the focus indicator is located at the target input control, the input reference data interface remains displayed; In response to the focus indicator moving away from the target input control, the input reference data interface is canceled from display.
3. The method according to claim 1, characterized in that, In response to the focus indicator moving to the target entry control corresponding to the target entry field in the entry field, a query is triggered for the entry reference configuration record for the target document type and the target entry field. When the entry reference configuration record for the target document type and the target entry field is found, a reference field corresponding to the target document type and the target entry field is determined based on the entry reference configuration record. Data query results are obtained for the reference field, and an entry reference data interface is displayed at a location outside the target entry control, including: When the focus indicator is on the document data entry interface, obtain the position indicated by the focus indicator; In response to the movement of the focus indicator, when the indicator position is within the display range of the target entry control corresponding to the target entry field in the entry field, a query is triggered to retrieve the entry reference configuration record for the target document type and the target entry field; When an entry reference configuration record for the target document type and the target entry field is found, the reference field corresponding to the target document type and the target entry field is determined based on the entry reference configuration record. Data query results are obtained for the reference field, and the entry reference data interface is displayed outside the target entry control.
4. The method according to claim 1, characterized in that, The step of displaying the reference data input interface at a location outside the target input control includes: Obtain the data query results for the target document type and the reference fields pre-configured for the target input field; Determine the display size of the data query results; Based on the data display size, determine the interface size of the input reference data interface that can accommodate the data query results; The input reference data interface is displayed at a location outside the target input control, according to the interface size.
5. The method according to any one of claims 1 to 4, characterized in that, When the input combination reference function is enabled, and the target input field belongs to the input field combination, the input reference data interface is displayed outside the corresponding input control of each input field in the input field combination, and the input reference data interface displays the data query results of each input field in the input field combination; the input field combination includes at least two input fields of the target document type that are configured with the input reference function.
6. A document entry interactive device, characterized in that, The device includes: The configuration record generation module is used to display the input reference function configuration interface; the input reference function configuration interface displays document type configuration items, input field configuration items, and reference field configuration items; in response to configuration operations on the document type configuration items, the input field configuration items, and the reference field configuration items, the module determines the configured target document type, target input field, and reference field; and generates an input reference configuration record including the correspondence between the target document type, the target input field, and the reference field. The interface display module, when the global input reference function is enabled, responds to an input trigger event for any inputable document and displays a document data entry interface for that document. The document data entry interface is used to enter data for the document of the target document type; the target document type is a document type for which the input reference function is enabled; the document is an electronic voucher with a specific data organization structure; the document data entry interface displays the input fields of the document belonging to the target document type and the corresponding input controls for those fields. The focus indicator response module is used to respond to the focus indicator moving to the target input control corresponding to the target input field in the input field, triggering a query for the input reference configuration record for the target document type and the target input field. When the input reference configuration record for the target document type and the target input field is found, the reference field corresponding to the target document type and the target input field is determined based on the input reference configuration record, the data query result is obtained for the reference field, and the input reference data interface is displayed at a position outside the target input control; the target input field is the input field among the displayed input fields that is configured with the input reference function; The results display module is used to display the data query results obtained for the reference field on the input reference data interface, including: when multiple reference fields are configured for the target document type and the target input field, displaying the data query results corresponding to multiple reference fields on the same input reference data interface.
7. The apparatus according to claim 6, characterized in that, The focus indicator response module is also used to maintain the display of the input reference data interface when the focus indicator is located at the target input control; In response to the focus indicator moving away from the target input control, the input reference data interface is canceled from display.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.