CN113051883A - Voucher generation method and device, computer equipment and storage medium - Google Patents
Voucher generation method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113051883A CN113051883A CN202110308646.6A CN202110308646A CN113051883A CN 113051883 A CN113051883 A CN 113051883A CN 202110308646 A CN202110308646 A CN 202110308646A CN 113051883 A CN113051883 A CN 113051883A
- Authority
- CN
- China
- Prior art keywords
- entry
- source
- document
- displaying
- associated entry
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000011144 upstream manufacturing Methods 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 238000013501 data transformation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a certificate generation method, a certificate generation device, a computer device and a storage medium. The method comprises the following steps: displaying a voucher template configuration page comprising a basic information area and a voucher entry area; displaying the identifier of the selected source document and the identifier of the associated document in the basic information area; displaying a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document in the voucher entry area; responding to configuration operation of source entries in the source entry, and displaying corresponding source entry contents; displaying the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry; and generating a certificate according to the source entry and the associated entry. By adopting the method, the efficiency of generating the voucher can be improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a credential generation method and apparatus, a computer device, and a storage medium.
Background
With the development of computer technology, daily work often needs to acquire data of different types of documents through a computer and generate required target certificates. At present, a method for acquiring different types of documents and combining the documents to generate required certificates through a computer is to select each document type on one interface, then to configure different certificate information for each document type through respective corresponding templates to generate the certificates. That is, different types of documents require separate configuration of their respective credential template information before the target credential is generated.
Different voucher information is configured for each bill type through the corresponding templates, and if more target bill information is configured, larger workload and time are consumed, so that the efficiency of generating the voucher is reduced.
Disclosure of Invention
In view of the above, it is necessary to provide a credential generation method, apparatus, computer device and storage medium capable of improving efficiency.
A credential generation method, the method comprising:
displaying a voucher template configuration page comprising a basic information area and a voucher entry area;
displaying the identifier of the selected source document and the identifier of the associated document in the basic information area;
displaying a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document in the voucher entry area;
responding to configuration operation of source entries in the source entry, and displaying corresponding source entry contents;
displaying the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry;
and generating a certificate according to the source entry and the associated entry.
In one embodiment, the displaying, at an associated entry corresponding to the source entry in the associated entry, associated entry content determined according to a logical relationship between the associated entry and the source entry includes:
when the source entry has a preset direct relationship with a corresponding associated entry in the associated entry, determining a direct logic relationship between the associated entry and the source entry;
and displaying the content of the associated entry determined according to the direct logic relationship at the associated entry.
In one embodiment, the displaying, at an associated entry corresponding to the source entry in the associated entry, associated entry content determined according to a logical relationship between the associated entry and the source entry includes:
when the source entry has a preset indirect relationship with a corresponding association entry in the association entry, determining an indirect logical relationship between the source entry and the association entry based on a first upstream document of the source document and a second upstream document of the association document; the first upstream document and the second upstream document are of the same type;
and displaying the content of the associated entry determined according to the indirect logical relationship at the associated entry.
In one embodiment, the displaying, at an associated entry corresponding to the source entry in the associated entry, associated entry content determined according to a logical relationship between the associated entry and the source entry includes:
when the source entry and the corresponding associated entry in the associated entry have a preset relationship, displaying the content of the associated entry determined according to the preset relationship at the associated entry;
when the source entry does not have a preset relation with the corresponding associated entry in the associated entry, displaying a public field setting page;
determining a field association logic relationship between the source entry and the association entry based on the public field between the source receipt and the association receipt configured in the public field setting page;
and displaying the content of the associated entry determined according to the field associated logical relationship at the associated entry.
In one embodiment, the generating a credential according to the source entry and the associated entry includes:
and when the mode of generating the voucher configured in the basic information area is a one-to-one mode, corresponding to each order in the order range item in the source entry, generating a corresponding voucher according to the source entry and the associated entry.
In one embodiment, the generating a credential according to the source entry and the associated entry includes:
when the mode of generating the voucher configured in the basic information area is a total gathering mode, merging entries in the vouchers generated corresponding to the orders;
and removing the same entry from the first intermediate certificate obtained after merging the entries to obtain the certificates in all the summarizing modes.
In one embodiment, the generating a credential according to the source entry and the associated entry includes:
when the mode of generating the voucher configured in the basic information area is a matching and summarizing mode, classifying the vouchers generated corresponding to the orders according to matching fields, and respectively merging entries in the vouchers of all classes to obtain at least one second intermediate voucher;
and removing the same entry from at least one second intermediate certificate to obtain at least one certificate in a matching and summarizing mode.
An apparatus for credential generation, the apparatus comprising:
the display module is used for displaying a voucher template configuration page comprising a basic information area and a voucher entry area;
the configuration module is used for displaying the identifier of the selected source bill and the identifier of the associated bill in the basic information area; displaying a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document in the voucher entry area;
the response module is used for responding to the configuration operation of the source entry in the source entry and displaying the corresponding content of the source entry;
the determining module is used for displaying the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry;
and the generating module is used for generating a certificate according to the source entry and the associated entry.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
displaying a voucher template configuration page comprising a basic information area and a voucher entry area;
displaying the identifier of the selected source document and the identifier of the associated document in the basic information area;
displaying a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document in the voucher entry area;
responding to configuration operation of source entries in the source entry, and displaying corresponding source entry contents;
displaying the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry;
and generating a certificate according to the source entry and the associated entry.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
displaying a voucher template configuration page comprising a basic information area and a voucher entry area;
displaying the identifier of the selected source document and the identifier of the associated document in the basic information area;
displaying a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document in the voucher entry area;
responding to configuration operation of source entries in the source entry, and displaying corresponding source entry contents;
displaying the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry;
and generating a certificate according to the source entry and the associated entry.
According to the voucher generation method, the device, the computer equipment and the storage medium, the user only needs to configure the voucher template basic information of the source voucher in the basic information area in the voucher template configuration page, only needs to be associated with the associated voucher, the voucher template basic information of the associated voucher does not need to be additionally configured, and configuration operation of the voucher template basic information of the associated voucher is omitted. After configuring the basic information of the voucher template of the source document in the basic information area and associating the basic information with the associated document, a user only needs to configure the source entry of the source document in the voucher entry area in the voucher template configuration page to obtain the content of the source entry, and determine the content of the associated entry of the associated document through the logical relationship, so that the configuration operation of the associated entry of the voucher template for obtaining the content of the associated entry is omitted. The user completes basic information configuration of the source document and source entry configuration of the source document in the document template configuration page, the terminal can automatically determine the associated entry content of the associated entry of the associated document through the logical relationship, and generates the document according to the associated entry and the source entry, so that the document generation efficiency is improved.
Drawings
FIG. 1 is a flowchart illustrating a credential generation method in one embodiment;
FIG. 2 is a diagram of a credential template configuration page in one embodiment;
FIG. 3 is a diagram of the basic information area of a credential template configuration page in one embodiment;
FIG. 4 is a diagram illustrating a credential entry area of a credential template configuration page in one embodiment;
FIG. 5 is a diagram illustrating a credential entry area of a credential template configuration page in another embodiment;
FIG. 6 is a flowchart of credential template configuration in one embodiment;
FIG. 7 is a diagram of a common field settings page in one embodiment;
FIG. 8 is a flow diagram that illustrates the determination of associated entry content via logical relationships, according to one embodiment;
FIG. 9 is a schematic flow diagram illustrating credential generation in one embodiment;
FIG. 10 is a block diagram showing the structure of a credential generating device in one embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In an embodiment, as shown in fig. 1, a credential generation method is provided, and this embodiment is illustrated by applying the method to a terminal, and it is to be understood that the method may also be applied to a server, and may also be applied to a system including the terminal and the server, and is implemented by interaction between the terminal and the server. In this embodiment, the method includes the steps of:
The basic information area is an area where basic information of the credential template is arranged. The certificate entry area is an area of the certificate entry associated with the configured basic information. The voucher template configuration page is a page for configuring the voucher template, which can be observed by naked eyes.
Specifically, after the user triggers the operation of the credential template configuration, the terminal responds to the triggering operation of the user credential template configuration and displays a credential template configuration page comprising a basic information area and a credential entry area.
In one embodiment, the terminal can load the basic information area and the certificate entry area into the certificate template configuration page at the same time, and can also load the basic information area and the certificate entry area into the certificate template configuration page according to a preset sequence. The position relationship between the basic information area and the certificate entry area can be an up-down arrangement relationship or a left-right arrangement relationship.
Referring to FIG. 2, a diagram of a credential template configuration page is shown. The document template configuration page 200 displays document template details under the document template column, which includes a basic information area 201 and a document entry area 202.
And step 204, displaying the identifier of the selected source document and the identifier of the associated document in a basic information area.
The source document is a source document and is used as a main basis for providing relevant information for generating the voucher. The associated document is a document associated with the source document.
In one embodiment, the source document may be one type of document and the associated document may be another type of document.
Specifically, after a user configures a source document and an associated document in a basic information area, a terminal responds to configuration operation of the user for the source document and the associated document, and displays an identifier of the selected source document and an identifier of the associated document in the basic information area.
In one embodiment, the identifier may be the name of each document or may be a special symbol.
Referring to FIG. 3, a diagram of the basic information area of a credential template configuration page is shown. In the basic information area, configuration items of a source document 301 and an associated document 302 are displayed. After the user configures the source document and the associated document in the basic information area, the terminal responds to the configuration operation of the user for the source document and the associated document, and displays the identifier 'financial card' of the source document and the identifier 'financial payable form' of the associated document in the basic information area.
In one implementation, the user may also configure basic information of other credential templates in the basic information area in addition to the identification of the source document and the associated document.
Referring to fig. 3, the user may also configure basic information of one or more credential templates of "accounting organization", "code", "name", and "business unit", etc. in the basic information area.
And step 206, displaying the source entry corresponding to the identifier of the source document and the associated entry corresponding to the identifier of the associated document in the voucher entry area.
Wherein, the source entry is the entry of the source document. And the associated entry is an entry of the associated document.
Specifically, after a user configures a source document and an associated document in a basic information area, the terminal responds to the operation of configuring the source document and the associated document by the user, adds an identifier of the source document configured by the user and an identifier of the associated document to a document entry area, and displays a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document.
In one embodiment, the terminal may display an entry that does not include an identifier of each document in the credential entry area, and after the user completes configuration of each document, add a column to each entry in the credential entry area to correspondingly display the identifier of the configured source document and the source entry, and correspondingly display the identifier of the configured associated document and the associated entry.
In a specific embodiment, as shown in the schematic diagram of the document entry area of the document template configuration page in fig. 4, there is already two rows of entries that do not contain the identifier of the source document and the identifier of the associated document. In the voucher entry area in this embodiment, one line corresponds to an entry of a document. After the user completes the configuration of each document, as shown in fig. 5, a column of "entry belongs" 502 is added to each entry in the voucher entry area by the terminal, so as to correspondingly display the identifier of the configured source document and the source entry, and correspondingly display the identifier of the configured associated document and the associated entry.
In a specific embodiment, as shown in the schematic view of the configuration flow of the credential template in fig. 6, after a user configures a source document and an associated document in a basic information area of a credential template configuration page, a terminal adds a column of "entry belonged" to each entry in a credential entry area in response to a configuration operation of the user for the source document, the associated document, and the associated document. And the user configures the source entry in the source entry, and the terminal analyzes the configuration information of the user for the source entry and displays the corresponding content of the source entry. And the terminal displays the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry.
And step 208, responding to the configuration operation of the source entry in the source entry, and displaying the corresponding source entry content.
Wherein, the source entry is an entry in the source entry. The source entry content is the content of the source entry.
Specifically, the user performs configuration operation on a source entry in the source entry, and the terminal displays corresponding source entry content in the source entry in response to the configuration operation of the user on the source entry in the source entry.
In an embodiment, a user may perform configuration operation only on a part of source entries in a plurality of source entries in a source entry, and the terminal may correspondingly display a part of configured source entry contents in the source entry in response to the configuration operation of the user on a part of source entries in the plurality of source entries in the source entry, while the source entries that are not configured may maintain the original source entry contents.
And 210, displaying the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry.
And the associated entry is an entry in the associated entry. The content of the associated entry is the content of the associated entry. The logical relationship may include a direct logical relationship, an indirect logical relationship, and a field association logical relationship.
Specifically, after the user configures the source entry, the terminal displays the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry.
Step 212, generating a voucher according to the source entry and the associated entry.
The voucher is proof of the amount access and the amount access details contained in the source entry and the associated entry.
Specifically, after determining the content of the associated entry, the terminal may generate a voucher for the amount entry and the amount exit and the detailed amount entry and exit included in the source entry and the associated entry according to the source entry and the associated entry.
In one embodiment, the terminal may generate the credential according to the source entry and the associated entry in response to the trigger operation after detecting that the user triggers the trigger control for generating the credential. The trigger control to generate the credential may be above the base information area or below the credential entry area or elsewhere on the credential template configuration page. The trigger operation for the trigger control generating the credential may also be triggered by a shortcut key operation.
In the voucher generation method, the user only needs to configure the voucher template basic information of the source document in the basic information area in the voucher template configuration page, only needs to select the associated document in the associated document configuration area, and does not need to additionally configure the voucher template basic information of the associated document, so that the configuration operation of the voucher template basic information of the associated document is omitted. After configuring the basic information of the voucher template of the source document in the basic information area and selecting the associated document, a user only needs to configure the source entry of the source document in the voucher entry area in the voucher template configuration page to obtain the content of the source entry, and determine the content of the associated entry of the associated document through the logical relationship, so that the configuration operation of the associated entry of the voucher template for obtaining the content of the associated entry is omitted. The user completes basic information configuration of the source document and source entry configuration of the source document in the document template configuration page, the terminal can automatically determine the associated entry content of the associated entry of the associated document through the logical relationship, and generates the document according to the associated entry and the source entry, so that the document generation efficiency is improved.
In one embodiment, displaying, at an associated entry corresponding to a source entry in the associated entry, associated entry content determined according to a logical relationship between the associated entry and the source entry, includes: when the source entry has a preset direct relationship with the corresponding associated entry in the associated entry, determining a direct logic relationship between the associated entry and the source entry; and displaying the content of the associated entry determined according to the direct logic relationship at the associated entry.
Wherein, the preset direct relation is a preset direct relation. The direct logical relationship is a direct logical relationship between the source entry and the associated entry. It can be understood that the source entry and the associated entry have a direct logical relationship, and the associated entry content of the associated entry is directly searched through the source entry.
Specifically, when the source entry has a preset direct relationship with a corresponding associated entry in the associated entry, the terminal determines a direct logical relationship between the associated entry and the source entry. And after determining the direct logic relationship between the associated entry and the source entry, the terminal finds the content of the associated entry through the direct logic relationship and displays the content at the associated entry.
In one embodiment, if the associated entry content is found to be displayed incorrectly through the direct logical relationship between the associated entry and the source entry, the user may modify the incorrect associated entry content. The terminal can respond to the modification operation of the user aiming at the incorrect associated entry content, delete and display the incorrect associated entry content as the modified associated entry content.
In this embodiment, the terminal may display the content of the associated entry determined according to the direct logical relationship at the associated entry through the direct logical relationship between the associated entry and the source entry without the user configuring the associated entry, so that the configuration operation of the user for the associated entry is omitted.
In one embodiment, displaying, at an associated entry corresponding to a source entry in the associated entry, associated entry content determined according to a logical relationship between the associated entry and the source entry, includes: when the source entry has a preset indirect relationship with a corresponding associated entry in the associated entry, determining an indirect logical relationship between the source entry and the associated entry based on a first upstream document of the source document and a second upstream document of the associated document; the first upstream document and the second upstream document are of the same type; and displaying the content of the associated entry determined according to the indirect logical relationship at the associated entry.
The preset indirect relationship is a preset indirect relationship. The first upstream document is an upstream document of the source document. And the upstream document is a parent-level document of the obtained source document. The second upstream sheet is an upstream sheet of the associated sheet. It will be appreciated that, assuming a bill of payment exists, the bill upstream of the bill of payment is the order to be accepted. The indirect logical relationship is an indirect logical relationship between the source entry and the associated entry. It can be understood that the source entry and the associated entry have an indirect logical relationship, and the associated entry content of the associated entry is indirectly searched through the source entry.
Specifically, when the source entry has a preset indirect relationship with the corresponding associated entry in the associated entry, the terminal searches for a first upstream document of the source documents of the same type and a second upstream document of the associated documents, and determines an indirect logical relationship between the source entry and the associated entry based on the first upstream document of the source documents and the second upstream document of the associated documents. After determining the indirect logical relationship between the source entry and the associated entry, the terminal searches the content of the associated entry according to the determined indirect logical relationship and displays the content at the associated entry.
In one embodiment, if the associated entry content is found to be displayed incorrectly through the indirect logical relationship between the associated entry and the source entry, the user may modify the incorrect associated entry content. The terminal can respond to the modification operation of the user aiming at the incorrect associated entry content, delete and display the incorrect associated entry content as the modified associated entry content.
In this embodiment, the terminal may display the content of the associated entry determined according to the direct logical relationship at the associated entry through the indirect logical relationship between the associated entry and the source entry, and may omit the configuration operation of the user for the associated entry when there is no direct logical relationship between the source entry and the associated entry.
In one embodiment, displaying, at an associated entry corresponding to a source entry in the associated entry, associated entry content determined according to a logical relationship between the associated entry and the source entry, includes: when the source entry and the corresponding associated entry in the associated entry have a preset relationship, displaying the content of the associated entry determined according to the preset relationship at the associated entry; when the source entry does not have a preset relation with the corresponding associated entry in the associated entry, displaying a public field setting page; determining a field association logic relation between a source entry and an associated entry based on a public field between a source document and the associated document configured in a public field setting page; and displaying the content of the associated entry determined according to the field association logical relationship at the associated entry.
The preset relationship is a preset relationship, and includes a preset direct logic relationship and a preset indirect logic relationship. The public field setting page is a page for setting a public field between the source document and the associated document. The field association logic relationship is a logic relationship between the source document and the associated document through common field association.
Specifically, when the source entry has a preset relationship with a corresponding associated entry in the associated entry, the terminal displays the content of the associated entry determined according to the preset relationship at the associated entry. And when the source entry does not have a preset relation with the corresponding associated entry in the associated entry, the terminal displays a public field setting page. And setting a public field between the source document and the associated document on a public field setting page displayed by the terminal by the user. And the terminal determines the field association logic relationship between the source entry and the associated entry based on the public field between the source document and the associated document configured in the public field setting page. After determining the field association logic relationship between the source entry and the associated entry, the terminal searches the content of the associated entry according to the determined field association logic relationship, and displays the content at the associated entry.
In one embodiment, the terminal may display a page of the public field to prompt the user to perform setting when the source entry does not have a preset relationship with a corresponding associated entry in the associated entry. The user can also configure the public fields between the source entry and the associated entry in the basic information area.
Referring to fig. 7, a schematic diagram of a common field setup page is shown. And setting a page in the public field, and displaying the identifier of the source document configured by the user, namely' source document: financial card "and identification of associated document that the user has configured, i.e." target document: the financial due sheet ", the common field of the source and associated sheets is set to" accounting organization ". After the user sets the public field, the user can exit the public field setting page displayed by the terminal by clicking the 'confirm' button.
In this embodiment, the terminal may display, at the associated entry, the associated entry content determined according to the field associated logical relationship through the field associated logical relationship between the associated entry and the source entry, and may omit a configuration operation of a user for the associated entry when there is no preset relationship between the source entry and the associated entry.
In one embodiment, after determining the relationship between the source entry and the associated entry, the terminal may determine the content of the associated entry according to the source entry through a data transformation Platform (BOTP).
In an embodiment, as shown in fig. 8, which is a schematic flow diagram illustrating a process of determining content of an associated entry through a logical relationship, a terminal obtains data of an upstream document and a downstream document of a source document through a data conversion platform according to configuration of the source entry of the source document. And if the source entry has a preset direct relationship with the corresponding associated entry in the associated entry, acquiring the content of the associated entry through the data conversion platform according to the direct logical relationship between the associated entry and the source entry. And if the source entry has a preset indirect relationship with the corresponding associated entry in the associated entry, the terminal determines an indirect logical relationship between the source entry and the associated entry based on the common type upstream documents of the source document and the associated documents. And after determining the indirect logic relationship between the associated entry and the source entry, the terminal acquires the content of the associated entry through the data conversion platform. And if the source entry and the corresponding associated entry in the associated entry do not have the direct logical relationship or the indirect logical relationship, the terminal determines the field associated logical relationship between the source entry and the associated entry based on the common field between the source document and the associated document configured in the common field setting page, and acquires the content of the associated entry through the field associated logical relationship.
In one embodiment, generating credentials from a source entry and an associated entry includes: and when the mode of generating the voucher configured in the basic information area is a one-to-one mode, corresponding to each order in the order range item in the source entry, generating the corresponding voucher according to the source entry and the associated entry.
The one-to-one mode is a mode that one order correspondingly generates one voucher. The order scope item is an entry item used for selecting an order by the source entry.
Specifically, the user may select at least one order in the source entry for the order scope item. And when the mode of generating the voucher configured in the basic information area is a one-to-one mode, the terminal generates a corresponding voucher according to the source entry and the associated entry corresponding to each order in the order range entry in the source entry.
In one embodiment, the user triggers the trigger control of the order scope item, and the terminal may display an order scope page including at least one order of the source document in response to a trigger operation of the trigger control for the order scope item. The user may select at least one order on the order scope page for which credentials are to be generated.
In this embodiment, the terminal may generate the voucher of each order in the corresponding order range item directly according to the source entry and the associated entry in a one-to-one voucher generating manner, and the voucher corresponding to the target order is generated after the user repeatedly selects the target order, so that the efficiency of generating the voucher corresponding to each order is improved.
In one embodiment, generating credentials from a source entry and an associated entry includes: when the mode of generating the voucher configured in the basic information area is a total gathering mode, merging entries in the vouchers generated corresponding to the orders; and removing the same entry from the first intermediate certificate obtained after merging the entries to obtain the certificates in all the summarizing modes.
Wherein, the total summarizing mode is a summarizing mode for merging entries of each generated certificate. The intermediate voucher is a voucher to be processed. The first intermediate certificate is a to-be-processed certificate after merging entries in each generated certificate.
Specifically, when the mode of generating the voucher configured in the basic information area is a total aggregation mode, the terminal merges entry items in the vouchers generated corresponding to the orders to obtain a first intermediate voucher. And after the terminal obtains the first intermediate certificate, removing the same entry to obtain the certificates in all the summarizing modes.
In this embodiment, the terminal may merge entries in each credential generated corresponding to each order, remove the same entry, and obtain the credentials in all the summarizing modes, without manually merging and removing the same entry, which reduces the operation steps of merging the credentials by the user and reduces the workload of the user.
In one embodiment, generating credentials from a source entry and an associated entry includes: when the mode of generating the voucher configured in the basic information area is a matching and summarizing mode, classifying the vouchers generated corresponding to the orders according to matching fields, and respectively merging entries in the vouchers of all classes to obtain at least one second intermediate voucher; and removing the same entry from at least one second intermediate certificate to obtain at least one certificate in a matching and summarizing mode.
The matching and summarizing mode is a summarizing mode which classifies each generated certificate according to the matching field and then merges the entry items of the certificates of all classes. And the second intermediate certificate is the certificate to be processed obtained by classifying each generated certificate according to the matching field and then combining the entry items of the certificates of all classes.
Specifically, when the mode of generating the voucher configured in the basic information area is a matching and summarizing mode, the terminal performs matching and classification on each voucher generated corresponding to each order according to the matching field, and then merges entries in the vouchers of each category to obtain a second intermediate voucher of at least one category. And the terminal removes the same entry from the second intermediate voucher of at least one category to obtain at least one voucher in a matching and summarizing mode.
In one embodiment, if 10 orders are selected from the order scope items in the source entry, 10 vouchers are obtained correspondingly. The terminal may divide the 10 credentials into 6 credentials with a date of number 5 and 4 credentials with a date of number 4 based on matching fields, such as "date". And the terminal respectively merges the 6 certificates of No. 5 and the entry items in the 4 certificates of No. 4 to obtain 2 second intermediate certificates. And the terminal removes the same entry of each of the 2 second intermediate certificates to obtain 2 certificates in a matching and summarizing mode.
In the embodiment, when the user needs to process the different types of certificates in a targeted manner, the certificates are directly obtained in a matching and summarizing manner, so that the user can obtain the different types of certificates for processing, and the working efficiency of the user can be improved.
In an embodiment, as shown in fig. 9, which is a schematic flow diagram for generating a voucher, after acquiring a source entry content and an associated entry content, a terminal uses related information of a source document configured in a basic information area as header data of the voucher, and records the source entry content and the associated entry content acquired through a data conversion platform in an entry to obtain a voucher corresponding to each order in an order range entry in the source entry. If the generated certificates need to be summarized in the certificate template configuration page, the certificates are summarized according to a set summarizing mode.
It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
In one embodiment, as shown in fig. 10, there is provided a credential generation apparatus 1000 comprising: a display module 1002, a configuration module 1004, a response module 1006, a determination module 1008, and a generation module 1010, wherein:
a display module 1002, configured to display a credential template configuration page including a basic information area and a credential entry area;
a configuration module 1004, configured to display, in the basic information area, an identifier of the selected source document and an identifier of the associated document; displaying a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document in the voucher entry area;
a response module 1006, configured to respond to a configuration operation on a source entry in the source entry, and display content of the corresponding source entry;
a determining module 1008, configured to display, at an associated entry corresponding to the source entry in the associated entry, associated entry content determined according to a logical relationship between the associated entry and the source entry;
a generating module 1010, configured to generate a credential according to the source entry and the associated entry.
In an embodiment, the determining module 1008 is further configured to determine, when a preset direct relationship exists between the source entry and a corresponding associated entry in the associated entry, a direct logical relationship between the associated entry and the source entry; and displaying the content of the associated entry determined according to the direct logic relationship at the associated entry.
In an embodiment, the determining module 1008 is further configured to determine, when the source entry has a preset indirect relationship with a corresponding associated entry in the associated entry, an indirect logical relationship between the source entry and the associated entry based on a first upstream document of the source document and a second upstream document of the associated document; the first upstream document and the second upstream document are of the same type; and displaying the content of the associated entry determined according to the indirect logical relationship at the associated entry.
In an embodiment, the determining module 1008 is further configured to, when the source entry has a preset relationship with a corresponding associated entry in the associated entry, display content of the associated entry determined according to the preset relationship at the associated entry; when the source entry does not have a preset relation with the corresponding associated entry in the associated entry, displaying a public field setting page; determining a field association logic relation between a source entry and an associated entry based on a public field between a source document and the associated document configured in a public field setting page; and displaying the content of the associated entry determined according to the field association logical relationship at the associated entry.
In an embodiment, the generating module 1010 is further configured to, when the manner of generating the credential configured in the basic information area is a one-to-one manner, generate a corresponding credential according to the source entry and the associated entry corresponding to each order in the order range entry in the source entry.
In an embodiment, the generating module 1010 is further configured to, when the credential generating manner configured in the basic information area is a total aggregation manner, merge entries in the credentials generated corresponding to the orders; and removing the same entry from the first intermediate certificate obtained after merging the entries to obtain the certificates in all the summarizing modes.
In an embodiment, the generating module 1010 is further configured to, when the mode of generating the credentials configured in the basic information area is a matching summarizing mode, classify the credentials generated corresponding to each order according to the matching fields, and merge entries in the credentials of each category respectively to obtain at least one second intermediate credential; and removing the same entry from at least one second intermediate certificate to obtain at least one certificate in a matching and summarizing mode.
For the specific definition of the credential generating device, reference may be made to the above definition of the credential generating method, which is not described herein again. The modules in the credential generating device may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a credential generation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. 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), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method of credential generation, the method comprising:
displaying a voucher template configuration page comprising a basic information area and a voucher entry area;
displaying the identifier of the selected source document and the identifier of the associated document in the basic information area;
displaying a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document in the voucher entry area;
responding to configuration operation of source entries in the source entry, and displaying corresponding source entry contents;
displaying the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry;
and generating a certificate according to the source entry and the associated entry.
2. The method according to claim 1, wherein the displaying, at a location of an associated entry in the associated entry corresponding to the source entry, associated entry contents determined according to a logical relationship between the associated entry and the source entry includes:
when the source entry has a preset direct relationship with a corresponding associated entry in the associated entry, determining a direct logic relationship between the associated entry and the source entry;
and displaying the content of the associated entry determined according to the direct logic relationship at the associated entry.
3. The method according to claim 1 or 2, wherein the displaying, at the associated entry corresponding to the source entry in the associated entry, the associated entry content determined according to the logical relationship between the associated entry and the source entry includes:
when the source entry has a preset indirect relationship with a corresponding association entry in the association entry, determining an indirect logical relationship between the source entry and the association entry based on a first upstream document of the source document and a second upstream document of the association document; the first upstream document and the second upstream document are of the same type;
and displaying the content of the associated entry determined according to the indirect logical relationship at the associated entry.
4. The method according to claim 1, wherein the displaying, at a location of an associated entry in the associated entry corresponding to the source entry, associated entry contents determined according to a logical relationship between the associated entry and the source entry includes:
when the source entry and the corresponding associated entry in the associated entry have a preset relationship, displaying the content of the associated entry determined according to the preset relationship at the associated entry;
when the source entry does not have a preset relation with the corresponding associated entry in the associated entry, displaying a public field setting page;
determining a field association logic relationship between the source entry and the association entry based on the public field between the source receipt and the association receipt configured in the public field setting page;
and displaying the content of the associated entry determined according to the field associated logical relationship at the associated entry.
5. The method of claim 1, wherein generating credentials from the source entry and the associated entry comprises:
and when the mode of generating the voucher configured in the basic information area is a one-to-one mode, corresponding to each order in the order range item in the source entry, generating a corresponding voucher according to the source entry and the associated entry.
6. The method of claim 1, wherein generating credentials from the source entry and the associated entry comprises:
when the mode of generating the voucher configured in the basic information area is a total gathering mode, merging entries in the vouchers generated corresponding to the orders;
and removing the same entry from the first intermediate certificate obtained after merging the entries to obtain the certificates in all the summarizing modes.
7. The method of claim 1, wherein generating credentials from the source entry and the associated entry comprises:
when the mode of generating the voucher configured in the basic information area is a matching and summarizing mode, classifying the vouchers generated corresponding to the orders according to matching fields, and respectively merging entries in the vouchers of all classes to obtain at least one second intermediate voucher;
and removing the same entry from at least one second intermediate certificate to obtain at least one certificate in a matching and summarizing mode.
8. An apparatus for credential generation, the apparatus comprising:
the display module is used for displaying a voucher template configuration page comprising a basic information area and a voucher entry area;
the configuration module is used for displaying the identifier of the selected source bill and the identifier of the associated bill in the basic information area; displaying a source entry corresponding to the identifier of the source document and an associated entry corresponding to the identifier of the associated document in the voucher entry area;
the response module is used for responding to the configuration operation of the source entry in the source entry and displaying the corresponding content of the source entry;
the determining module is used for displaying the content of the associated entry determined according to the logical relationship between the associated entry and the source entry at the associated entry corresponding to the source entry in the associated entry;
and the generating module is used for generating a certificate according to the source entry and the associated entry.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110308646.6A CN113051883B (en) | 2021-03-23 | 2021-03-23 | Credential generation method, apparatus, computer device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110308646.6A CN113051883B (en) | 2021-03-23 | 2021-03-23 | Credential generation method, apparatus, computer device, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113051883A true CN113051883A (en) | 2021-06-29 |
CN113051883B CN113051883B (en) | 2024-02-13 |
Family
ID=76514641
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110308646.6A Active CN113051883B (en) | 2021-03-23 | 2021-03-23 | Credential generation method, apparatus, computer device, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113051883B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114416235A (en) * | 2021-12-28 | 2022-04-29 | 云镝智慧科技有限公司 | Document display method and device, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003030453A (en) * | 2001-07-10 | 2003-01-31 | Toshiba Corp | Method for specifying transaction in ocr converged image entry system, ocr converged image entry system and program |
CN101493834A (en) * | 2009-02-17 | 2009-07-29 | 浪潮集团山东通用软件有限公司 | Method for generating evidence for keeping account by random service system document |
CN104574030A (en) * | 2013-10-14 | 2015-04-29 | 航天信息软件技术有限公司 | Voucher generation method for ERP accounting platform |
CN108961021A (en) * | 2018-05-18 | 2018-12-07 | 北京大账房网络科技股份有限公司 | It is taken pictures using Intelligent mobile equipment and generates the method and system of voucher |
CN109783786A (en) * | 2018-12-28 | 2019-05-21 | 远光软件股份有限公司 | Input method, mobile terminal and the device with store function of financial affairs receipt |
CN110796531A (en) * | 2019-10-29 | 2020-02-14 | 浪潮云信息技术有限公司 | Web-based accounting voucher generation method and system |
CN112215693A (en) * | 2020-10-13 | 2021-01-12 | 金蝶软件(中国)有限公司 | Voucher generation method and related device |
-
2021
- 2021-03-23 CN CN202110308646.6A patent/CN113051883B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003030453A (en) * | 2001-07-10 | 2003-01-31 | Toshiba Corp | Method for specifying transaction in ocr converged image entry system, ocr converged image entry system and program |
CN101493834A (en) * | 2009-02-17 | 2009-07-29 | 浪潮集团山东通用软件有限公司 | Method for generating evidence for keeping account by random service system document |
CN104574030A (en) * | 2013-10-14 | 2015-04-29 | 航天信息软件技术有限公司 | Voucher generation method for ERP accounting platform |
CN108961021A (en) * | 2018-05-18 | 2018-12-07 | 北京大账房网络科技股份有限公司 | It is taken pictures using Intelligent mobile equipment and generates the method and system of voucher |
CN109783786A (en) * | 2018-12-28 | 2019-05-21 | 远光软件股份有限公司 | Input method, mobile terminal and the device with store function of financial affairs receipt |
CN110796531A (en) * | 2019-10-29 | 2020-02-14 | 浪潮云信息技术有限公司 | Web-based accounting voucher generation method and system |
CN112215693A (en) * | 2020-10-13 | 2021-01-12 | 金蝶软件(中国)有限公司 | Voucher generation method and related device |
Non-Patent Citations (1)
Title |
---|
吴胜, 苏琴: "自动生成会计凭证的研究", 计算机应用, vol. 23, pages 295 - 296 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114416235A (en) * | 2021-12-28 | 2022-04-29 | 云镝智慧科技有限公司 | Document display method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113051883B (en) | 2024-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150199541A1 (en) | Method and system for secured communication of personal information | |
CN110413922B (en) | Page information display method, device, computer equipment and storage medium | |
US20060056626A1 (en) | Method and system for selectively masking the display of data field values | |
CN110362308A (en) | Page generation method, device, computer equipment and storage medium | |
US20210117082A1 (en) | Secure Data Entry via a Virtual Keyboard | |
CN110689232A (en) | Workflow configuration optimization processing method and device and computer equipment | |
CA3029717A1 (en) | Bill presentment based on a user learning style | |
US10007716B2 (en) | System for decomposing clustering events from managed infrastructures coupled to a data extraction device | |
US20140028566A1 (en) | Systems and methods for generating a dynamic and localized atm keypad | |
CN109828809B (en) | Information visualization method and device for billboard, computer equipment and storage medium | |
CN110851298A (en) | Abnormality analysis and processing method, electronic device, and storage medium | |
CN111708971A (en) | Page configuration method and device, computer equipment and storage medium | |
CN113051883B (en) | Credential generation method, apparatus, computer device, and storage medium | |
CN109614600B (en) | Report display method and device and computer storage medium | |
CN107798459A (en) | Parameter values computational methods, device, storage medium and computer equipment | |
CN110505271A (en) | Acquisition methods, device, computer equipment and the storage medium of electronics license | |
CN109726231A (en) | Work order data display method, device, computer equipment and storage medium | |
CN111402069B (en) | Accumulation fund data acquisition method and device, computer equipment and storage medium | |
CN117275138A (en) | Identity authentication method, device, equipment and storage medium based on automatic teller machine | |
CN111553749A (en) | Activity push strategy configuration method and device | |
CN109544348B (en) | Asset security screening method, device and computer readable storage medium | |
CN116737137A (en) | Business process generation method, device, computer equipment and storage medium | |
CN115293873A (en) | Page processing method and device for credit granting flow, computer equipment and storage medium | |
CN110222290B (en) | Page generation method and device, computer equipment and storage medium | |
CN107909382A (en) | User grouping management method, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |