Method and device for switching unit price forms and electronic equipment

文档序号:1876342 发布日期:2021-11-23 浏览:30次 中文

阅读说明:本技术 单价形式的切换方法、装置及电子设备 (Method and device for switching unit price forms and electronic equipment ) 是由 宋晶晶 杨启 于 2021-08-04 设计创作,主要内容包括:本发明涉及数据处理技术领域,具体涉及单价形式的切换方法、装置及电子设备,所述切换方法包括备份当前单价形式的费用信息;获取目标单价形式的模板并将所述当前单价形式的模板切换至所述目标单价形式的模板;基于所述当前单价形式的费用信息,确定所述目标单价形式的模板中的单价。通过模板形式表征各个单价形式,单价形式的切换就可以对应到模板的切换,再基于当前单价形式的费用信息确定切换后模板的单价,从而实现模板与费用信息的自动切换,避免了手动切换所带来的准确率问题,提高了切换准确率。(The invention relates to the technical field of data processing, in particular to a unit price form switching method, a unit price form switching device and electronic equipment, wherein the switching method comprises the steps of backing up cost information in the current unit price form; acquiring a template in a target unit price form and switching the template in the current unit price form to the template in the target unit price form; and determining unit price in the template of the target unit price form based on the cost information of the current unit price form. Each unit price form is represented through the form of the template, the unit price form switching can correspond to the switching of the template, and the unit price of the switched template is determined based on the cost information of the current unit price form, so that the automatic switching of the template and the cost information is realized, the problem of accuracy caused by manual switching is solved, and the switching accuracy is improved.)

1. A method of switching in a monovalent form, comprising:

backing up the cost information in the form of the current unit price;

acquiring a template in a target unit price form and switching the template in the current unit price form to the template in the target unit price form;

and determining unit price in the template of the target unit price form based on the cost information of the current unit price form.

2. The handover method according to claim 1, wherein the backing up the cost information in the form of the current unit price comprises:

analyzing the template of the current unit price form to obtain the cost information of the current unit price form, wherein the cost information comprises a rate and a corresponding category;

and storing the cost information to backup the cost information in the form of the current unit price.

3. The handover method according to claim 2, wherein the parsing the template of the current unit price form to obtain the cost information of the current unit price form includes:

acquiring all project templates used by the current project, wherein the project templates comprise all unit price form templates;

and respectively analyzing the template in the current unit price form in each engineering template to obtain the cost information in the current unit price form corresponding to the template in the current unit price form in each engineering template.

4. The handover method according to any one of claims 1 to 3, wherein the backing up of the cost information in the form of the current unit price further comprises:

responding to a switching operation of the unit price form;

and backing up the cost information in the form of the current unit price.

5. The handover method according to claim 1, wherein the cost information includes a rate and a corresponding category, and the determining the unit price in the template of the target unit price form based on the cost information of the current unit price form includes:

matching the expense items in the template of the target unit price form by using the types in the expense information to obtain matched expense items;

and refreshing the rate corresponding to the category to the rate corresponding to the matched expense item, and determining the unit price in the template of the target unit price form.

6. The switching method according to claim 1, wherein the acquiring a template in a target unit price form and switching the template in the current unit price form to the template in the target unit price form includes:

searching a template storage library by using the target unit price form, and determining the templates of the target unit price form, wherein the template storage library is used for storing the templates of all unit price forms;

and switching the template of the current unit price form to the template of the target unit price form.

7. The handover method according to claim 6, wherein the searching a template repository using the target unit price form to determine the template of the target unit price form comprises:

acquiring the corresponding relation between each engineering template used by the current engineering and each template in unit price form, wherein the engineering templates comprise the templates in unit price form;

and determining a template in a target unit price form in each engineering template in the template repository by using the corresponding relation.

8. A switching device of a monovalent form, comprising:

the backup module backups the cost information in the current unit price form;

the switching module is used for acquiring a template in a target unit price form and switching the template in the current unit price form to the template in the target unit price form;

and the determining module is used for determining the unit price in the template of the target unit price form based on the cost information of the current unit price form.

9. An electronic device, comprising:

a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of switching between unit price forms according to any one of claims 1 to 7.

10. A computer-readable storage medium storing computer instructions for causing a computer to execute the method for switching between unit price forms according to any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of data processing, in particular to a method and a device for switching unit price forms and electronic equipment.

Background

The unit price form can be divided into a non-full-fee integrated unit price form and a full-fee integrated unit price form. Wherein the unit price in the form of the non-total-fee comprehensive unit price is the sum of the bill comprehensive unit price, the labor fee, the material fee, the machinery fee, the management fee and the profit; the unit price in the form of the total-fee integrated unit price is the sum of the bill integrated unit price, which is the sum of the labor fee, the material fee, the machinery fee, the management fee, the profit, the total price measure, the rule fee and the tax.

In the pricing process, conversion between full-cost projects and non-full-cost projects is usually required. For example, when performing cost estimation or index analysis, it is required to provide a full-cost project document again. Or in the actual engineering process, the first party initially requires the use of the full-cost comprehensive unit price for bidding, and requires the price change and the use of the non-full-cost comprehensive unit price in the process.

However, the existing pricing software typically accomplishes the switching of unit price forms by newly building a project, copying and pasting the original project data, and adjusting the rate of the template. The switching mode needs manual switching, and due to the fact that the process is complex, the data size is large, errors are prone to occurring, and the switching accuracy is low.

Disclosure of Invention

In view of this, embodiments of the present invention provide a method and an apparatus for switching unit price, and an electronic device, so as to solve the problem of low switching accuracy.

According to a first aspect, an embodiment of the present invention provides a method for switching in a monovalent form, including:

backing up the cost information in the form of the current unit price;

acquiring a template in a target unit price form and switching the template in the current unit price form to the template in the target unit price form;

and determining unit price in the template of the target unit price form based on the cost information of the current unit price form.

According to the unit price form switching method provided by the embodiment of the invention, each unit price form is represented by the form of the template, the unit price form switching can correspond to the switching of the template, and the unit price of the switched template is determined based on the cost information of the current unit price form, so that the automatic switching of the template and the cost information is realized, the accuracy problem caused by manual switching is avoided, and the switching accuracy is improved.

With reference to the first aspect, in a first implementation manner of the first aspect, the backing up the cost information in the form of the current unit price includes:

analyzing the template of the current unit price form to obtain the cost information of the current unit price form, wherein the cost information comprises a rate and a corresponding category;

and storing the cost information to backup the cost information in the form of the current unit price.

According to the unit price form switching method provided by the embodiment of the invention, the rate and the corresponding category are backed up simultaneously when the current unit price form charge information is backed up, so that the rate is conveniently corresponded to the switched template in the following process, and the accuracy of switching is ensured.

With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the parsing the template of the current unit price form to obtain the cost information of the current unit price form includes:

acquiring all project templates used by the current project, wherein the project templates comprise all unit price form templates;

and respectively analyzing the template in the current unit price form in each engineering template to obtain the cost information in the current unit price form corresponding to the template in the current unit price form in each engineering template.

According to the unit price form switching method provided by the embodiment of the invention, a plurality of engineering templates are used in the current project, the current unit price form template in each engineering template is analyzed, the cost information of the current unit price form in each engineering template can be determined, so that the current unit price form template in each engineering template can be switched conveniently in the following process, and accurate cost information can be determined.

With reference to the first aspect, or the first implementation manner or the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the backing up the cost information in the form of the current unit price further includes:

responding to a switching operation of the unit price form;

and backing up the cost information in the form of the current unit price.

According to the unit price form switching method provided by the embodiment of the invention, the unit price form switching is carried out in a one-key switching mode of the user, the automatic switching of the unit price form can be realized without extra operation for the user, and the switching efficiency is improved.

With reference to the first aspect, in a fourth implementation manner of the first aspect, the determining unit prices in the templates of the target unit price forms based on the cost information of the current unit price form includes:

matching the expense items in the template of the target unit price form by using the types in the expense information to obtain matched expense items;

and refreshing the rate corresponding to the category to the rate corresponding to the matched expense item, and determining the unit price in the template of the target unit price form.

According to the switching method of the unit price form, provided by the embodiment of the invention, the unit price in the template of the target unit price form can be determined by refreshing the rate to the rate corresponding to the matched expense item by utilizing the corresponding relation between the expense item in the template of the target unit price form and the category in the expense information, and the rate before and after switching can be ensured to be kept unchanged.

With reference to the first aspect, in a fifth implementation manner of the first aspect, the acquiring a template in a target unit price form and switching the template in the current unit price form to the template in the target unit price form includes:

searching a template storage library by using the target unit price form, and determining the templates of the target unit price form, wherein the template storage library is used for storing the templates of all unit price forms;

and switching the template of the current unit price form to the template of the target unit price form.

According to the unit price form switching method provided by the embodiment of the invention, the template storage library is used for storing the templates of each unit price form, so that the templates can be conveniently searched, and the unit price form switching efficiency is improved.

With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the searching, by using the target unit price form, a template repository, and determining a template of the target unit price form includes:

acquiring the corresponding relation between each engineering template used by the current engineering and each template in unit price form, wherein the engineering templates comprise the templates in unit price form;

and determining a template in a target unit price form in each engineering template in the template repository by using the corresponding relation.

According to the unit price form switching method provided by the embodiment of the invention, the target unit price form template is determined by utilizing the corresponding relation between the engineering template and each unit price form template, so that the accuracy of the target unit price form template in each determined engineering template can be ensured.

According to a second aspect, an embodiment of the present invention further provides a monovalent switching device, including:

the backup module backups the cost information in the current unit price form;

the switching module is used for acquiring a template in a target unit price form and switching the template in the current unit price form to the template in the target unit price form;

and the determining module is used for determining the unit price in the template of the target unit price form based on the cost information of the current unit price form.

According to the unit price form switching device provided by the embodiment of the invention, each unit price form is represented by the form of the template, the unit price form switching can correspond to the switching of the template, and the unit price of the switched template is determined based on the cost information of the current unit price form, so that the automatic switching of the template and the cost information is realized, the accuracy problem caused by manual switching is avoided, and the switching accuracy is improved. According to a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, and the processor executing the computer instructions to perform the switching method according to the first aspect or the unit price form described in any one of the embodiments of the first aspect.

According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the switching method of the first aspect or the unit price form described in any one of the implementation manners of the first aspect.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.

Fig. 1 is a flow chart of a method of handover in monovalent form according to an embodiment of the invention;

fig. 2 is a flow chart of a method of handover in monovalent form according to an embodiment of the invention;

FIG. 3 is a schematic diagram of a switching architecture in a monovalent form according to an embodiment of the present invention;

FIG. 4 is a flow chart of a method of handover in monovalent form according to an embodiment of the invention;

fig. 5 is a block diagram of a switching device of a unit price form according to an embodiment of the present invention;

fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that the unit price form switching described in the embodiment of the present invention may be a full-fee integrated unit price form switching to a non-full-fee integrated unit price form, or a non-full-fee integrated unit price form switching to a full-fee total unit price form. The corresponding processing can be specifically performed according to the actual situation, and the application scenario is not limited at all here.

In accordance with an embodiment of the present invention, there is provided a monovalent form of the embodiment of the switching method, it is noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.

In this embodiment, a method for switching unit price forms is provided, which can be used in electronic devices, such as computers, mobile phones, tablet computers, and the like, and fig. 1 is a flowchart of a method for switching unit price forms according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:

and S11, backing up the cost information in the form of the current unit price.

The current unit price form can be a full-cost comprehensive unit price form or a non-full-cost comprehensive unit price form, and the corresponding setting can be specifically carried out according to the actual situation.

When the electronic device backs up the cost information in the current unit price form, each piece of cost information can be extracted from the template in the current unit price form, and the cost information can be stored according to a preset rule. For example, the cost information may be stored with its identity, or may be stored with the location of the respective cost information in a template, and so on. After storing the current unit price form of the fee information, the electronic device may be considered to backup the current unit price form of the fee information.

Details about this step will be described later.

And S12, acquiring the template in the target unit price form and switching the template in the current unit price form to the template in the target unit price form.

The electronic equipment stores templates in various unit price forms, and when the unit price forms need to be switched, the templates in the target unit price forms are extracted from the stored templates. For example, if the current unit price form is the total-cost integrated unit price, the corresponding target unit price form is the non-total-cost integrated unit price; if the current unit price form is the non-full-fee integrated unit price, the corresponding target unit price form is the full-fee total unit price.

The electronic equipment can determine the target unit price form according to the current unit price form, and extracts the corresponding template of the target unit price form from the corresponding storage space. After the template in the target unit price form is extracted, the template in the current unit price form is switched to the template in the target unit price form.

S13, determining the unit price in the template of the target unit price form based on the cost information of the current unit price form.

After the template in the current unit price form is switched to the template in the target unit price form, the cost information in the template before switching is also restored to the default value in the template in the target unit price form along with the switching of the template. Therefore, the electronic device needs to import the cost information backed up in S11 into the template in the target unit price form to determine the unit price in the template in the target unit price form.

Specifically, after determining the template in the target unit price form, the electronic device may import the backed-up cost information into the template in the target unit price form according to the storage manner of the cost information. For example, the fee information may be directly imported in the form of a template, or the fee information may be imported according to the identifier of the fee information.

Details about this step will be described later.

According to the unit price form switching method provided by the embodiment, each unit price form is represented through the form of the template, the unit price form switching can correspond to the switching of the template, and the unit price of the switched template is determined based on the cost information of the current unit price form, so that the automatic switching of the template and the cost information is realized, the problem of accuracy caused by manual switching is solved, and the switching accuracy is improved.

In this embodiment, a method for switching unit price forms is provided, which can be used in electronic devices, such as computers, mobile phones, tablet computers, and the like, and fig. 2 is a flowchart of a method for switching unit price forms according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:

and S21, backing up the cost information in the form of the current unit price.

Specifically, the above S21 may include the following steps:

and S211, analyzing the template of the current unit price form to obtain the cost information of the current unit price form.

Wherein, the fee information comprises a fee rate and a corresponding category.

The electronic equipment analyzes the template in the current unit price form and extracts the cost information in the template. When the fee information is extracted, the fee rate and the corresponding category may be extracted. For example, the category is manual and the rate is 35%. The categories can be distinguished by characters, can also be distinguished by identifiers, and the like, and when the identifiers are adopted for distinguishing, each category has unique identification information.

In some optional implementations of this embodiment, as shown in fig. 3, the step S211 may include the following steps:

(1) and acquiring each project template used by the current project.

Wherein the engineering templates comprise respective monovalent form templates.

After the new construction of the current project is completed, the templates used in the current project are already loaded into the project in the new construction process, and the rate information of each project template is also stored in the project templates. Furthermore, in the process of pricing the project, the user can make certain adjustment on the rate in the project template to obtain the cost information in the form of the current unit price.

As shown in fig. 3, the project templates used in the current project include a measure project template, a cost summary template, and a unit price construction template. Under each engineering template, a plurality of templates can exist according to different fee-taking specialties. The unit price forming template is taken as an example, and can be divided into a building template, an installation template or a municipal template and the like according to the difference of fee taking specialties, and the unit price form of the building template can be divided into a full-fee comprehensive unit price form and a non-full-fee comprehensive unit price form. For each engineering template, it is not a single template, but a set of templates. The unit price forms used in the set of templates are the same, and if the unit price forms need to be switched, the unit price forms of all the templates in the set need to be switched.

(2) And respectively analyzing the template in the current unit price form in each engineering template to obtain the cost information in the current unit price form corresponding to the template in the current unit price form in each engineering template.

After acquiring each project template of the current project, the electronic equipment analyzes each project template respectively to obtain cost information of the current unit price form corresponding to the template of the current unit price form in each project template.

For example, as shown in fig. 3, the fee information analyzed by the electronic device corresponding to the measure item template is: measure category and rate;

corresponding to the expense summarizing template, the expense information obtained by analyzing the expense summarizing template by the electronic equipment is as follows: the charge category and rate;

the cost information analyzed by the electronic device corresponding to the unit price construction template is the cost category and the rate.

The multiple engineering templates are used in the current project, the templates in the current unit price form in each engineering template are analyzed, and the cost information in the current unit price form in each engineering template can be determined, so that the templates in the current unit price form in each engineering template can be switched conveniently in the follow-up process, and accurate cost information can be determined.

And S212, storing the cost information to backup the cost information in the form of the current unit price.

After analyzing the cost information of each template, the electronic equipment stores the cost information, so that the cost information in the current unit price form is backed up. During storage, the charge information may be stored in a form of key value pairs, where the category is used as a key in the key value pair, and the rate is used as a value in the key value pair.

With continued reference to FIG. 3, corresponding to the action fee template, the fee information may be stored as follows, keys: action category, value: a rate;

corresponding to the fee summary template, the fee information may be stored as follows, keys: cost category, value: a rate;

the cost information may be stored as follows, corresponding to a unit price constituting a template, and the keys: cost category, value: the rate.

In still other optional implementations of this embodiment, the S21 may further include:

(1) in response to a switching operation to the monovalent form.

For example, the electronic device provides a switching interface in the unit price form, and the user performs a switching operation on the switching interface, and accordingly, the electronic device responds to the switching operation in the unit price form by the user.

(2) And backing up the cost information in the form of the current unit price.

After the electronic equipment responds to the switching operation of the unit price form by the user, the automatic switching of the unit price form can be automatically carried out. Namely, the cost information in the current unit price form is backed up, and then the template switching is carried out.

The switching method provides a one-key switching mode for the user to switch the unit price form, and can realize the automatic switching of the unit price form without additional operation for the user, thereby improving the switching efficiency.

And S22, acquiring the template in the target unit price form and switching the template in the current unit price form to the template in the target unit price form.

Please refer to S12 in fig. 1, which is not described herein again.

S23, determining the unit price in the template of the target unit price form based on the cost information of the current unit price form.

Specifically, the above S23 may include the following steps:

and S231, matching the expense items in the template of the target unit price form by using the types in the expense information to obtain the matched expense items.

After the electronic device switches the template in the current unit price form to the template in the target unit price form, the rate displayed by the template in the target unit price form is the default value of the rate, so that the charge information backed up in S21 needs to be imported into the template in the target unit price form.

Specifically, the electronic device performs matching using the category, and the fee items corresponding to the categories in the fee information may be sequentially matched in the template of the target unit price form and confirmed as matching fee items.

S232, the rate corresponding to the category is refreshed into the rate corresponding to the matched expense item, and the unit price in the template of the target unit price form is determined.

After the matching expense items are determined, the rate corresponding to the matching expense items in the expense information is refreshed into the rate corresponding to the matching expense items, so that the unit price in the template of the target unit price form can be determined.

In the unit price form switching method provided by this embodiment, the rate and the corresponding category are backed up at the same time when the current unit price form charge information is backed up, so that the rate is corresponded to the switched template in the following process, and the accuracy of switching is ensured; furthermore, by utilizing the corresponding relation between the expense items in the template of the target unit price form and the categories in the expense information, the rate is refreshed into the rate corresponding to the matched expense items, so that the unit price in the template of the target unit price form can be determined, and the rate before and after switching can be ensured to be kept unchanged.

In this embodiment, a method for switching unit price forms is provided, which can be used in electronic devices, such as computers, mobile phones, tablet computers, and the like, fig. 4 is a flowchart of a method for switching unit price forms according to an embodiment of the present invention, and as shown in fig. 4, the flowchart includes the following steps:

and S31, backing up the cost information in the form of the current unit price.

Please refer to S21 in fig. 2 for details, which are not described herein.

And S32, acquiring the template in the target unit price form and switching the template in the current unit price form to the template in the target unit price form.

Specifically, the above S32 may include the following steps:

s321, searching the template storage library by using the target unit price form, and determining the template of the target unit price form.

Wherein the template repository is configured to store templates in respective monovalent forms.

The electronic equipment stores the templates in the unit price forms in the template library, and the corresponding template in the target unit price form can be found from the template library by using the target unit price form.

In some optional implementations of this embodiment, the step S321 may include the following steps:

(1) and acquiring the corresponding relation between each engineering template used by the current engineering and each template in a unit price form, wherein the engineering templates comprise the templates in the unit price form.

As described above, after the electronic device completes the new construction, the project templates used in the construction are loaded into the construction. The electronic equipment can firstly acquire information such as a list library, a list specialty, a rating library, a rating specialty and a tax counting mode stored when the electronic equipment is newly built in a project. The corresponding relation between each project template used by the current project and each unit price form template can be stored in a guide file, and the guide file is stored in a quota library and is issued along with the quota library. Specifically, the quota base stores the template positions of each professional full-fee integrated unit price form and the non-full-fee integrated unit price form.

(2) And determining the template of the target unit price form in each engineering template in the template repository by using the corresponding relation.

The electronic equipment can determine the corresponding relation by searching the guide file in the quota library, and can determine the templates in the target unit price form in each engineering template in the template repository by utilizing the corresponding relation.

The template in the target unit price form is determined by utilizing the corresponding relation between the engineering template and the templates in the unit price forms, so that the accuracy of the template in the target unit price form in each determined engineering template can be ensured.

And S322, switching the template in the current unit price form to the template in the target unit price form.

As shown in fig. 3, the electronic device determines a template in the form of a target unit price in each project template by using a wizard file, and loads the determined template to obtain a new measure project template, a new cost summary template, and a new unit price configuration template.

S33, determining the unit price in the template of the target unit price form based on the cost information of the current unit price form.

Please refer to S23 in fig. 2 for details, which are not described herein.

According to the unit price form switching method provided by the embodiment, the template storage library is used for storing the templates in each unit price form, so that the templates can be conveniently searched, and the unit price form switching efficiency is improved.

In some optional embodiments of this embodiment, after the project switching is completed, the electronic device may mark the project accordingly, for example, a full-cost project or a comprehensive unit price project. That is, by switching templates, two types of project documents in unit price form can be obtained corresponding to the same project.

The unit price form switching method described in this embodiment can realize one-key switching between full-cost engineering and non-full-cost engineering, for example, the existing non-full-cost engineering can be switched to full-cost engineering by one key, and the existing full-cost engineering can be switched to non-full-cost engineering by one key. The automatic matching of the rates is realized in the switched engineering template, and the user does not need to make any adjustment in the whole process. Specifically, a rate backup recovery technology is adopted, so that an automatic flow of each template rate of the project is realized in the switching process; by adopting the automatic template matching technology, each template of the project is automatically matched into a switched template in the switching process; furthermore, a unit project caching technology is adopted, and one-key switching of all unit projects of the whole project is achieved.

In this embodiment, a unit price type switching device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device is omitted for brevity. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.

The present embodiment provides a switching device in a monovalent form, as shown in fig. 5, including:

a backup module 41 for backing up the cost information in the form of the current unit price;

a switching module 42, configured to obtain a template in a target unit price form and switch the template in the current unit price form to the template in the target unit price form;

a determining module 43, configured to determine the unit price in the template of the target unit price form based on the cost information of the current unit price form.

According to the unit price form switching device provided by the embodiment, each unit price form is represented through the form of the template, the unit price form switching can correspond to the switching of the template, and the unit price of the switched template is determined based on the cost information of the current unit price form, so that the automatic switching of the template and the cost information is realized, the problem of accuracy caused by manual switching is solved, and the switching accuracy is improved.

The monovalent form of the switching device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and/or other devices that can provide the above-described functionality.

Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.

An embodiment of the present invention further provides an electronic device, which has the switching device with the unit price form shown in fig. 5.

Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, and as shown in fig. 6, the electronic device may include: at least one processor 51, such as a CPU (Central Processing Unit), at least one communication interface 53, memory 54, at least one communication bus 52. Wherein a communication bus 52 is used to enable the connection communication between these components. The communication interface 53 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 53 may also include a standard wired interface and a standard wireless interface. The Memory 54 may be a high-speed RAM Memory (volatile Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 54 may alternatively be at least one memory device located remotely from the processor 51. Wherein the processor 51 may be in connection with the apparatus described in fig. 5, the memory 54 stores an application program, and the processor 51 calls the program code stored in the memory 54 for performing any of the above-mentioned method steps.

The communication bus 52 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 52 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.

The memory 54 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 54 may also comprise a combination of the above types of memories.

The processor 51 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.

The processor 51 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.

Optionally, the memory 54 is also used to store program instructions. The processor 51 may call program instructions to implement a monovalent form of the switching method as shown in the embodiments of fig. 1, 2 and 4 of the present application.

An embodiment of the present invention further provides a non-transitory computer storage medium, where a computer-executable instruction is stored in the computer storage medium, and the computer-executable instruction can execute a unit price form switching method in any of the above method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.

Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:医疗机构预付金账户填平方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!