Purchase order generation method, device, computer equipment and storage medium

By automatically matching and evaluating suppliers, calculating evaluation scores and supply limits in combination with historical data, and generating purchase orders, the subjective impact and inefficiency caused by manual selection is solved, and a more accurate and efficient procurement process is achieved.

CN113935684BActive Publication Date: 2024-11-15KINGDEE SOFTWARE(CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111182910.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-11
Publication Date
2024-11-15
Estimated Expiration
2041-10-11

AI Technical Summary

Technical Problem

In the procurement process of existing enterprises, suppliers choose to rely on manual experience and are susceptible to human subjective factors, are inefficient and not objective enough, and quota allocation is not fair and transparent enough.

Method used

Measure supply by matching candidate suppliers in a pre-stored list based on expected supplier attributes and material attributes in the procurement plan, determining the target weights of the evaluation dimensions, and calculating the target evaluation scores of each candidate supplier based on historical procurement data. The supplier's supply limits automatically generate purchase orders to ensure the fair distribution of material quotas.

Benefits of technology

It realizes automation of supplier selection and fair distribution of material quotas, avoids the influence of human subjective factors, improves the accuracy and efficiency of purchase orders, and ensures the objectivity and transparency of the procurement process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113935684B_ABST
    Figure CN113935684B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment and storage medium for generating a purchase order. The method includes: determining multiple candidate suppliers according to the expected supplier attributes and expected material attributes in the procurement plan; determining the target weight of each evaluation dimension, and determining the target evaluation score of each candidate supplier according to the target weight and historical procurement data, and screening the target supplier; then determining the material quota corresponding to each target supplier according to the material demand in the procurement plan and the supply limit of each target supplier; finally, based on each target supplier and the material quota corresponding to each target supplier, generating a purchase order matching the procurement plan. The method can automatically generate a purchase order objectively and impartially, and avoid the selection of suppliers being affected by human subjective factors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of supply chain management, and in particular to a method, apparatus, computer equipment and storage medium for generating a purchase order. Background Art

[0002] At present, when enterprises select suppliers, they usually rely on experience and manually specify the scope of suppliers to conduct inquiries, bidding, etc. during the procurement sourcing stage. After price comparison and bidding, they finally place orders with suppliers or directly specify suppliers to sign contracts or place orders. The supplier selection process is mainly carried out manually, which is easily affected by human subjective factors and has low efficiency. Summary of the invention

[0003] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for generating purchase orders that can automatically determine suppliers and their quotas and thus automatically generate purchase orders in response to the above technical problems.

[0004] A method for generating a purchase order, the method comprising:

[0005] According to the expected supplier attributes and expected material attributes in the procurement plan, a pre-stored supplier list and material list are matched to determine multiple candidate suppliers;

[0006] Determine the target weight of each evaluation dimension, and determine the target evaluation score of each candidate supplier corresponding to different evaluation dimensions based on the target weight of each evaluation dimension and historical procurement data;

[0007] Determining at least one target supplier that meets the screening conditions from among the multiple candidate suppliers according to the target evaluation score;

[0008] According to the material demand in the procurement plan and the supply limit of each target supplier, measure whether each target supplier can provide the material demand under the supply limit, and determine the material quota corresponding to each target supplier according to the measurement result;

[0009] Based on each target supplier and the material quota corresponding to each target supplier, a purchase order matching the purchase plan is generated.

[0010] In one embodiment, determining the target weight of each evaluation dimension includes:

[0011] Establish a dimension comparison matrix based on multiple evaluation dimensions and pre-set indicator importance levels;

[0012] Calculating an eigenvector of the dimension contrast matrix, and determining candidate weights corresponding to each evaluation dimension based on the eigenvector;

[0013] Performing a consistency check on the dimensional comparison matrix;

[0014] If the consistency check passes, the candidate weights are used as target weights for each evaluation dimension;

[0015] If the consistency check fails, the dimension comparison matrix is ​​adjusted, and the step of establishing the dimension comparison matrix is ​​returned to and re-executed until the consistency check passes, and the target weights of each evaluation dimension are obtained.

[0016] In one embodiment, determining the target evaluation score of each candidate supplier corresponding to different evaluation dimensions according to the target weight of each evaluation dimension and historical procurement data includes:

[0017] Based on historical procurement data, multiple initial evaluation scores corresponding to different evaluation dimensions are calculated for each candidate supplier;

[0018] Normalize the initial evaluation scores under each evaluation dimension to obtain candidate evaluation scores corresponding to each evaluation dimension under the same evaluation standard;

[0019] Based on the candidate evaluation scores corresponding to each evaluation dimension, determining the relevance of each candidate supplier corresponding to each evaluation dimension;

[0020] Based on the correlation degree and the target weight of each evaluation dimension, the target evaluation score of each candidate supplier corresponding to different evaluation dimensions is determined.

[0021] In one embodiment, determining the relevance of each candidate supplier corresponding to each evaluation dimension based on the candidate evaluation score corresponding to each evaluation dimension includes:

[0022] Based on the candidate evaluation scores corresponding to each evaluation dimension, determining the absolute difference between each candidate evaluation score and the evaluation standard to obtain an absolute difference matrix;

[0023] For each candidate supplier, based on the absolute difference matrix, the maximum value among the candidate evaluation scores of the candidate supplier under different evaluation dimensions is determined, and the correlation degree of each candidate supplier corresponding to each evaluation dimension is calculated based on the maximum value.

[0024] In one embodiment, the procurement plan at least includes a material requirement; the supply limit includes at least one of a material quota ratio, a maximum supply quantity, a minimum order quantity, and a minimum packaging quantity; the step of measuring whether each target supplier can provide the material requirement under the supply limit according to the material requirement in the procurement plan and the supply limit of each target supplier, and determining the material quota corresponding to each target supplier according to the measurement result, includes:

[0025] Get the type of materials to be allocated at the time;

[0026] Determine the target supplier to be allocated the quota corresponding to the type of material to be allocated at that time based on the material quota ratio of each target supplier and the total material quota;

[0027] Determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time based on the material demand and at least one of the maximum supply quantity, minimum order quantity, and minimum packaging quantity of the target supplier to be allocated;

[0028] Based on the material quota corresponding to the material type to be allocated at that time, updating the total material quota of the target supplier to be allocated;

[0029] The next material type is used as the next material type to be allocated, and the ratio of the total order volume of each target supplier to the corresponding material quota ratio is returned. The target supplier corresponding to the minimum value is used as the target supplier to be allocated corresponding to the material type to be allocated, and the steps are continued until the quotas for all material types are completed.

[0030] In one embodiment, determining the target supplier to be allocated quota corresponding to the material type to be allocated at that time based on the material quota ratio of each target supplier and the total material quota includes:

[0031] For the material type to be allocated at that time, if at least two target suppliers have not been allocated material quotas, the target supplier corresponding to the maximum material quota ratio will be used as the target supplier to be allocated corresponding to the material type to be allocated;

[0032] Otherwise, the ratio of the total material quota of each target supplier to the corresponding material quota ratio is calculated, and the target supplier corresponding to the minimum value in the ratio result is used as the target supplier to be allocated corresponding to the material type to be allocated.

[0033] In one embodiment, determining the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time based on the material demand and at least one supply limit of the maximum supply quantity, the minimum order quantity, and the minimum packaging quantity of the target supplier to be allocated includes:

[0034] For the target supplier to be allocated quota, if the material demand is greater than the maximum supply quantity of the target supplier to be allocated quota, then based on the maximum supply quantity and the minimum packaging quantity, determine the material quota of the target supplier to be allocated quota corresponding to the material type to be allocated quota at that time;

[0035] If the material demand is less than the minimum order quantity of the target supplier to be allocated, then based on the minimum order quantity and the minimum packaging quantity, determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time;

[0036] If the material demand is greater than the minimum order quantity of the target supplier to be allocated and less than the maximum supply quantity of the target supplier to be allocated, then based on the material demand and the minimum packaging quantity, determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time.

[0037] A device for generating a purchase order, the device comprising:

[0038] A matching module is used to match the expected supplier attributes and expected material attributes in the procurement plan in the pre-stored supplier list and material list to determine multiple candidate suppliers;

[0039] An evaluation module is used to determine the target weight of each evaluation dimension, and determine the target evaluation score of each candidate supplier corresponding to different evaluation dimensions based on the target weight of each evaluation dimension and historical procurement data;

[0040] A screening module, configured to determine at least one target supplier that meets the screening conditions from among the plurality of candidate suppliers according to the target evaluation score;

[0041] A quota module is used to measure whether each target supplier can provide the material demand under the supply limit according to the material demand in the procurement plan and the supply limit of each target supplier, and determine the material quota corresponding to each target supplier according to the measurement result;

[0042] A generation module is used to generate a purchase order matching the procurement plan based on each target supplier and the material quota corresponding to each target supplier.

[0043] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0044] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.

[0045] The above-mentioned purchase order generation method, device, computer equipment and storage medium determine multiple candidate suppliers according to the procurement plan, and select target suppliers from them according to the target weights of each evaluation dimension and historical procurement data, and determine the material quota corresponding to each target supplier according to the procurement plan and the supply limit of the target supplier. Finally, the target supplier and its material quota automatically generate a purchase order that matches the procurement plan. This application can automatically determine suppliers and automatically allocate material quotas to each supplier without manual selection based on experience, avoiding the influence of subjective factors on the selection results of suppliers, making the generated purchase order more accurately meet the actual needs of procurement, and the supplier selection is automatically executed with high efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flowchart of a method for generating a purchase order in one embodiment;

[0047] Figure 2 A schematic diagram of the structure of the objectives and evaluation dimensions of hierarchical analysis in one embodiment;

[0048] Figure 3 It is an overall schematic diagram of a method for generating a purchase order in one embodiment;

[0049] Figure 4 It is an overall schematic diagram of a method for generating a purchase order in another embodiment;

[0050] Figure 5 It is an overall schematic diagram of a method for generating a purchase order in another embodiment;

[0051] Figure 6 A schematic flow chart of a step of determining a target weight of each evaluation dimension by a terminal in one embodiment;

[0052] Figure 7 A flowchart of a step in which a terminal determines a target evaluation score for each candidate supplier corresponding to different evaluation dimensions in one embodiment;

[0053] Figure 8 A flowchart of a step in which a terminal determines the relevance of each candidate supplier corresponding to each evaluation dimension in one embodiment;

[0054] Fig. 9 A flowchart of a step of determining a material quota corresponding to each target supplier by a terminal in one embodiment;

[0055] Fig.10 is a structural block diagram of a device for generating a purchase order in one embodiment;

[0056] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] At present, supplier performance management is out of touch with procurement business. It is more based on experience to manually specify the scope of suppliers for inquiry and bidding in the procurement sourcing stage, and finally place orders with suppliers after manual price comparison and bidding, or directly specify suppliers to sign contracts or place orders, without making recommendations based on supplier performance. At the same time, supplier quota allocation is determined based on experience in the form of fixed ratios, fixed suppliers, fixed supplier priority order, and manual designation, which is not objective enough; the weights of supplier performance management evaluation dimensions are manually specified, and are not combined with historical business data, which is easily affected by human subjective factors.

[0059] In view of this, the present application provides a method, device, computer equipment and storage medium for generating a purchase order. According to the procurement plan, the evaluation dimensions of the supplier are clarified, the proportion of each evaluation dimension is objectively calculated according to the hierarchical analysis method, and the grey correlation algorithm is used to calculate the score for the supplier based on the historical procurement data. During the procurement execution process, qualified suppliers are automatically recommended according to materials and material classifications, and the quotas are reasonably allocated to the suppliers through a dynamic quota allocation plan. The whole process is objective, fair, transparent, efficient and flexible.

[0060] In one embodiment, Figure 1 As shown, a method for generating a purchase order is provided. This embodiment uses the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server.

[0061] In this embodiment, the method includes the following steps:

[0062] Step S102, according to the expected supplier attributes and expected material attributes in the procurement plan, matching is performed in the pre-stored supplier list and material list to determine a plurality of candidate suppliers.

[0063] The procurement plan is used to indicate the target of this procurement, so that the terminal can generate a purchase order accordingly. The procurement plan includes but is not limited to one or more of the expected supplier attributes, expected material attributes, and material demand. The expected supplier attributes refer to the supplier attributes of the target of this procurement, and the supplier attributes include but are not limited to one or more attributes of the supplier's classification, nature, scale, and region. The expected material attributes refer to the target material to be purchased, and the material attributes include but are not limited to one or more attributes of the material's classification, nature, and number.

[0064] Specifically, the terminal may pre-store a supplier list and a material list in the storage space, and determine the expected supplier attributes and expected material attributes in the procurement plan according to the target of this procurement, and perform query matching in the list according to the expected supplier attributes and expected material attributes, so as to select multiple candidate suppliers for further decision making later. The storage space may be a local memory space of the terminal, a storage medium of a cache space, or a buffer on a storage medium. The storage medium may include a read-only memory, a random access memory, an EEPROM (electrically erasable programmable read-only memory), a CD-ROM (disk-ROM) or other optical disk storage device, a disk storage device or other magnetic storage device, a flash memory, a U disk, a mobile hard disk, or any other medium that can be used to store and access the desired program code in the form of an instruction or data structure.

[0065] Step S104, determine the target weight of each evaluation dimension, and determine the target evaluation score of each candidate supplier corresponding to different evaluation dimensions according to the target weight of each evaluation dimension and historical procurement data. The evaluation dimension is the factor / criteria to be considered when determining the final supplier, and the evaluation dimension includes but is not limited to one or more of cost, quality, price, return rate, and delivery time.

[0066] Specifically, the terminal first selects the evaluation dimensions to be considered in this evaluation, and determines the target weights corresponding to each evaluation dimension. Then, based on the target weights of each evaluation dimension and combined with historical procurement data, the terminal calculates and determines the target evaluation scores of each candidate supplier corresponding to different evaluation dimensions.

[0067] In some embodiments, the terminal uses the hierarchical analysis method to determine the weight of each evaluation dimension. The basic idea of ​​the hierarchical analysis method is to hierarchize the problem to be analyzed; according to the nature of the problem and the overall goal to be achieved, the problem is decomposed into different components, and according to the correlation and influence of these factors and their affiliation, the factors are condensed and combined at different levels to form a multi-level analysis structure model; finally, the problems are compared and ranked. Figure 2 As shown, the terminal determines the target Z of the required decision (that is, the problem to be analyzed) and determines multiple evaluation dimensions A1, ..., Ai, ..., Aj (that is, factors / criteria to be considered when analyzing the problem).

[0068] Step S106, according to the target evaluation score, determine at least one target supplier that meets the screening conditions from multiple candidate suppliers. The screening conditions are used for the terminal to screen the candidate suppliers, so as to determine the final one or more target suppliers. For example, the screening conditions are the top 5 suppliers sorted from high to low according to the target evaluation score. The screening conditions can be set in advance in the procurement plan.

[0069] Specifically, after determining the target evaluation scores of each candidate supplier corresponding to different evaluation dimensions, the terminal selects at least one supplier from these candidate suppliers according to the screening conditions, thereby determining the final target supplier.

[0070] In some embodiments, after determining the target supplier, the terminal may also determine whether it is consistent with the actual situation. The actual situation refers to the actual supply conditions of the supplier. If there is a deviation from the actual situation (for example, the determined target supplier suddenly fails to supply due to an accident, etc.), the terminal may also push the result of the target supplier to the corresponding operator, and the operator may make manual adjustments.

[0071] Step S108, based on the material requirements in the procurement plan and the supply limits of each target supplier, measure whether each target supplier can provide the material requirements under the supply limit, and determine the material quota corresponding to each target supplier based on the measurement result. Among them, the procurement plan also includes at least one of the total order volume and the material requirements. The supply limit is used to characterize the supplier's supply capacity, including but not limited to one or more of the material quota ratio, the maximum supply quantity, the minimum order quantity, and the minimum packaging quantity. Among them, the material quota ratio refers to the procurement ratio determined in advance for each target supplier.

[0072] Specifically, based on the goal of this procurement, the terminal measures whether each target supplier can provide the material demand within the supply limit according to the material demand specified in the procurement plan and the supply limit of each target supplier, and determines the material quota corresponding to each target supplier according to the measurement results.

[0073] Step S110: generating a purchase order matching the purchase plan based on each target supplier and the material quota corresponding to each target supplier.

[0074] Specifically, after determining the target suppliers and the material quotas corresponding to each target supplier in turn, the terminal generates a purchase order that matches the purchase plan to facilitate the subsequent purchase execution process. Exemplarily, the terminal generates a purchase order in a preset format, which records the target suppliers, and each target supplier is associated with a corresponding material quota.

[0075] Therefore, the terminal automatically determines the supplier based on the weight of the evaluation dimension and historical procurement data, and automatically allocates material quotas for the determined supplier based on procurement needs and the supplier's actual supply capacity, thereby generating a purchase order.

[0076] The above-mentioned method for generating a purchase order determines multiple candidate suppliers according to the procurement plan, and selects a target supplier from them according to the target weight of each evaluation dimension and historical procurement data, and determines the material quota corresponding to each target supplier according to the procurement plan and the supply limit of the target supplier. Finally, the target supplier and its material quota automatically generate a purchase order that matches the procurement plan. It can automatically determine the supplier and automatically allocate material quotas to each supplier without manual selection based on experience, avoiding the supplier selection result being affected by human subjective factors, so that the generated purchase order more accurately meets the actual procurement needs, and the supplier selection is automatically executed with high efficiency.

[0077] In a specific implementation, when the purchase order generation method provided by the user is applied to the scenario of automatically determining suppliers and their material quotas, the overall schematic diagram can be as follows: Figure 3As shown. The terminal first configures the procurement plan, and after determining the procurement requirements / goals, it configures the evaluation dimensions. Among them, the terminal sequentially performs the steps of defining the evaluation dimensions, calculating the weights, and checking the consistency. Among them, the definition of the evaluation dimensions refers to determining which evaluation dimensions are used as the consideration factors in this decision-making process. After the weights of each evaluation dimension are determined through consistency testing, the terminal calls the hierarchical analysis algorithm and the gray correlation analysis algorithm in the algorithm library, and calls the historical procurement data stored in the sample library to comprehensively obtain the scores of each supplier (i.e., the target evaluation score), thereby making intelligent recommendations for suppliers. In addition, the terminal determines the material quota of each supplier based on the supply limits and procurement plans of each supplier stored in the sample library. Finally, the terminal generates a purchase order based on the supplier and the material quota of each supplier. Among them, the historical procurement data, for example, stores procurement management data (such as order, price, and change data), inventory management data (such as receipt, warehousing, and return data), and payable management data (such as invoice, payment, and refund data). The generated purchase order can be used in subsequent inquiry, bidding, tendering and other scenarios.

[0078] In a specific implementation, the method for generating a purchase order provided by the user can also be performed by Figure 4 The flowchart shown is shown. The terminal sequentially configures the procurement plan, defines the evaluation dimensions, constructs the dimension comparison matrix, and calculates the weights according to the dimension comparison matrix. The terminal then determines whether it passes the consistency check; if not, the matrix is ​​readjusted until it passes the consistency check; when the consistency check is passed, the corresponding weights of each evaluation dimension can be determined. Please refer to other embodiments for the specific process and steps, which will not be repeated here.

[0079] In a specific implementation, the method for generating a purchase order provided by the user can also be performed by Figure 5 The flowchart shown is represented. The terminal configures the procurement plan in turn, and according to the procurement plan, clarifies the required materials and material classifications (i.e., expected material attributes), and uses the hierarchical analysis method and the grey correlation analysis method to determine the scores of the suppliers, thereby determining the supplier score ranking. At this time, if the terminal calculation result determines that there is no ranking (for example, there is no supplier that meets the conditions), the supplier can be manually specified. After the terminal determines the ranking order of the suppliers, it can make intelligent recommendations for suppliers based on the screening conditions to select the supplier. Then, the terminal allocates material quotas to each selected supplier and finally generates a purchase order. Please refer to other embodiments for the specific process and steps, which will not be repeated here.

[0080] In some embodiments, Figure 6 As shown, the steps of using the analytic hierarchy process to determine the target weights of each evaluation dimension include:

[0081] Step S602: establishing a dimension comparison matrix according to multiple evaluation dimensions and pre-set indicator importance levels.

[0082] Among them, the indicator importance level is the scale for judging the dimension comparison matrix composed of each evaluation dimension, and is usually represented by a quantitative value to indicate the importance of one evaluation dimension relative to another evaluation dimension in comparison with two evaluation dimensions. For example, as shown in Table 1 below, the indicator importance level can be represented by natural numbers 1 to 9, where 1 indicates that one of the two evaluation dimensions compared with each other is equally important to the other evaluation dimension, 9 indicates that one of the two evaluation dimensions is the most important to the other evaluation dimension, and vice versa.

[0083]

[0084] Table 1

[0085] Specifically, the terminal compares each two evaluation dimensions according to the set multiple evaluation dimensions and the pre-set indicator importance levels, obtains the corresponding comparison results, i.e., quantized values, and constructs a dimension comparison matrix according to the obtained multiple quantized values. Exemplarily, the terminal constructs a dimension comparison matrix A according to the quantized value results of the comparison between each two evaluation dimensions i and j according to the multiple evaluation dimensions A1, ..., Ai, ..., Aj. ij . Dimension comparison matrix A ij It can be expressed by the following formula:

[0086]

[0087] For example, as shown in Table 2 below, taking the target Z as the optimal cost as an example, for multiple evaluation dimensions A1 to A5, the terminal compares two by two, and the quantized values ​​of the indicator importance levels of each two evaluation dimensions are obtained respectively:

[0088] Z A1 A2 A3 A4 A5 A1 1 1 / 2 4 3 3 A2 2 1 7 5 5 A3 1 / 4 1 / 7 1 1 / 2 1 / 3 A4 1 / 3 1 / 5 2 1 1 A5 1 / 3 1 / 5 3 1 1

[0089] Table 2

[0090] Step S604: Calculate the eigenvector of the dimension comparison matrix, and determine the candidate weight corresponding to each evaluation dimension based on the eigenvector.

[0091] Specifically, the terminal calculates the eigenvector of the dimension contrast matrix according to the obtained dimensionality contrast matrix, and performs normalization processing based on the obtained eigenvector to obtain the candidate weights of each evaluation dimension.

[0092] Exemplarily, the terminal sums each column of the dimension comparison matrix to obtain a sum value SUM=∑A ij; Then the terminal normalizes each column and obtains And sum each column to get the eigenvector W T =[∑A ij ] T The terminal normalizes the feature vector to obtain the weight of each evaluation dimension i

[0093] Step S606: Perform consistency check on the dimension comparison matrix.

[0094] Among them, consistency test refers to the use of consistency index and consistency ratio <0.1 and random consistency index numerical table, the dimension comparison matrix A ij The consistency ratio CR is usually defined as:

[0095]

[0096] Among them, CI is the consistency index and RI is the random consistency index. CI can be expressed by the following formula:

[0097]

[0098] Where n represents the number of evaluation dimensions, λ max (A ij ) is the maximum eigenvalue of the dimension comparison matrix. RI can be obtained by looking up the table.

[0099] When the consistency ratio CR is less than 0.1, the dimension comparison matrix A is considered ij If the inconsistency is within the permissible range, the terminal determines the dimension comparison matrix A ij After the consistency check, the terminal can use the normalized candidate weights as the target weights for each evaluation dimension.

[0100] When the consistency ratio CR ≥ 0.1, the terminal determines the dimension comparison matrix A ij If the consistency check fails, the dimension comparison matrix A needs to be reconstructed. ij , and compare the dimensions of the matrix A ij Adjust, that is, compare the dimension matrix A ij Adjust the values ​​of each element in .

[0101] Specifically, the terminal obtains the maximum eigenvalue of the dimension comparison matrix by calculation, and calculates the consistency index according to the obtained maximum eigenvalue, thereby performing a consistency check on the dimension comparison matrix to determine whether the relative importance of each evaluation dimension satisfies consistency.

[0102] Step S608: If the consistency check passes, the candidate weights are used as target weights for each evaluation dimension.

[0103] Specifically, when the consistency index of the dimension comparison matrix calculated by the terminal satisfies the consistency condition of the consistency ratio CR<0.1, it is determined that the consistency check of the dimension comparison matrix passes, and the candidate weight is used as the target weight of each evaluation dimension.

[0104] Step S610, if the consistency check fails, the dimension comparison matrix is ​​adjusted, and the step of establishing the dimension comparison matrix is ​​returned to be re-executed until the consistency check passes, and the target weight of each evaluation dimension is obtained.

[0105] Specifically, when the consistency index of the dimension comparison matrix calculated by the terminal does not meet the consistency condition of the consistency ratio CR < 0.1, it is determined that the consistency test of the dimension comparison matrix has not passed, and the value of each element in the dimension comparison matrix is ​​adjusted to reconstruct the dimension comparison matrix until the consistency test of the dimension comparison matrix passes, ensuring that the importance of each evaluation dimension is reasonably distributed. Thus, the terminal obtains the final weight of each evaluation dimension.

[0106] In the above embodiment, the proportion of each evaluation dimension is objectively calculated according to the hierarchical analysis method, which can objectively and impartially determine the importance of each evaluation dimension, ensure that the importance of each evaluation dimension is reasonably distributed, and avoid inaccurate supplier selection caused by human subjective factors.

[0107] In some embodiments, Figure 7 As shown, the terminal determines the target evaluation score of each candidate supplier corresponding to different evaluation dimensions according to the target weight of each evaluation dimension and the historical procurement data, including:

[0108] Step S702: Calculate multiple initial evaluation scores for each candidate supplier corresponding to different evaluation dimensions based on historical procurement data.

[0109] The historical purchase data is derived from historical valid purchase orders, invoices, and payment order business data, including but not limited to one or more of the supply price, cost, quality, and delivery timeliness of each supplier. Based on the historical purchase data, the historical purchase situation of each candidate supplier can be determined, which can be used as reference data for this purchase order.

[0110] Specifically, the terminal calculates multiple initial evaluation scores for each candidate supplier corresponding to different evaluation dimensions based on historical procurement data. For example, if evaluation dimension A1 is price, and the price of supplier 1 in the historical procurement data is 100 yuan, and the price of supplier 2 is 200 yuan, then the terminal can calculate the initial evaluation score of supplier 1 under evaluation dimension A1 as 100, and the initial evaluation score of supplier 2 under evaluation dimension A1 as 200. For example, as shown in Table 3 below, the terminal determines the initial evaluation scores of suppliers 1 to 4 under evaluation dimensions A1 to A5 based on historical procurement data, respectively:

[0111] Evaluation Dimensions Supplier 1 Supplier 2 Supplier 3 Supplier 4 A1 0 0.2 0 0.1 A2 2 1 3 5 A3 150 200 170 145 A4 139 180 175 150 A5 0 0.2 0.5 0.1

[0112] Table 3

[0113] Therefore, the terminal first determines the initial evaluation score of each candidate supplier under each evaluation dimension.

[0114] Step S704, normalizing the initial evaluation scores under each evaluation dimension to obtain candidate evaluation scores corresponding to each evaluation dimension under the same evaluation standard.

[0115] Among them, since the various evaluation dimensions usually have different dimensions and orders of magnitude, they cannot be directly compared. In order to ensure the reliability and accuracy of the results, the initial evaluation scores need to be dimensionless. After the dimensionless processing, each evaluation dimension is compared under the same evaluation standard, and the corresponding evaluation scores can also be subjected to mathematical operations and other operations under the same evaluation standard.

[0116] Specifically, the terminal normalizes the initial evaluation scores under each evaluation dimension to obtain candidate evaluation scores corresponding to each evaluation dimension under the same evaluation standard. For example, taking Table 3 above as an example, the terminal can query the maximum value Max and the minimum value Min of each column, and normalize each candidate evaluation score by the following formula, thereby converting candidate evaluation scores of different dimensions into dimensionless values:

[0117]

[0118] Therefore, as shown in Table 4 below, the terminal normalizes the initial evaluation scores of suppliers 1 to 4 under evaluation dimensions A1 to A5, and obtains candidate evaluation scores under the same evaluation standard (with 1 as the optimal value):

[0119] Evaluation Dimensions Supplier 1 Supplier 2 Supplier 3 Supplier 4 Optimal value A1 0.1 0.2 0.1 0.43 1 A2 0.33 0.46 0.6 0.75 1 A3 0.6 0.75 0.5 0.52 1 A4 0.4 0.25 0.5 0.67 1 A5 0.57 0.2 0.25 0.2 1

[0120] Table 4

[0121] As a result, the terminal obtains the candidate evaluation scores corresponding to each supplier under the same evaluation standard and each evaluation dimension, which facilitates subsequent mathematical calculations and other operations.

[0122] Step S706: Determine the relevance of each candidate supplier corresponding to each evaluation dimension based on the candidate evaluation score corresponding to each evaluation dimension.

[0123] Specifically, the terminal calculates the correlation coefficient between the kth evaluation dimension of the ith supplier and the kth optimal value based on the obtained candidate evaluation scores of each candidate supplier corresponding to each evaluation dimension, thereby determining the correlation degree of each candidate supplier corresponding to each evaluation dimension.

[0124] In some embodiments, Figure 8 As shown, the terminal determines the relevance of each candidate supplier corresponding to each evaluation dimension based on the candidate evaluation score corresponding to each evaluation dimension, including:

[0125] Step S802: Based on the candidate evaluation scores corresponding to the various evaluation dimensions, determine the absolute difference between each candidate evaluation score and the evaluation standard to obtain an absolute difference matrix.

[0126] Step S804: for each candidate supplier, based on the absolute difference matrix, determine the maximum value of the candidate evaluation scores of the candidate supplier under different evaluation dimensions, and calculate the correlation degree of each candidate supplier corresponding to each evaluation dimension based on the maximum value.

[0127] Among them, under the same evaluation standard, each evaluation dimension corresponds to the same optimal value, and the closer each candidate evaluation score is to the optimal value, the better its evaluation score is. For example, taking 1 as the evaluation standard, the closer each candidate evaluation score is to 1, the better it is. Specifically, the terminal calculates the absolute difference between each candidate evaluation score and the evaluation standard to obtain an absolute difference matrix; and in the absolute difference matrix, determines the maximum and minimum values ​​of the candidate evaluation scores of the candidate suppliers under different evaluation dimensions; and based on the maximum and minimum values, calculates the correlation between each candidate supplier and each evaluation dimension; each correlation constitutes a correlation matrix.

[0128] Exemplarily, the terminal calculates the difference between the candidate evaluation score X and the evaluation standard 1 of each candidate supplier under different evaluation dimensions: 1-X, and forms an absolute difference matrix. Then, the terminal determines the maximum value Max and the minimum value max of each column in the absolute difference matrix, and calculates the correlation coefficient according to the following formula:

[0129]

[0130] Among them, ε(i) is the correlation degree, Max is the maximum value of each column in the dimension comparison matrix, Min is the minimum value of each column in the dimension comparison matrix, and σ is the resolution coefficient, where σ∈[0,1], usually σ=0.5. If the correlation degree of the i-th candidate supplier is the largest, it means that the i-th candidate supplier is better than other candidate suppliers.

[0131] In the above embodiment, the evaluation scores of each candidate are calculated and processed with the same evaluation standard, and the gray characteristics between each evaluation dimension are fully considered, so that each supplier is objectively and accurately ranked for decision-making, and the decision-making efficiency is high.

[0132] Step S708: Based on the relevance and the target weight of each evaluation dimension, determine the target evaluation score of each candidate supplier corresponding to different evaluation dimensions.

[0133] Specifically, the terminal calculates the target evaluation score of each candidate supplier corresponding to different evaluation dimensions according to the previously determined weights of each evaluation dimension and the calculated correlation, and according to the product of the correlation and the weight.

[0134] For example, as shown in Table 5 below, the terminal calculates the association matrix and the weight W i The matrix obtained by multiplying the columns by 100 is then calculated to obtain the target evaluation score for each candidate supplier:

[0135]

[0136]

[0137] Table 5

[0138] Thus, the terminal obtains the target evaluation scores of each candidate supplier corresponding to different evaluation dimensions, and can eliminate the order of merit according to the size of the target evaluation scores to determine the target supplier.

[0139] In the above embodiment, the grey correlation analysis method is used to perform analysis and determine the final score of each candidate supplier. It not only scientifically handles quantitative and qualitative indicators, but also makes full use of the objective information and implicit grey characteristics of each evaluation dimension, and can objectively and accurately rank each supplier for decision-making, with high decision-making efficiency.

[0140] After determining the target supplier, the material quota of each target supplier needs to be determined according to the procurement needs. In some embodiments, the terminal ranks each candidate supplier according to the target evaluation score corresponding to different evaluation dimensions, and obtains the target supplier according to pre-set screening conditions. The terminal determines the material quota of each target supplier one by one according to the order of the target suppliers. For example, for the target supplier with the highest target evaluation score, the terminal determines whether it can provide the material demand under the condition of the supply limit based on its maximum supply. If it can, all the material demand will be allocated to the target supplier; if not, it will be allocated to the target supplier according to its maximum supply. In other embodiments, such as Fig. 9 As shown, the terminal measures whether each target supplier can provide the material demand under the condition of the supply limit according to the material demand in the procurement plan and the supply limit of each target supplier, and determines the material quota corresponding to each target supplier according to the measurement result, including the following steps:

[0141] Step S902, obtaining the type of material to be allocated at that time.

[0142] Specifically, for multiple categories of materials, the terminal allocates quotas of different target suppliers for each category of materials in turn. The terminal can obtain the material categories to be allocated at the time according to the order of materials in the procurement plan or by random selection, and determine the corresponding material demand.

[0143] Step S904: based on the material quota ratio of each target supplier and the total material quota, determine the target supplier to be allocated corresponding to the material type to be allocated at that time.

[0144] Specifically, the terminal determines the target supplier to be allocated the material type to be allocated this time based on the material quota ratio and the total material quota of each target supplier. In order to distinguish, the target supplier is called the target supplier to be allocated this time.

[0145] In some embodiments, the terminal determines the target supplier for the material type to be allocated based on the material quota ratio and the total material quota of each target supplier, and the step includes: for the material type to be allocated, if at least two target suppliers have not yet been assigned material quotas, the target supplier corresponding to the maximum material quota ratio is used as the target supplier for the material type to be allocated; otherwise, the ratio of the total material quota of each target supplier to the corresponding material quota ratio is calculated, and the target supplier corresponding to the minimum value in the ratio result is used as the target supplier for the material type to be allocated.

[0146] Specifically, before the material quota is started, since each target supplier has not started the quota, the total material quota of each target supplier is 0. Therefore, for the material type to be allocated at that time, if at least two target suppliers have not been allocated material quotas, that is, the number of target suppliers whose total material quota and material quota ratio are 0 is greater than 1, then the target supplier corresponding to the maximum material quota ratio is determined, and the target supplier is used as the target supplier to be allocated for the material type to be allocated. Otherwise, if the number of target suppliers whose total material quota and material quota ratio are 0 is not greater than 1, the ratio of the total material quota of each target supplier to the corresponding material quota ratio is calculated, and the target supplier corresponding to the minimum value in the ratio result is used as the target supplier to be allocated for the material type to be allocated.

[0147] For example, assume that x represents the number of suppliers supplying a product, 1, ..., i, ..., x, the target suppliers are V1, V2, ..., Vx, and the corresponding ratio of each supplier is R1, R2, ..., Rx. Among them, the total order volume of each supplier is TQ1, TQ2, ..., TQx, the maximum supply volume of each supplier is Q1, Q2, ..., Qx, the minimum order volume of each supplier is q1, q2, ..., qx, and the minimum packaging volume of each supplier is B1, B2, ..., Bx. Therefore, the terminal determines TQ i / R i = Is the number of 0 greater than 1? If so, select Max(R i ) i As the supplier to be allocated quota at that time, if not, calculate TQ i / R i , and select Min(TQ i / R i ) corresponding to V i As the supplier to be allocated quota at that time.

[0148] Step S906, based on the material demand and at least one of the maximum supply quantity, minimum order quantity, and minimum packaging quantity of the target supplier to be allocated, determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time.

[0149] Specifically, taking into account the supply limits of each target supplier, the terminal calculates the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time based on the material demand of the material type to be allocated at that time and based on at least one of the maximum supply quantity, minimum order quantity, and minimum packaging quantity of the target supplier to be allocated, and allocates the material quota.

[0150] Step S908: based on the material quota corresponding to the material type to be allocated at that time, the total material quota of the target supplier to be allocated is updated.

[0151] Specifically, after determining the material quota of the target supplier to be allocated under the material type to be allocated at that time, the terminal uses the material quota as the total material quota of the target supplier to be allocated, thereby completing the update of the total material quota of the target supplier.

[0152] Step S910, taking the next material type as the next material type to be allocated, and returning the ratio of the total order volume of each target supplier to the corresponding material quota ratio, and taking the target supplier corresponding to the minimum value as the target supplier to be allocated corresponding to the material type to be allocated, and continue to execute the step until all material types have completed the quota.

[0153] Specifically, after the terminal completes the material quota for a material type, it selects the next material type according to the order in the procurement plan or by random selection, and uses the next material type as the material type to be allocated for the next time, and then processes the next material quota process. That is, it returns to step S904 to continue execution. In this way, the terminal sequentially allocates material quotas for all material types in the procurement plan until all material types have completed the quota, and the material quota process is completed.

[0154] In some embodiments, the terminal determines the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time based on the material demand and at least one supply limit of the maximum supply quantity, the minimum order quantity, and the minimum packaging quantity of the target supplier to be allocated, including:

[0155] Step S1102: for the target supplier to be allocated quota, if the material demand is greater than the maximum supply quantity of the target supplier to be allocated quota, then based on the maximum supply quantity and the minimum packaging quantity, determine the material quota of the target supplier to be allocated quota corresponding to the material type to be allocated at that time.

[0156] Specifically, the terminal first determines whether the material demand of the material type to be allocated is greater than the maximum supply of the target supplier to be allocated. If the material demand is greater than the maximum supply of the target supplier to be allocated, it means that the target supplier to be allocated cannot provide the material demand. Then, the terminal determines the material quota of the target supplier to be allocated based on the maximum supply and minimum packaging quantity of the target supplier to be allocated.

[0157] In some embodiments, if the material demand is greater than the maximum supply of the target supplier to be allocated, and the remainder of the maximum supply of the target supplier to be allocated and the minimum packaging quantity is zero, the terminal uses the maximum supply as the material quota of the target supplier to be allocated. On the contrary, if the remainder of the maximum supply of the target supplier to be allocated and the minimum packaging quantity is not zero, the terminal performs a rounding operation based on the maximum supply and the minimum packaging quantity to obtain a rounded value, and uses the product of the rounded value and the minimum packaging quantity as the material quota of the target supplier to be allocated.

[0158] Specifically, when the terminal determines that the material demand is greater than the maximum supply of the target supplier to be allocated, the remainder of the maximum supply of the target supplier to be allocated and the minimum packaging quantity is calculated. If the remainder is 0, the terminal uses the maximum supply as the material quota of the target supplier to be allocated and allocates it to the target supplier to be allocated. If the remainder is not 0, the terminal performs a rounding operation based on the maximum supply and the minimum packaging to obtain a rounded value, and uses the product of the rounded value and the minimum packaging as the material quota of the target supplier to be allocated, and allocates it to the target supplier to be allocated.

[0159] Still taking the assumption in the above embodiment as an example, if P>Q i and The terminal will Q i Assigned to V i Among them, B i ! = 0. If P>Q i and Then the terminal will Int(Q i / B i )*B i Assigned to V i .in, is the remainder, Int(Q i / B i ) is the rounded value.

[0160] Step S1104: if the material demand is less than the minimum order quantity of the target supplier to be allocated, then based on the minimum order quantity and the minimum packaging quantity, determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time.

[0161] Specifically, if the terminal determines that the material demand is less than the maximum supply of the target supplier to be allocated, it means that the target supplier to be allocated can provide the material demand. Therefore, the terminal further determines whether the material demand is less than the minimum order quantity of the target supplier to be allocated. If the material demand is less than the minimum order quantity of the target supplier to be allocated, it means that the minimum quantity of the quota must not be less than the minimum order quantity of the target supplier to be allocated. Then, based on the minimum order quantity and the minimum packaging quantity, the terminal determines the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time.

[0162] In some embodiments, if the material demand is less than the minimum order quantity of the target supplier to be allocated, and the remainder of the minimum order quantity of the target supplier to be allocated and the minimum packaging quantity is zero, the terminal uses the minimum order quantity as the material quota of the target supplier to be allocated. On the contrary, if the remainder of the minimum order quantity of the target supplier to be allocated and the minimum packaging quantity is not zero, the terminal performs a rounding operation based on the minimum order quantity and the minimum packaging quantity to obtain a rounded value, and uses the product of the rounded value and the minimum packaging quantity and the sum of the minimum packaging quantity as the material quota of the target supplier to be allocated.

[0163] Specifically, when the terminal determines that the material demand is less than the minimum order quantity of the target supplier to be allocated, the remainder of the minimum order quantity of the target supplier to be allocated and the minimum packaging quantity is calculated. If the remainder is 0, the terminal uses the minimum order quantity as the material quota of the target supplier to be allocated and allocates the quota. If the remainder is not 0, the terminal performs a rounding operation based on the minimum order quantity and the minimum packaging quantity to obtain a rounded value, and uses the product of the rounded value and the minimum packaging quantity and the sum of the minimum packaging quantity as the material quota of the target supplier to be allocated.

[0164] Still taking the assumption in the above embodiment as an example, if P i and The terminal will q i Assigned to V i If P i and Then the terminal will Int(q i / B i )*B i +B i Assigned to V i ;in, is the remainder, Int(q i / B i ) is the rounded value.

[0165] Step S1106: If the material demand is greater than the minimum order quantity of the target supplier to be allocated and less than the maximum supply quantity of the target supplier to be allocated, then based on the material demand and the minimum packaging quantity, determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time.

[0166] Specifically, if the terminal determines that the material demand is greater than the minimum order quantity of the target supplier to be allocated and less than the maximum supply quantity of the target supplier to be allocated, the terminal determines the material quota of the target supplier to be allocated based on the material demand and the minimum packaging quantity.

[0167] ​​In some embodiments, if the material demand is greater than the minimum order quantity of the target supplier to be allocated and less than the maximum supply quantity of the target supplier to be allocated, the terminal calculates the remainder of the material demand and the minimum packaging quantity of the target supplier to be allocated. If the remainder is 0, the terminal uses the material demand as the material quota of the target supplier to be allocated and allocates the quota. If the remainder is not 0, the terminal rounds the material demand and the minimum packaging quantity to obtain a rounded value, then multiplies the rounded value by the minimum packaging quantity, adds the minimum packaging quantity, and uses the final sum as the material quota of the target supplier to be allocated.

[0168] Still taking the assumption in the above embodiment as an example, if q i ≤P≤Q i and Then assign P to V i If q i ≤P≤Q i and Int(P / B i )*B i +B i Assigned to V i .in, is the remainder, Int(P / B i ) is the rounded value.

[0169] In the above embodiment, by comparing the material demand in the procurement plan with the supply limit of each target supplier, it is measured whether each target supplier can provide the material demand under the condition of the supply limit, and material quota is allocated to each target supplier accordingly, so that the procurement order can be generated objectively, fairly and efficiently; and combined with the actual situation of the supplier, the procurement order is generated more accurately.

[0170] It should be understood that although Figure 1 , Figure 4-Figure 9 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 , Figure 4-Figure 9 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0171] The above embodiment calculates weights and supplier scores by combining the hierarchical analysis method and the grey correlation analysis method for intelligent recommendation of suppliers, but is not limited to this. The hierarchical analysis method and the grey correlation analysis method are only one of the algorithms. In the embodiments of the present application, the current artificial intelligence algorithms can also be combined for deep learning, and the algorithm can be automatically recommended in combination with the customer's industry and procurement classification, ultimately achieving the purpose of automatically generating purchase orders.

[0172] In one embodiment, Fig.10 As shown, a purchase order generation device 1000 is provided, comprising: a matching module 1001, an evaluation module 1002, a screening module 1003, a quota module 1004, and a generation module 1005, wherein:

[0173] The matching module 1001 is used to match the expected supplier attributes and expected material attributes in the procurement plan in the pre-stored supplier list and material list to determine multiple candidate suppliers.

[0174] Evaluation module 1002 is used to determine the target weight of each evaluation dimension, and determine the target evaluation score of each candidate supplier corresponding to different evaluation dimensions based on the target weight of each evaluation dimension and historical procurement data.

[0175] The screening module 1003 is used to determine at least one target supplier that meets the screening conditions from multiple candidate suppliers according to the target evaluation score.

[0176] The quota module 1004 is used to measure whether each target supplier can provide the material requirement under the supply limit according to the material requirement in the procurement plan and the supply limit of each target supplier, and determine the material quota corresponding to each target supplier according to the measurement result.

[0177] The generating module 1005 is used to generate a purchase order matching the purchasing solution based on each target supplier and the material quota corresponding to each target supplier.

[0178] In one of the embodiments, the evaluation module is also used to establish a dimension comparison matrix based on multiple evaluation dimensions and pre-set indicator importance levels; calculate the eigenvector of the dimension comparison matrix, and determine the candidate weights corresponding to each evaluation dimension based on the eigenvector; perform a consistency check on the dimension comparison matrix; if the consistency check passes, use the candidate weights as the target weights for each evaluation dimension; if the consistency check fails, adjust the dimension comparison matrix, and return to the step of establishing the dimension comparison matrix and re-execute it until the consistency check passes to obtain the target weights for each evaluation dimension.

[0179] In one of the embodiments, the evaluation module is also used to calculate multiple initial evaluation scores for each candidate supplier corresponding to different evaluation dimensions based on historical procurement data; normalize the initial evaluation scores under each evaluation dimension to obtain candidate evaluation scores corresponding to each evaluation dimension under the same evaluation standard; determine the correlation between each candidate supplier and each evaluation dimension based on the candidate evaluation scores corresponding to each evaluation dimension; and determine the target evaluation score for each candidate supplier corresponding to the different evaluation dimensions based on the correlation and the target weight of each evaluation dimension.

[0180] In one of the embodiments, the evaluation module is also used to determine the absolute difference between each candidate evaluation score and the evaluation standard based on the candidate evaluation scores corresponding to each evaluation dimension to obtain an absolute difference matrix; for each candidate supplier, based on the absolute difference matrix, determine the maximum value among the candidate evaluation scores of the candidate suppliers under different evaluation dimensions, and calculate the correlation between each candidate supplier corresponding to each evaluation dimension based on the maximum value.

[0181] In one of the embodiments, the procurement plan includes at least a material demand; the supply limit includes at least one of a material quota ratio, a maximum supply quantity, a minimum order quantity, and a minimum packaging quantity; the quota module is also used to obtain the material type to be allocated at the time; based on the material quota ratio and the total material quota of each target supplier, determine the target supplier to be allocated corresponding to the material type to be allocated at the time; based on the material demand and at least one supply limit among the maximum supply quantity, the minimum order quantity, and the minimum packaging quantity of the target supplier to be allocated, determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at the time; based on the material quota corresponding to the material type to be allocated at the time, update the total material quota of the target supplier to be allocated; take the next material type as the material type to be allocated next time, and return the ratio result of the total order amount of each target supplier and the corresponding material quota ratio, and continue to execute the step of taking the target supplier corresponding to the minimum value as the target supplier to be allocated corresponding to the material type to be allocated, until all material types have completed the quota.

[0182] In one of the embodiments, the quota module is also used to, for the material type to be allocated at that time, if at least two target suppliers have not yet been allocated material quotas, then the target supplier corresponding to the maximum material quota ratio is used as the target supplier to be allocated corresponding to the material type to be allocated; otherwise, the ratio of the total material quota of each target supplier to the corresponding material quota ratio is calculated, and the target supplier corresponding to the minimum value in the ratio result is used as the target supplier to be allocated corresponding to the material type to be allocated.

[0183] In one of the embodiments, the quota module is also used to determine, for the target supplier to be allocated a material, the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time based on the maximum supply quantity and the minimum packaging quantity if the material demand is greater than the maximum supply quantity of the target supplier to be allocated a material quota, based on the maximum supply quantity and the minimum packaging quantity; if the material demand is less than the minimum order quantity of the target supplier to be allocated a material quota, then based on the minimum order quantity and the minimum packaging quantity, the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time; if the material demand is greater than the minimum order quantity of the target supplier to be allocated a material quota and less than the maximum supply quantity of the target supplier to be allocated a material quota, then based on the material demand and the minimum packaging quantity, the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time.

[0184] The specific definition of the purchase order generation device can be found in the definition of the purchase order generation method above, which will not be repeated here. Each module in the above purchase order generation device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0185] In one embodiment, a computer device is provided. The computer device may be the terminal in the aforementioned embodiment, and its internal structure diagram may be as shown in FIG. Fig.11 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for generating a purchase order is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0186] Those skilled in the art will understand that Fig.11The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0187] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0188] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0189] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0190] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0191] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for generating a purchase order, characterized in that: The method comprises: According to the expected supplier attributes and expected material attributes in the procurement plan, a pre-stored supplier list and material list are matched to determine multiple candidate suppliers; Determine the target weight of each evaluation dimension, and calculate multiple initial evaluation scores for each candidate supplier corresponding to different evaluation dimensions based on historical procurement data; normalize the initial evaluation scores under each evaluation dimension to obtain candidate evaluation scores corresponding to each evaluation dimension under the same evaluation standard; determine the correlation of each candidate supplier corresponding to each evaluation dimension based on the candidate evaluation scores corresponding to each evaluation dimension; determine the target evaluation score of each candidate supplier corresponding to different evaluation dimensions based on the correlation and the target weight of each evaluation dimension, wherein the evaluation dimensions include one or more of cost, quality, price, return rate, and delivery time; Determining at least one target supplier that meets the screening conditions from among the multiple candidate suppliers according to the target evaluation score; According to the material demand in the procurement plan and the supply limit of each target supplier, measure whether each target supplier can provide the material demand under the supply limit, and determine the material quota corresponding to each target supplier according to the measurement result; Based on each target supplier and the material quota corresponding to each target supplier, a purchase order matching the purchase plan is generated.

2. The method according to claim 1, characterized in that Determining the target weight of each evaluation dimension includes: Establish a dimension comparison matrix based on multiple evaluation dimensions and pre-set indicator importance levels; Calculating an eigenvector of the dimension contrast matrix, and determining candidate weights corresponding to each evaluation dimension based on the eigenvector; Performing a consistency check on the dimensional comparison matrix; If the consistency check passes, the candidate weights are used as target weights for each evaluation dimension; If the consistency check fails, the dimension comparison matrix is ​​adjusted, and the step of establishing the dimension comparison matrix is ​​returned to and re-executed until the consistency check passes, and the target weights of each evaluation dimension are obtained.

3. The method according to claim 1, characterized in that The determining, based on the candidate evaluation scores corresponding to the respective evaluation dimensions, the relevance of the respective candidate suppliers corresponding to the respective evaluation dimensions comprises: Based on the candidate evaluation scores corresponding to each evaluation dimension, determining the absolute difference between each candidate evaluation score and the evaluation standard to obtain an absolute difference matrix; For each candidate supplier, based on the absolute difference matrix, the maximum value among the candidate evaluation scores of the candidate supplier under different evaluation dimensions is determined, and the correlation degree of each candidate supplier corresponding to each evaluation dimension is calculated based on the maximum value.

4. The method according to claim 1, characterized in that: The procurement plan at least includes material requirements; the supply limit at least includes one of a material quota ratio, a maximum supply quantity, a minimum order quantity, and a minimum packaging quantity; the material requirements in the procurement plan and the supply limits of each target supplier are measured to determine whether each target supplier can provide the material requirements under the supply limit, and the material quota corresponding to each target supplier is determined according to the measurement result, including: Get the type of materials to be allocated at the time; Determine the target supplier to be allocated the quota corresponding to the type of material to be allocated at that time based on the material quota ratio of each target supplier and the total material quota; Determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time based on the material demand and at least one of the maximum supply quantity, minimum order quantity, and minimum packaging quantity of the target supplier to be allocated; Based on the material quota corresponding to the material type to be allocated at that time, updating the total material quota of the target supplier to be allocated; The next material type is used as the next material type to be allocated, and the ratio of the total order volume of each target supplier to the corresponding material quota ratio is returned. The target supplier corresponding to the minimum value is used as the target supplier to be allocated corresponding to the material type to be allocated, and the steps are continued until the quotas for all material types are completed.

5. The method according to claim 4, characterized in that The step of determining the target supplier to be allocated the material type to be allocated at the time based on the material quota ratio of each target supplier and the total material quota includes: For the material type to be allocated at that time, if at least two target suppliers have not been allocated material quotas, the target supplier corresponding to the maximum material quota ratio will be used as the target supplier to be allocated corresponding to the material type to be allocated; Otherwise, the ratio of the total material quota of each target supplier to the corresponding material quota ratio is calculated, and the target supplier corresponding to the minimum value in the ratio result is used as the target supplier to be allocated corresponding to the material type to be allocated.

6. The method according to claim 4, characterized in that The step of determining the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time based on the material demand and at least one of the maximum supply quantity, the minimum order quantity, and the minimum packaging quantity of the target supplier to be allocated includes: For the target supplier to be allocated quota, if the material demand is greater than the maximum supply quantity of the target supplier to be allocated quota, then based on the maximum supply quantity and the minimum packaging quantity, determine the material quota of the target supplier to be allocated quota corresponding to the material type to be allocated quota at that time; If the material demand is less than the minimum order quantity of the target supplier to be allocated, then based on the minimum order quantity and the minimum packaging quantity, determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time; If the material demand is greater than the minimum order quantity of the target supplier to be allocated and less than the maximum supply quantity of the target supplier to be allocated, then based on the material demand and the minimum packaging quantity, determine the material quota of the target supplier to be allocated corresponding to the material type to be allocated at that time.

7. A device for generating a purchase order, characterized in that: The device comprises: A matching module is used to match the expected supplier attributes and expected material attributes in the procurement plan in the pre-stored supplier list and material list to determine multiple candidate suppliers; An evaluation module is used to determine the target weight of each evaluation dimension, and calculate multiple initial evaluation scores for each candidate supplier corresponding to different evaluation dimensions based on historical procurement data; normalize the initial evaluation scores under each evaluation dimension to obtain candidate evaluation scores corresponding to each evaluation dimension under the same evaluation standard; determine the correlation of each candidate supplier corresponding to each evaluation dimension based on the candidate evaluation scores corresponding to each evaluation dimension; determine the target evaluation score of each candidate supplier corresponding to different evaluation dimensions based on the correlation and the target weight of each evaluation dimension, wherein the evaluation dimension includes one or more of cost, quality, price, return rate, and delivery time; A screening module, configured to determine at least one target supplier that meets the screening conditions from among the plurality of candidate suppliers according to the target evaluation score; A quota module is used to measure whether each target supplier can provide the material demand under the supply limit according to the material demand in the procurement plan and the supply limit of each target supplier, and determine the material quota corresponding to each target supplier according to the measurement result; A generation module is used to generate a purchase order matching the procurement plan based on each target supplier and the material quota corresponding to each target supplier.

8. The device according to claim 7, characterized in that The evaluation module is also used to determine the absolute difference between each candidate evaluation score and the evaluation standard based on the candidate evaluation scores corresponding to each evaluation dimension, and obtain an absolute difference matrix; for each candidate supplier, based on the absolute difference matrix, determine the maximum value of the candidate evaluation scores of the candidate supplier under different evaluation dimensions, and calculate the correlation between each candidate supplier corresponding to each evaluation dimension based on the maximum value.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.