Invention content
Present invention solves the technical problem that being to provide a kind of cash register platform based on B/S framework, to realize that commodity give a discount latterThe method of key reduction;It solves after giving a discount to consumer item in pharmacy's cash register system, to cancel discounting for some reason, but notThe problem of one key of distribution state capable of being reverted to when typing starts.
The present invention solve above-mentioned technical problem technical solution be:
The cash register page is automatic jumped to after cashier logs in pharmacy's system, items scanning bar code is added in commodity to table, choosingIn after wherein several or entire service given a discount, inputted at coding "/" with 100, press "enter" key", automatic repair is repaiiedThe discount rate and consumption sum of all commodity changed, while total consumption sum is repaired, realize the effect of key reduction.To solveIt has determined after giving a discount to consumer item in pharmacy's cash register system, to have cancelled discounting for some reason, it but cannot be distribution state oneKey reverts to the problem of when typing starts.
The method specifically comprises the following steps:
Step 1: cashier logs in pharmacy's system, the cash register page is automatic jumped to;
Step 2: scanning product bar code is added in table, and primary data is saved in firstDatas;
Step 3: wherein several commodity or entire service is chosen to give a discount;
Step 4: when cancelling discounting, inputted at coding "/" and `100;
Step 5: "enter" key" is pressed, according to the discount rate and pin of all commodity that the data reparation in firstDatas is changedThe amount of money is sold, while repairing total consumption sum
Step 6: clicking confirming button of checking out, sale is completed.
Beneficial effects of the present invention:The cash register page is automatic jumped to after cashier logs in pharmacy's system, items scanning bar code addsAdd in commodity to table, choose wherein several or after entire service given a discount, inputted at coding "/" with 100, it presses"enter" key", repairs the discount rate and consumption sum of all commodity changed automatically, while repairing total consumption sum, realizesThe effect of one key reduction, to achieve the purpose that cashier can rapidly cancel to consumer item discount when checking out.It efficiently solves after giving a discount to consumer item in pharmacy's cash register system, to cancel discounting for some reason, it but cannot be saleThe problem of one key of state reverts to when typing starts.
The following further describes the present invention with reference to the drawings:
Fig. 1 is the flow chart of the present invention.