CN112633958A - Method for automatically displaying different operation modules - Google Patents

Method for automatically displaying different operation modules Download PDF

Info

Publication number
CN112633958A
CN112633958A CN202011526176.2A CN202011526176A CN112633958A CN 112633958 A CN112633958 A CN 112633958A CN 202011526176 A CN202011526176 A CN 202011526176A CN 112633958 A CN112633958 A CN 112633958A
Authority
CN
China
Prior art keywords
invoice
information
user
automatically
page
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.)
Pending
Application number
CN202011526176.2A
Other languages
Chinese (zh)
Inventor
石磊
刘宝华
李昆
景振
张英仁
张琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHANJET INFORMATION TECHNOLOGY CO LTD
Original Assignee
CHANJET INFORMATION TECHNOLOGY CO LTD
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CHANJET INFORMATION TECHNOLOGY CO LTD filed Critical CHANJET INFORMATION TECHNOLOGY CO LTD
Priority to CN202011526176.2A priority Critical patent/CN112633958A/en
Publication of CN112633958A publication Critical patent/CN112633958A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Abstract

A method for automatically displaying different operation modules is used for realizing invoice management of WeChat small programs, and comprises the following steps: when a user starts the invoice management function module, the invoice management function module automatically requests a background interface; if the data returned by the background interface according to the request is empty, adding invoice information according to user operation; if the data returned by the background interface according to the request is not empty, enabling the system to automatically form a two-dimensional array from the data returned by the background, wherein the first dimension of the two-dimensional array is the type classification of the invoices, and the second dimension of the two-dimensional array is the specific invoice information under each classification; and after a two-dimensional array is formed, performing double-cycle rendering on the page according to the data information, rendering and displaying the invoice information to be displayed according to the display design of the three invoice type modules respectively, and displaying the invoice information to the user.

Description

Method for automatically displaying different operation modules
Technical Field
The invention belongs to the field of WeChat small programs, and particularly relates to a method for automatically displaying different operation modules, which is convenient for technical support for perfecting an invoice function for the WeChat small programs and is convenient for a user to manage invoices.
Background
With the development of information technology, paper invoices are gradually replaced by electronic invoices in many occasions. The electronic invoice is a product of an information era, is used by merchants in a form of uniform distribution of a tax bureau like a common invoice, adopts national uniform coding for invoice numbers, adopts a uniform anti-counterfeiting technology and is distributed to the merchants, and a signature mechanism of the electronic tax bureau is attached to the electronic invoice.
The electronic invoice is an electronic image and an electronic record of the paper invoice, a paper carrier is not needed, the printing link of the traditional paper invoice is not needed, and the links of account registration, online generation, invoice issuing, data transmission and the like can be carried out on the Internet through a unified electronic invoice system.
For many wechat applets, invoices may need to be provided to the customer, and accordingly, the user needs to manage the invoices on the wechat applet. However, the current invoicing module of the WeChat applet is inconvenient to operate, so that the user takes time and labor to manage the invoices.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for automatically displaying different operation modules aiming at the defects in the prior art, so as to carry out technical support for improving the invoice function by a WeChat small program and facilitate the invoice management of a user.
According to the invention, the method for automatically displaying different operation modules is provided, which is used for realizing the invoice management of the WeChat applet and comprises the following steps: when a user starts the invoice management function module, the invoice management function module automatically requests a background interface; if the data returned by the background interface according to the request is empty, adding invoice information according to user operation; if the data returned by the background interface according to the request is not empty, enabling the system to automatically form a two-dimensional array from the data returned by the background, wherein the first dimension of the two-dimensional array is the type classification of the invoices, and the second dimension of the two-dimensional array is the specific invoice information under each classification; and after a two-dimensional array is formed, performing double-cycle rendering on the page according to the data information, rendering and displaying the invoice information to be displayed according to the display design of the three invoice type modules respectively, and displaying the invoice information to the user.
Preferably, after the step of presenting to the user, judging whether the user needs to change or delete the added invoice information according to the user operation; when the added invoice information needs to be changed or deleted by a user, the system automatically calls a background interface to obtain invoice information data, then confirms the invoice type of the invoice according to the field of invoice type classification, then processes the data according to the invoice information and stores the data into a variable according to the invoice information content required by the type, and finally renders a corresponding invoice information module according to the changed content.
Preferably, the system automatically classifies the data returned by the background according to three invoice types to form a two-dimensional array.
Preferably, the three invoice types refer to value-added tax special invoices, personal common invoices and unit common invoices.
Preferably, when it is detected that the user clicks an edit icon button associated with the invoice list, it is determined that the user needs to change or delete the added invoice information.
Preferably, in the page of the invoice list, the operation button for adding the invoice new line is placed at the lowest part of the page.
Preferably, in the page of the invoice list, the page shadow of the invoice management is gray, the invoice list is white, and the middle is separated by gray as the shadow.
Preferably, in the page for editing and/or newly creating invoice information, the invoice type and the head-up type are placed at the top of the page and displayed in a mode of operating buttons.
Preferably, in the page used to edit and/or create the invoice information, corresponding entries are revealed according to the user clicking on different invoice types and heads-up types, with no unnecessary information being displayed by default.
The invention improves the function of the WeChat small program, so that the user can set the invoice information to be issued in the WeChat small program, and the convenient invoice management function is realized.
Drawings
A more complete understanding of the present invention, and the attendant advantages and features thereof, will be more readily understood by reference to the following detailed description when considered in conjunction with the accompanying drawings wherein:
fig. 1 schematically shows a flow chart of a method for automatically exposing different operational modules for invoice management of a wechat applet according to a preferred embodiment of the present invention.
Fig. 2 to 5 schematically show examples of rendering presentation according to presentation designs of three invoice type modules, respectively, of a method for automatically presenting different operation modules for invoice management of WeChat applet, according to a preferred embodiment of the present invention.
Fig. 6 schematically illustrates an operation example of a method for automatically exposing different operation modules for implementing invoice management of a wechat applet according to a preferred embodiment of the present invention.
Fig. 7 schematically illustrates a screen display diagram of a method for automatically exposing different operational modules for invoice management of a wechat applet, in accordance with a preferred embodiment of the present invention.
Fig. 8 schematically illustrates a screen display diagram of a method for automatically exposing different operational modules for invoice management of a wechat applet, in accordance with a preferred embodiment of the present invention.
Fig. 9 schematically illustrates a screen display diagram of a method for automatically exposing different operational modules for invoice management of a wechat applet, in accordance with a preferred embodiment of the present invention.
FIG. 10 schematically illustrates a screen display diagram of a method for automatically exposing different operational modules for invoice management for a WeChat applet, in accordance with a preferred embodiment of the present invention.
It is to be noted, however, that the appended drawings illustrate rather than limit the invention. It is noted that the drawings representing structures may not be drawn to scale. Also, in the drawings, the same or similar elements are denoted by the same or similar reference numerals.
Detailed Description
In order that the present disclosure may be more clearly and readily understood, reference will now be made in detail to the present disclosure as illustrated in the accompanying drawings.
Fig. 1 schematically shows a flow chart of a method for automatically exposing different operational modules for invoice management of a wechat applet according to a preferred embodiment of the present invention.
As shown in fig. 1, the method for automatically exposing different operation modules for implementing invoice management of WeChat applet according to the preferred embodiment of the present invention includes:
when the user starts the invoice management function module (for example, when the invoice management is clicked from the user center to enter the invoice management module), the invoice management function module automatically requests the background interface.
And if the data returned by the background interface according to the request is null, indicating that the user does not set any invoice, adding invoice information according to the user operation. For example, the user can enter into the invoice adding page to add invoice information by clicking a shortcut operation button of "add invoice up".
If the data returned by the background interface according to the request is not empty (which indicates that the user has set the invoice information), the system is enabled to automatically form a two-dimensional array (for example, the data returned by the background interface is classified according to three invoice types to form a two-dimensional array), wherein the first dimension of the two-dimensional array is the type classification of the invoice, and the second dimension of the two-dimensional array is the specific invoice information under each classification.
The three invoice types refer to value-added tax special invoices, common invoices (individuals) and common invoices (units).
After the two-dimensional array is formed, double-loop rendering is performed on the page according to the data information using codes, and the invoice information to be displayed is rendered and displayed according to the display design of the three invoice type modules respectively and is displayed to the user, as shown in fig. 2 to 5.
As shown in fig. 6, further, after the step of presenting to the user, it is determined whether the user needs to change or delete the added invoice information according to the user operation; when the added invoice information needs to be changed or deleted by a user, the system automatically calls a background interface to obtain invoice information data, then confirms the invoice type of the invoice according to the field of invoice type classification, then processes the data according to the invoice information and stores the data into a variable according to the invoice information content required by the type, and finally renders a corresponding invoice information module according to the changed content.
For example, if the user changes or deletes the added invoice information, the user may click an edit icon button associated with (e.g., arranged on the right side of) the invoice list (at this time, it is determined that the user needs to change or delete the added invoice information), and enter an invoice edit page, which facilitates the user to perform secondary editing and deletion. When the invoice is edited, the system can automatically call the background interface, after the data is obtained, the invoice type of the invoice is confirmed according to the invoice type field, and then the data is processed according to the invoice information and stored in the variable according to the invoice information content required by the type. The system renders the corresponding invoice information module with the type and content of the data.
The invention mainly provides a method for managing invoice information which is convenient to operate for users, and the users can set a value-added tax special invoice, a plurality of common personal invoices and a plurality of common unit invoices; and the invoice information can be edited and deleted at any time, and when the invoice information enters the editing module, the system can automatically render different operable modules according to the information returned by the interface. The invention improves the function of the WeChat small program, so that the user can set the invoice information to be issued in the WeChat small program, and the convenient invoice management function is realized.
Fig. 7 to 10 schematically show screen display diagrams of a method for automatically presenting different operation modules for implementing invoice management of a wechat applet according to a preferred embodiment of the present invention.
As shown in fig. 7-10, in terms of the graphical user interface GUI, in a particular embodiment, in a particularly preferred embodiment, for the invoice listing page: and an operation button for adding invoice head-up is arranged at the lowest part of the page. The advantage of this arrangement is that: the first and the lowest parts are nearest to the thumb, so that the user can click conveniently; secondly, the operating button is separated from the invoice, so that the page is more organized. Preferably, the page of invoice management is shaded gray, the invoice list is white, and the middle is separated by the same gray as the shading, so that each list item can be clearer. The right side of each invoice information is provided with an editing button corresponding to the invoice, so that the operation is intuitive and convenient.
In a particularly preferred embodiment, for edit/new pages: the invoice type and the head-up type are placed at the top of the page and displayed in a button operation mode, so that the user can feel intuitive operation. The detailed information of the invoice can show corresponding input items according to different invoice types and head-up types clicked by a user, all the information which is not necessary to be filled is not displayed by default, and the impact of the number of the input items on the appearance and the feeling of the user is reduced.
The invention mainly aims at various WeChat applets, and is more suitable for the actual use population of the WeChat applets compared with other invoice management modules, so that a user can conveniently manage the invoice information of the user, and add, delete and modify the invoice.
It should be noted that the terms "first", "second", "third", and the like in the description are used for distinguishing various components, elements, steps, and the like in the description, and are not used for indicating a logical relationship or a sequential relationship between the various components, elements, steps, and the like, unless otherwise specified.
It is to be understood that while the present invention has been described in conjunction with the preferred embodiments thereof, it is not intended to limit the invention to those embodiments. It will be apparent to those skilled in the art from this disclosure that many changes and modifications can be made, or equivalents modified, in the embodiments of the invention without departing from the scope of the invention. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.

Claims (9)

1. A method for automatically displaying different operation modules is used for realizing invoice management of WeChat small programs, and is characterized by comprising the following steps: when a user starts the invoice management function module, the invoice management function module automatically requests a background interface; if the data returned by the background interface according to the request is empty, adding invoice information according to user operation; if the data returned by the background interface according to the request is not empty, enabling the system to automatically form a two-dimensional array from the data returned by the background, wherein the first dimension of the two-dimensional array is the type classification of the invoices, and the second dimension of the two-dimensional array is the specific invoice information under each classification; and after a two-dimensional array is formed, performing double-cycle rendering on the page according to the data information, rendering and displaying the invoice information to be displayed according to the display design of the three invoice type modules respectively, and displaying the invoice information to the user.
2. The method for automatically presenting different operating modules according to claim 1, further comprising: after the step of presenting to the user, judging whether the user needs to change or delete the added invoice information according to the user operation; when the added invoice information needs to be changed or deleted by a user, the system automatically calls a background interface to obtain invoice information data, then confirms the invoice type of the invoice according to the field of invoice type classification, then processes the data according to the invoice information and stores the data into a variable according to the invoice information content required by the type, and finally renders a corresponding invoice information module according to the changed content.
3. The method for automatically showing different operation modules according to claim 1 or 2, wherein the system automatically classifies the data returned by the background according to three invoice types to form a two-dimensional array.
4. The method for automatically displaying different operation modules according to claim 3, wherein the three invoice types are value-added tax special invoice, personal common invoice and unit common invoice.
5. The method for automatically displaying different operation modules according to claim 2, wherein the user is judged to need to change or delete the added invoice information when the user is detected to click an edit icon button associated with the invoice list.
6. The method for automatically displaying different operation modules according to claim 5, wherein in the page of the invoice list, the operation button for adding the invoice new line is placed at the lowest part of the page.
7. The method for automatically showing different operation modules according to claim 5, wherein in the page of the invoice list, the page shading of the invoice management is gray, the invoice list is white, and the middle is separated by gray as the shading.
8. The method for automatically displaying different operation modules according to claim 1 or 2, wherein in the page for editing and/or creating the invoice information, the invoice type and the new heading type are placed at the top of the page and displayed in a mode of operating buttons.
9. The method for automatically showing different operation modules according to claim 1 or 2, wherein in a page for editing and/or newly creating invoice information, corresponding input items are shown according to different invoice types and head-up types clicked by a user, and unnecessary information is not displayed by default.
CN202011526176.2A 2020-12-22 2020-12-22 Method for automatically displaying different operation modules Pending CN112633958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011526176.2A CN112633958A (en) 2020-12-22 2020-12-22 Method for automatically displaying different operation modules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011526176.2A CN112633958A (en) 2020-12-22 2020-12-22 Method for automatically displaying different operation modules

Publications (1)

Publication Number Publication Date
CN112633958A true CN112633958A (en) 2021-04-09

Family

ID=75320685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011526176.2A Pending CN112633958A (en) 2020-12-22 2020-12-22 Method for automatically displaying different operation modules

Country Status (1)

Country Link
CN (1) CN112633958A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1659526A2 (en) * 2004-11-01 2006-05-24 Sap Ag System and method for management and verification of invoices
CN105809495A (en) * 2014-12-30 2016-07-27 航天信息股份有限公司 Billing system dependent on background non-independent interface and method for billing system
WO2017133570A1 (en) * 2016-02-05 2017-08-10 阿里巴巴集团控股有限公司 Invoice title information change method and apparatus and invoice management system
CN109087155A (en) * 2018-06-19 2018-12-25 优识云创(北京)科技有限公司 A kind of method and apparatus of managing bill
CN110728567A (en) * 2019-10-15 2020-01-24 重庆远见信息产业集团有限公司 Electronic invoice reimbursement management system and method
CN111191180A (en) * 2020-01-15 2020-05-22 百望股份有限公司 Method and device for constructing micro-service system in invoice field and storage medium
CN111815378A (en) * 2020-07-08 2020-10-23 苏州易卖东西信息技术有限公司 Management system and method for generating invoice based on bill collection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1659526A2 (en) * 2004-11-01 2006-05-24 Sap Ag System and method for management and verification of invoices
CN105809495A (en) * 2014-12-30 2016-07-27 航天信息股份有限公司 Billing system dependent on background non-independent interface and method for billing system
WO2017133570A1 (en) * 2016-02-05 2017-08-10 阿里巴巴集团控股有限公司 Invoice title information change method and apparatus and invoice management system
CN109087155A (en) * 2018-06-19 2018-12-25 优识云创(北京)科技有限公司 A kind of method and apparatus of managing bill
CN110728567A (en) * 2019-10-15 2020-01-24 重庆远见信息产业集团有限公司 Electronic invoice reimbursement management system and method
CN111191180A (en) * 2020-01-15 2020-05-22 百望股份有限公司 Method and device for constructing micro-service system in invoice field and storage medium
CN111815378A (en) * 2020-07-08 2020-10-23 苏州易卖东西信息技术有限公司 Management system and method for generating invoice based on bill collection

Similar Documents

Publication Publication Date Title
US5734901A (en) Electronic mail information associated with native application data
US7370290B2 (en) Contact card
US6104872A (en) Macro program management system
US7117446B2 (en) User interface method and system for application programs implemented with component architectures
US6263347B1 (en) System for linking data between computer and portable remote terminal and data linking method therefor
US5923328A (en) Method and system for displaying a hierarchical sub-tree by selection of a user interface element in a sub-tree bar control
US5737553A (en) Colormap system for mapping pixel position and color index to executable functions
US5847707A (en) Icon menu display devices and methods
US20010024212A1 (en) Operation method for processing data file
US20050216834A1 (en) Method, apparatus, and computer-readable medium for dynamically rendering a user interface menu
US20080016456A1 (en) Method and system for providing docked-undocked application tabs
US20060150125A1 (en) Methods and systems for interface management
US20070136268A1 (en) Just in time loading list
EP1240608A2 (en) An apparatus and method for simple wide-area network navigation
CN106951140A (en) The icon replacing options and electronic equipment of application program
JP2000505924A (en) Method and apparatus for reformatting a mobile device screen using hypertext
WO2008103725A1 (en) Methods and apparatus for building and executing natural language policies
US20080155431A1 (en) User interface supporting processes with alternative paths
US8375324B1 (en) Computer-implemented document manager application enabler system and method
JPH11174951A (en) Supply method for information
CN112633958A (en) Method for automatically displaying different operation modules
JPH01232412A (en) Help system
JPH06242886A (en) Electronic mail system
CN115373555A (en) Display method and device of folder icon, electronic equipment and medium
JP2002543519A (en) Computer operation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Liu Baohua

Inventor after: Shi Lei

Inventor after: Li Kun

Inventor after: Jing Zhen

Inventor after: Zhang Yingren

Inventor after: Zhang Qi

Inventor before: Shi Lei

Inventor before: Liu Baohua

Inventor before: Li Kun

Inventor before: Jing Zhen

Inventor before: Zhang Yingren

Inventor before: Zhang Qi

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination