Budget cost recovery method, electronic device, and storage medium
By selecting and adding recycling accounts in the budget preparation interface and cost recovery is carried out based on the value entered by users, the problems of insufficient complexity and efficiency of budget cost recovery in the existing technology are solved, and convenient and efficient budget cost recovery is achieved.
Patent Information
- Application Number
- CN202210280817.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-21
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2042-03-21
AI Technical Summary
The existing budget cost recovery methods are complex in operation and insufficient efficiency, making it difficult to achieve budget cost recovery in a convenient and convenient manner.
Provide a budget cost recovery method. By obtaining the budget preparation interface, users can select budget accounts and add corresponding recycling accounts, and recycle the target accounts based on the recycling value entered by the user, and execute the method using processor and storage media.
It realizes convenient cost recovery of budgets, improves operational reliability and efficiency, and reduces the possibility of wrong cost recovery.
Smart Images

Figure CN114742631B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of cost recovery, and in particular to a budget cost recovery method, electronic equipment, and storage medium. Background Art
[0002] In the system units, there is hierarchical management of business. The superior unit has the management function of supervising and controlling the business of the subordinate units, and the business budget is no exception. The subordinate units need to apply to the superior unit for annual, monthly and other budgets in order to use them for various business operations.
[0003] However, since the budget is planned, it is easy for some items in the budget to exceed the budget after it is issued. The existing budget cost recovery method is complicated and lacks efficiency. In view of this, how to conveniently recover the cost of the budget has become an urgent problem to be solved. Summary of the invention
[0004] The main technical problem solved by the present application is to provide a budget cost recovery method, electronic equipment, and storage medium, which can conveniently realize the cost recovery of the budget.
[0005] In order to solve the above-mentioned technical problems, the first aspect of the present application provides a cost recovery method, including: obtaining a budget preparation interface; wherein the budget preparation interface includes a number of budget items and the budget value of each budget item; in response to a user's selection instruction for a budget item on the budget preparation interface, the selected budget item is used as a target item, and a recovery item corresponding to the target item is added to the budget preparation interface; based on the recovery value entered by the user at the recovery item and the budget value of the target item corresponding to the recovery item, cost recovery is performed on the target item corresponding to the recovery item.
[0006] In order to solve the above technical problems, the second aspect of the present application provides an electronic device, including a processor and a memory coupled to each other, the processor is used to execute program instructions stored in the memory to implement the budget cost recovery method in the above first aspect.
[0007] In order to solve the above technical problem, the third aspect of the present application provides a computer-readable storage medium storing program instructions that can be executed by a processor, and the program instructions are used to implement the budget cost recovery method in the above first aspect.
[0008] In the above scheme, a budget preparation interface is obtained, and the budget preparation interface includes several budget items and the budget value of each budget item. Based on this, in response to the user's selection instruction for the budget item on the budget preparation interface, the selected budget item is used as the target item, and the recovery item corresponding to the target item is added to the budget preparation interface, so that the cost recovery is performed on the target item corresponding to the recovery item based on the recovery value entered by the user at the recovery item and the budget value of the target item corresponding to the recovery item. Therefore, the user only needs to select the target item on the budget preparation interface to automatically add the corresponding recovery item to the budget preparation interface, and after the user enters the recovery value in the recovery item, the cost recovery of the target item can be completed, and the cost recovery of the budget can be conveniently performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is a flow chart of an embodiment of the budget cost recovery method of the present application;
[0010] Figure 2 is a schematic diagram of an embodiment of a budget preparation interface;
[0011] Figure 3 It is a flowchart of the annual budget issuance;
[0012] Figure 4 It is a flow chart of another embodiment of the budget cost recovery method of the present application;
[0013] Figure 5 It is a schematic diagram of the framework of an embodiment of the electronic device of the present application;
[0014] Figure 6 It is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0015] The scheme of the embodiment of the present application is described in detail below in conjunction with the drawings of the specification.
[0016] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures, interfaces, and technologies are provided to facilitate a thorough understanding of the present application.
[0017] The terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. In addition, "many" in this article means two or more than two.
[0018] See also Figure 1 , Figure 1 1 is a flow chart of an embodiment of a budget cost recovery method of the present application. Specifically, the budget cost recovery method in this embodiment may include the following steps:
[0019] Step S11: Obtain the budget preparation interface.
[0020] In an implementation scenario, the budget preparation interface can be obtained by calling the budget account system data in the database; wherein the budget preparation interface includes a number of budget accounts and the budget value of each budget account.
[0021] In a specific implementation scenario, the budget account system data includes budget account system data and a budget account tree structure, and the budget preparation interface can be obtained by custom assembly according to the budget account system data and the budget account tree structure.
[0022] More specifically, the budget account system data includes the budget value data of the budget accounts, for example, travel expenses of 1 million yuan, fuel and power expenses of 500,000 yuan, etc.; the budget account tree structure includes the hierarchical structure of the budget accounts, for example, the travel expenses budget account is the parent node, and also includes several child nodes such as accommodation expenses, urban transportation expenses, and long-distance transportation expenses.
[0023] In another implementation scenario, the budget preparation interface can be obtained by calling text data, for example, calling text data such as word, excel, pdf, etc. to obtain the budget preparation interface; or text recognition technology can be used to identify data information in paper documents to obtain the budget preparation interface.
[0024] In one implementation scenario, a budget preparation interface is provided with a recycling confirmation control, and the recycling confirmation control is used to respond to a selection instruction of a user on the budget preparation interface.
[0025] In a specific implementation scenario, the recycling confirmation control may be in the form of a check box, a drop-down list, or a button switch, and no specific limitation is made herein.
[0026] In the above scheme, the response to the user's selection instruction is achieved by recycling the confirmation control, which greatly avoids the possibility of erroneous cost recovery due to user operation errors and improves the reliability of budget cost recovery.
[0027] Step S12: In response to the user's selection instruction for the budget account on the budget preparation interface, the selected budget account is used as the target account, and a recovery account corresponding to the target account is added to the budget preparation interface.
[0028] In one implementation scenario, in response to a user triggering a recovery confirmation control, it is determined that the user issues a selection instruction for the budget account where the cursor is located, the selected budget account is used as the target account, and a recovery account corresponding to the target account is added to the budget preparation interface.
[0029] In a specific implementation scenario, see Figure 2 , Figure 2 1 is a schematic diagram of an embodiment of a budget preparation interface. Specifically, the recovery confirmation control is in the form of a check box. The user selects the budget item of electricity sales with the cursor. At this time, check the cost recovery check box to determine that the budget item of electricity sales is used as the target item, and add the recovery item corresponding to the target item in the budget preparation interface.
[0030] In another specific implementation scenario, the recycling confirmation control is in the form of a button switch. The user selects the budget account with the cursor and clicks the button switch to close it, thereby confirming that the budget account is the target account and adding the recycling account corresponding to the target account in the budget preparation interface.
[0031] In another implementation scenario, in response to the user triggering the recovery confirmation control, the budget account can be directly selected as the target account, and the recovery account corresponding to the target account can be added in the budget preparation interface.
[0032] In a specific implementation scenario, the recovery confirmation control is in the form of a drop-down list, and the user can directly select the budget account as the target account in the drop-down list, and add the recovery account corresponding to the target account in the budget preparation interface.
[0033] In another implementation scenario, after selecting a budget account as a target account, a recovery account can be added at various relative positions of the target account in the budget preparation interface, without specific limitation.
[0034] In a specific implementation scenario, the recovery subject can be inserted above the target subject. The recovery subject can be inserted in the form of a pop-up window, text box, etc., and no specific limitation is made here.
[0035] In another specific implementation scenario, please continue to refer to Figure 2 , after selecting the electricity sales budget item, insert the recovery cost text box below the electricity sales as the recovery item.
[0036] In another specific implementation scenario, similarly, a recovery account can be inserted on the left or right side of the target account. The recovery account can be inserted in the form of a pop-up window, text box, etc., and no specific limitation is made here.
[0037] In yet another implementation scenario, the added recycling items may be displayed according to user selection.
[0038] In a specific implementation scenario, a minus button can be added to the target account. Click the minus button to hide the recovery account. After the recovery account is hidden, the minus button automatically switches to a plus button. At this time, you can continue to click the plus button to display the recovery account.
[0039] In another specific implementation scenario, a recycling display button is added to the budget preparation interface. As mentioned above, when the recycling account is located on the left or right side of the target account, for the sake of the aesthetics and neatness of the overall page, the recycling account can be hidden by default. When the user's cursor moves to the target account or the user clicks the recycling display button, the recycling account is displayed.
[0040] In one implementation scenario, the recovery account is displayed in a first style on the budget preparation interface, and the budget account is displayed in a second style on the budget preparation interface, and the first style and the second style are different.
[0041] In a specific implementation scenario, the recovery items are displayed in red as the font color in the budget preparation interface, while the budget items are displayed in black as the font color in the budget preparation interface. The two colors are significantly different, and the recovery items can be intuitively viewed in the budget preparation interface, effectively improving the friendliness of human-computer interaction.
[0042] In another specific implementation scenario, the recovery items are displayed in Kaiti font on the budget preparation interface, while the budget items are displayed in Songti font on the budget preparation interface, and the difference between the two fonts is significant.
[0043] In another specific implementation scenario, the recovery items are displayed in the budget preparation interface with a font size of 3, while the budget items are displayed in the budget preparation interface with a font size of 4, and the difference between the two font sizes is significant.
[0044] It should be noted that the difference between the first style and the second style may also include bold font, underline, etc. Of course, the difference between the first style and the second style may also be a combination of multiple ways, which is not specifically limited here.
[0045] In an implementation scenario, when step S12 is completed and step S13 has not yet started, a mapping relationship between the recovery account and the target account can be established.
[0046] In a specific implementation scenario, the recovery account and the target account are in a parent-child node relationship. In another specific implementation scenario, the mapping relationship between the recovery account and the target account can be customized.
[0047] In the above scheme, the recovery account has a budget relationship subordinate to the target account, so the recovery account only affects the corresponding target account and will not affect other budget accounts due to adjustments to the budget preparation interface.
[0048] Step S13: Based on the recovery value input by the user at the recovery account and the budget value of the target account corresponding to the recovery account, cost recovery is performed on the target account corresponding to the recovery account.
[0049] In one implementation scenario, in response to the recovery value entered by the user in the recovery account, the target account to which the recovery account belongs can be determined based on the mapping relationship between the recovery account and the target account, and then cost recovery can be performed based on the recovery value of the recovery account and the budget value of the target account.
[0050] In a specific implementation scenario, the recovery account and the target account are in a parent-child node relationship, and the recovery account is only subordinate to the target account as its parent node, so that cost recovery can be achieved based on the recovery value of the recovery account and the budget value of the target account.
[0051] In the above scheme, a budget preparation interface is obtained, and the budget preparation interface includes several budget items and the budget value of each budget item. Based on this, in response to the user's selection instruction for the budget item on the budget preparation interface, the selected budget item is used as the target item, and the recovery item corresponding to the target item is added to the budget preparation interface, so that the cost recovery is performed on the target item corresponding to the recovery item based on the recovery value entered by the user at the recovery item and the budget value of the target item corresponding to the recovery item. Therefore, the user only needs to select the target item on the budget preparation interface to automatically add the corresponding recovery item to the budget preparation interface, and after the user enters the recovery value in the recovery item, the cost recovery of the target item can be completed, and the cost recovery of the budget can be conveniently performed.
[0052] In another implementation scenario, the first identifier of the recovery account is first obtained, and then based on the mapping relationship and the first identifier, the second identifier of the target account is obtained, and finally the target account to which the recovery account belongs is determined.
[0053] In a specific implementation scenario, the cursor is used to select electricity sales as the target account, and the recycling account is inserted below the electricity sales. At this time, the unique identifier compid of the recycling account is obtained as the first identifier, and based on the parent-child node mapping relationship, the unique identifier pcompid is determined as the second identifier. The budget account corresponding to the second identifier is the electricity sales.
[0054] In the above scheme, the subordinate mapping relationship between the recovery account and the target account is determined by identification, which is more accurate and stable.
[0055] In another implementation scenario, by obtaining the positive recovery value entered by the user at the recovery account, in response to a focus loss event, the recovery value is negated to obtain the opposite of the recovery value, and the opposite of the recovery value is included in the budget value of the target account to achieve cost recovery for the target account.
[0056] In a specific implementation scenario, please continue to refer to Figure 2 As mentioned above, electricity sales and cost recovery have a parent-child node mapping relationship. Enter a positive recovery value of 50 in the recovery subject (cost recovery) column. Through the JavaScript focus loss event, the recovery value is negated and the obtained negation is directly included in the parent node electricity sales. At this time, the budget value of electricity sales is 2000-50=1950, realizing cost recovery of a recovery value of 50.
[0057] In the above scheme, the recovery value entered in the recovery account is a positive number, which can intuitively show the specific value of cost recovery. Then, in response to the loss of focus event, the recovery value is reversed and recorded in the target account according to the preset mapping relationship, thereby realizing cost recovery. Therefore, the positive recovery value and budget value can be displayed in the budget preparation interface at the same time, and the interface is clearer.
[0058] In one implementation scenario, after step S13 is completed, a prompt message may be displayed on the budget preparation interface, the prompt message including a cost recovery mark of the target account, so that the user can clearly confirm that his cost recovery has been completed.
[0059] In a specific implementation scenario, the cost recovery mark is in the form of a text box, and the text box is output on the budget preparation interface, stating "costs recovered".
[0060] In another specific implementation scenario, the cost recovery mark may be a change in font color. For example, in a budget preparation interface where cost recovery has not been completed, the recovery value is displayed in red font. After the cost recovery is completed, the color of the recovery value font changes from red to green.
[0061] In another implementation scenario, after step S13 is executed, the target account and the budget value of the target account after cost recovery can be saved, and the budget account and the budget value of the unrecovered cost can be saved.
[0062] It should be noted that a budget preparation interface contains several budget items and their budget values. Some budget items do not need to be cost recovered, and the relevant data of these budget items also need to be saved.
[0063] In a specific implementation scenario, the target subjects and the budget values after cost recovery of the target subjects, the budget subjects and their budget values without cost recovery can be saved in MySQL (relational database management system) database, Oracle (relational database management system) database, Hbase database and other databases, without specific restrictions.
[0064] In another specific implementation scenario, the target account and the budget value after cost recovery of the target account, the budget account without cost recovery and its budget value can be saved in word, excel, pdf and other files, without specific restrictions here.
[0065] In one implementation scenario, target accounts and their budget values after cost recovery, and budget accounts and their budget values without cost recovery can be saved in paper form, for example, by printing them into paper files through one-click printing in the budget preparation interface for saving.
[0066] It should be noted that the target items and their budget values after cost recovery, and the budget items and their budget values without cost recovery can be implemented separately or in combination, and no specific restrictions are made here.
[0067] In the above scheme, the target account and the budget value after cost recovery of the target account are saved, and the budget account and its budget value that have not been recovered are saved, which is conducive to tracing the budget later and also provides basic data for cost recovery next time.
[0068] In another implementation scenario, the recovery account is temporarily set, and the recovery account is only displayed in the budget preparation interface during the cost recovery process; after step S13 is executed, the recovery account does not need to be saved.
[0069] In a specific implementation scenario, Hibernate (object-relational mapping framework) is used to persist data and add recovery items corresponding to target items in the budget preparation interface.
[0070] In another specific implementation scenario, as mentioned above, the recovery value of the recovery account has been included in the budget value of the target account. Therefore, when the budget cost recovery is completed and the budget preparation interface is closed, the recovery account does not need to be saved.
[0071] See also Figure 3 , is a schematic diagram of the process of issuing the annual budget for this application, as follows:
[0072] Subordinate units prepare budgets and upload them to the budget account system;
[0073] The superior unit calls up the data in the budget account system, obtains the budget and conducts review;
[0074] In response to the budget being reviewed and approved, the superior unit uploads the reviewed budget to the budget account system;
[0075] The subordinate unit receives the budget that has been reviewed and approved and uses it as its annual budget.
[0076] Please refer to Figure 3 and Figure 4 , Figure 4 1 is a flow chart of another embodiment of the budget cost recovery method of the present application. Specifically, the budget cost recovery method in this embodiment may include the following steps:
[0077] Step S401: Determine whether the annual budget needs to recover the budget cost. If yes, execute step S402, otherwise, end the current process.
[0078] In an implementation scenario, as mentioned above, when executing the annual budget, the subordinate unit finds that the amount issued by some budget items and the business standard amount meet the first preset condition, then it is determined that the annual budget needs to be recovered.
[0079] In a specific implementation scenario, the first preset condition may be that the amount of the budget item that exceeds the business standard amount is greater than a specific amount such as RMB 100,000 or RMB 200,000, and no specific restrictions are made here.
[0080] In another specific implementation scenario, the first preset condition may be that the amount allocated by the budget item exceeds the business standard amount by a ratio of more than 5%, 10%, etc., and no specific limitation is made here.
[0081] In another implementation scenario, as mentioned above, when executing the annual budget, the subordinate unit finds that the amounts issued for all budget items and the business standard amounts do not meet the first preset condition (see above), or the budget cannot be adjusted, etc., and it is determined that the annual budget does not require budget cost recovery, and the current process ends.
[0082] In a specific implementation scenario, the financial system has been closed and the annual budget cannot be adjusted at this time. It is determined that the annual budget does not need to recover the budget cost, and the current process ends.
[0083] In another specific implementation scenario, the execution of the annual budget has exceeded the time limit. At this time, the annual budget cannot be adjusted. It is determined that the annual budget does not need to recover the budget cost, and the current process ends.
[0084] Step S402: The cursor is positioned on the recycling subject.
[0085] Positioning the cursor on the recovery account is equivalent to "the user issues a selection instruction for the budget account where the cursor is located" in the aforementioned embodiment. The specific implementation steps can refer to the aforementioned embodiment and will not be repeated here.
[0086] Step S403: Check the cost recovery checkbox.
[0087] Checking the cost recovery checkbox is equivalent to "in response to the user's selection instruction for the budget account on the budget preparation interface, taking the selected budget account as the target account" in the aforementioned embodiment. The specific implementation steps can refer to the aforementioned embodiment and will not be repeated here.
[0088] Step S404: Insert the recovery sub-account.
[0089] Inserting a recovery sub-account is equivalent to "adding a recovery account corresponding to the target account in the budget preparation interface" in the aforementioned embodiment. The specific implementation steps can refer to the aforementioned embodiment and will not be repeated here.
[0090] Step S405: Edit the budget recovery amount.
[0091] Editing the budget recovery amount is equivalent to the "recovery value entered by the user at the recovery account" in the aforementioned embodiment. The specific implementation steps can refer to the aforementioned embodiment and will not be repeated here.
[0092] Step S406: Upload the annual budget after the editing cost is recovered to the budget account system.
[0093] As mentioned earlier, after the subordinate unit has completed editing the annual budget for cost recovery, it needs to be uploaded to the budget account system again, and then reviewed and issued by the superior unit again.
[0094] Step S407: Return to execute step S401 and its subsequent steps.
[0095] After uploading the annual budget after the editing cost recovery to the budget account system, it is necessary to return to execute step S401 and its subsequent steps until the judgment result of step S401 is no, and the current process ends.
[0096] In the above scheme, the recovery account is positioned by the cursor, and then the cost recovery checkbox is checked to insert the recovery sub-account. The budget recovery amount is edited, and the annual budget after the edited cost recovery is uploaded to the budget account system, so as to finally realize the cost recovery of the budget. Therefore, you only need to insert the recovery sub-account in the recovery account, enter the recovery amount, and upload it to conveniently realize the cost recovery of the recovery account. At the same time, during the budget execution process, it is continuously judged whether budget cost recovery is needed, so that cost recovery can be realized in a timely and accurate manner, and the problem of untimely or inability to realize budget cost recovery due to other reasons can be avoided as much as possible.
[0097] See also Figure 5 , Figure 5 1 is a schematic diagram of a framework of an embodiment of an electronic device 50 of the present application. Specifically, the electronic device 50 includes a processor 51 and a memory 52 coupled to each other, and the processor 51 is used to execute program instructions stored in the memory 52 to implement the steps in the budget cost recovery method of any of the above embodiments. The electronic device 50 may specifically include, but is not limited to: a microcomputer, a notebook, a tablet computer, a smart phone, a simultaneous interpretation system, etc., which are not limited here.
[0098] Specifically, the processor 51 can control itself and the memory 52 to execute the steps in the budget cost recovery method of any of the above embodiments. The processor 51 can also be called a CPU (Central Processing Unit). The processor 51 may be an integrated circuit chip with signal processing capabilities. The processor 51 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 51 can be implemented by multiple integrated circuit chips.
[0099] In the above scheme, a budget preparation interface is obtained, and the budget preparation interface includes several budget items and the budget value of each budget item. Based on this, in response to the user's selection instruction for the budget item on the budget preparation interface, the selected budget item is used as the target item, and the recovery item corresponding to the target item is added to the budget preparation interface, so that the cost recovery is performed on the target item corresponding to the recovery item based on the recovery value entered by the user at the recovery item and the budget value of the target item corresponding to the recovery item. Therefore, the user only needs to select the target item on the budget preparation interface to automatically add the corresponding recovery item to the budget preparation interface, and after the user enters the recovery value in the recovery item, the cost recovery of the target item can be completed, and the cost recovery of the budget can be conveniently performed.
[0100] See also Figure 6 , Figure 61 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium 60 of the present application. In this embodiment, the computer-readable storage medium 60 stores program instructions 601 executable by a processor, and the program instructions 601 are used to execute the steps in the above-mentioned budget cost recovery method embodiment.
[0101] The computer-readable storage medium 60 may specifically be a medium that can store program instructions, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or may be a server that stores the program instructions. The server may send the stored program instructions to other devices for execution, or may execute the stored program instructions by itself.
[0102] In the above scheme, a budget preparation interface is obtained, and the budget preparation interface includes several budget items and the budget value of each budget item. Based on this, in response to the user's selection instruction for the budget item on the budget preparation interface, the selected budget item is used as the target item, and the recovery item corresponding to the target item is added to the budget preparation interface, so that the cost recovery is performed on the target item corresponding to the recovery item based on the recovery value entered by the user at the recovery item and the budget value of the target item corresponding to the recovery item. Therefore, the user only needs to select the target item on the budget preparation interface to automatically add the corresponding recovery item to the budget preparation interface, and after the user enters the recovery value in the recovery item, the cost recovery of the target item can be completed, and the cost recovery of the budget can be conveniently performed.
[0103] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0105] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
Claims
1. A budget cost recovery method, characterized in that: include: Obtaining a budget preparation interface; wherein the budget preparation interface includes a number of budget items and a budget value of each of the budget items; In response to a user's selection instruction for the budget subject on the budget preparation interface, the selected budget subject is used as a target subject, and a recovery subject corresponding to the target subject is added on the budget preparation interface; Establishing a mapping relationship between the recycling subject and the target subject corresponding to the recycling target; In response to a user inputting a recovery value at the recovery account, determining, based on the mapping relationship, a target account to which the recovery account where the recovery value is located belongs; Based on the determined budget value of the target account and the recovery value input in the recovery account, cost recovery is performed on the target account corresponding to the recovery account.
2. The method according to claim 1, characterized in that The budget preparation interface is provided with a recycling confirmation control, and the response to the user's selection instruction of the budget subject on the budget preparation interface includes: In response to the user triggering the recycling confirmation control, determining that the user issues the selection instruction for the budget item where the cursor is located; Adding the recovery subject corresponding to the target subject in the budget preparation interface includes: The recovery account is added at the relative position of the target account in the budget preparation interface.
3. The method according to claim 1, characterized in that The mapping relationship includes the subject identifier of the target subject and the subject identifier of the recovery subject corresponding to the target subject. The determining, based on the mapping relationship, the target subject to which the recovery subject where the recovery value is located belongs includes: Obtain the first identifier of the recovery account where the recovery value belongs; Based on the mapping relationship and the first identifier, obtaining a second identifier of a target account to which the recovery account belongs; Based on the second identifier, determine the target account to which the recovery account where the recovery value is located belongs.
4. The method according to claim 1, characterized in that The step of performing cost recovery on the target account corresponding to the recovery account based on the determined budget value of the target account and the recovery value inputted in the recovery account includes: Obtaining the recovery value entered by the user at the recovery subject; wherein the recovery value is a positive number; In response to a focus loss event, negating the reclaimed value to obtain an opposite number of the reclaimed value; The negative number is included in the budget value of the target account to achieve cost recovery for the target account.
5. The method according to claim 1, characterized in that The recovery items are displayed in a first style on the budget preparation interface, and the budget items are displayed in a second style on the budget preparation interface, and the first style is different from the second style.
6. The method according to claim 1, characterized in that After cost recovery is performed on the target account, the method further includes: Prompt information is displayed on the budget preparation interface; wherein the prompt information includes an indicator indicating that the cost of the target account has been recovered.
7. The method according to claim 1, characterized in that After cost recovery is performed on the target account, the method further includes: The target account and the budget value of the target account after cost recovery are saved, and the budget account and the budget value of the unrecovered cost are saved.
8. An electronic device, characterized in that: It comprises a processor and a memory coupled to each other; the processor is used to execute program instructions stored in the memory to implement the budget cost recovery method described in any one of claims 1-7.
9. A computer-readable storage medium, characterized in that: Program instructions that can be executed by a processor are stored, and the program instructions are used to implement the budget cost recovery method described in any one of claims 1-7.
