CN108510676A - A method of the cash register platform based on B/S framework realizes that single commodity give a discount using coding with shortcut key - Google Patents

A method of the cash register platform based on B/S framework realizes that single commodity give a discount using coding with shortcut key Download PDF

Info

Publication number
CN108510676A
CN108510676A CN201810324545.6A CN201810324545A CN108510676A CN 108510676 A CN108510676 A CN 108510676A CN 201810324545 A CN201810324545 A CN 201810324545A CN 108510676 A CN108510676 A CN 108510676A
Authority
CN
China
Prior art keywords
commodity
cash register
discount
pharmacy
coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810324545.6A
Other languages
Chinese (zh)
Inventor
陈林
张来卿
庞严冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Hengqin Shengda Zhaoye Technology Investment Co Ltd
Original Assignee
Zhuhai Hengqin Shengda Zhaoye Technology Investment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Hengqin Shengda Zhaoye Technology Investment Co Ltd filed Critical Zhuhai Hengqin Shengda Zhaoye Technology Investment Co Ltd
Priority to CN201810324545.6A priority Critical patent/CN108510676A/en
Publication of CN108510676A publication Critical patent/CN108510676A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • G07G1/0045Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader

Abstract

The present invention relates to pharmacy's cash register platform technology field, more particularly to a kind of pharmacy's cash register platform based on B/S framework realizes the method that single commodity quickly give a discount using coding plus shortcut key.The method of the present invention is to automatic jump to the cash register page after cashier logs in pharmacy's system, items scanning bar code is added in commodity to table, choose a wherein commodity, input at the coding " " with the positive integer that is less than between 100, press "enter" key", automatic modification is selected the discount rate and consumption sum of commodity, while changing total consumption sum, realizes that single commodity give a discount.The present invention solves the problems, such as that coding plus shortcut key cannot be used rapidly to carry out single commodity to client in pharmacy's cash register system to give a discount.

Description

A kind of cash register platform use coding based on B/S framework and the single commodity of shortcut key realization The method of discounting
Technical field
The present invention relates to pharmacy's system cash register platform technology field, more particularly to a kind of cash register platform based on B/S framework makes The method that single commodity quickly give a discount is realized with coding plus shortcut key.
Background technology
Some clients are often given to carry out commodity discount in pharmacy's cash register, but cash register system most at present is all It is that C/S adds structure, coding plus shortcut key is not used to do, function is not also complete, or basic just without these functions, is unfavorable for When shops's merchandising that efficiently, rapidly process the operation of a commodity discount;In order to solve these problems, it needs Realize that a kind of operation is succinct and can rapidly a certain commodity be carried out with the function of discount.
Invention content
Present invention solves the technical problem that being to provide a kind of pharmacy's cash register system use coding quickening based on B/S frameworks Prompt key realizes the method that single commodity give a discount;Solving cannot use coding plus shortcut key fast to client in pharmacy's cash register system The problem of single commodity give a discount is carried out fastly.
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.It is redirected automatically when after cashier logs in pharmacy's system To the cash register page, items scanning bar code is added in commodity to table, and a wherein commodity are chosen, and is inputted at coding " " with it is small Positive integer between 100, presses "enter" key", and automatic modification is selected the discount rate and consumption sum of commodity, while changing total Consumption sum, realize that single commodity give a discount.To solve in pharmacy's cash register system cannot use coding and shortcut key to Client rapidly carries out the problem of single commodity give a discount.
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;
Step 3: choosing a wherein commodity;
Step 4: inputting at the coding " " with the positive integer that is less than between 100;
Step 5: pressing "enter" key", the discount rate and consumption sum for being selected commodity are changed, while changing total consumption sum;
Step 6: clicking confirming button of checking out, sale is completed.
Beneficial effects of the present invention:The cash register page, items scanning item are automatic jumped to after cashier logs in pharmacy's system In code addition commodity to table, choose a wherein commodity, input at the coding " " with the positive integer that is less than between 100, press "enter" key", automatic modification is selected the discount rate and consumption sum of commodity, while changing total consumption sum, realizes single quotient Product give a discount, and the mesh of single commodity discount can be rapidly carried out according to the demand of client to reach the cashier when checking out 's.Efficiently solving cannot use coding plus shortcut key rapidly to carry out single commodity discounting to client in pharmacy's cash register system The problem of.
Description of the drawings
The following further describes the present invention with reference to the drawings:
Fig. 1 is the flow chart of the present invention;
Fig. 2 is the design sketch of step 2.
Specific implementation mode
As shown in Figure 1, the present invention uses following steps:
Step 1: cashier logs in pharmacy's system, the cash register page is automatic jumped to;
// log in
@RequestMapping(value = "/login", method = RequestMethod.POST)
public String login(String account, String password) throws Exception{
Subject subject = ShiroUtil.getSubject();
password = MD5Util.encrypt(password, sysConstantService.findSalt ());
UsernamePasswordToken token = new UsernamePasswordToken(account, password);
subject.login(token);
return “/views/pos.jsp”;// jump to the Pos cash register pages
}
Step 2: scanning product bar code is added in table;
Step 3: choosing a wherein commodity;
Step 4: inputting at the coding " " with the positive integer that is less than between 100;Such as:
var barCode = $code.val();// obtain the character code inputted
If (barCode.match (/ ^ d { 1,3 } $/ig)) // judged using regular expression
}
Step 5: pressing "enter" key", the discount rate and consumption sum for being selected commodity are changed, while changing total consumption sum; Such as:
// click confirming button
document.onkeydown = function(e) {
var e = window.event || e || e.which;
var currKey = e.keyCode||e.charCode;
If (e && currKey==13) { // carriage return "enter" key"
updateDiscount();
}
}
// start single commodity discounting
function updateDiscount() {
var datas = $table.bootstrapTable("getData");
if(!datas||datas.length==0){
DialogMsg (" no data cannot give a discount ", " error ");
return false;
}
var barCode = $code.val().substr(1,barCode.length);
if(barCode <=0 || barCode > 100){
DialogMsg (" discount input is illegal, and range is between 1 to 100 ", " error ");
return false;
}
var selectRows = $table.bootstrapTable("getSelections");
if(selectRows && selectRows.length > 0){
var obj = selectRows[0];
var discountPrice = obj.costPrice * barCode/100;Valence after // folding
var memberAmount = fixNum(obj.saleCount * discountPrice);// the amount of money
// update discount and the amount of money
$table.bootstrapTable('updateRow', {
index: obj.lineNum,
row: {discount: barCode, memberAmount: memberAmount }
});
The total sales order information of // update
refreshSaleOrder();
$code.val("");
}
Step 6: clicking confirming button of checking out, sale is completed;
// submit sales order
function submitSaleOrder(){
……
}。

Claims (2)

1. a kind of cash register platform based on B/S framework realizes the method that single commodity quickly give a discount using coding plus shortcut key, special Sign is: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, Choose a wherein commodity, input at the coding " " with the positive integer that is less than between 100, press "enter" key", change quilt automatically The discount rate and consumption sum of commodity are chosen, while changing total consumption sum, realizes that single commodity give a discount,
Coding plus shortcut key cannot be used rapidly to carry out single commodity to client beat to solve in pharmacy's cash register system The problem of folding.
2. the method that the single commodity of the pharmacy's cash register system solved based on B/S frameworks according to claim 1 give a discount, It is characterized in that: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;
Step 3: choosing a wherein commodity;
Step 4: inputting at the coding " " with the positive integer that is less than between 100;
Step 5: pressing "enter" key", the discount rate and consumption sum for being selected commodity are changed, while changing total consumption sum;
Step 6: clicking confirming button of checking out, sale is completed.
CN201810324545.6A 2018-04-12 2018-04-12 A method of the cash register platform based on B/S framework realizes that single commodity give a discount using coding with shortcut key Pending CN108510676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810324545.6A CN108510676A (en) 2018-04-12 2018-04-12 A method of the cash register platform based on B/S framework realizes that single commodity give a discount using coding with shortcut key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810324545.6A CN108510676A (en) 2018-04-12 2018-04-12 A method of the cash register platform based on B/S framework realizes that single commodity give a discount using coding with shortcut key

Publications (1)

Publication Number Publication Date
CN108510676A true CN108510676A (en) 2018-09-07

Family

ID=63381768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810324545.6A Pending CN108510676A (en) 2018-04-12 2018-04-12 A method of the cash register platform based on B/S framework realizes that single commodity give a discount using coding with shortcut key

Country Status (1)

Country Link
CN (1) CN108510676A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544134A (en) * 2018-11-29 2019-03-29 银联商务股份有限公司 Convenient payment service method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290903A (en) * 1999-09-23 2001-04-11 国际商业机器公司 Electronically redeeming preferential ticket and product discount by using networking product data base
CN1378664A (en) * 1999-09-15 2002-11-06 爱德华·A·德夫林 Method and system for redeem product marketing rebates
CN1720544A (en) * 2001-12-08 2006-01-11 朴源澈 Business method of agreement on end-consumer price and quantity according to buyer's plural asking quantity operated
CN1848171A (en) * 2006-03-25 2006-10-18 福建新大陆电脑股份有限公司 Mobile telephone and method for applying two-dimensional code on commercial discount ticket
CN1932902A (en) * 2005-09-13 2007-03-21 肖首信 Intelligent discounting system on tax control cash collecting machine
CN101299284A (en) * 2008-06-06 2008-11-05 任雪松 Automatic information sale apparatus, system and method
CN104424725A (en) * 2013-09-08 2015-03-18 沈阳国裕科技有限公司 POS machine control system
CN106293489A (en) * 2016-08-04 2017-01-04 北京迅达云成科技有限公司 The operational approach at a kind of cloud Host Administration interface and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1378664A (en) * 1999-09-15 2002-11-06 爱德华·A·德夫林 Method and system for redeem product marketing rebates
CN1290903A (en) * 1999-09-23 2001-04-11 国际商业机器公司 Electronically redeeming preferential ticket and product discount by using networking product data base
CN1720544A (en) * 2001-12-08 2006-01-11 朴源澈 Business method of agreement on end-consumer price and quantity according to buyer's plural asking quantity operated
CN1932902A (en) * 2005-09-13 2007-03-21 肖首信 Intelligent discounting system on tax control cash collecting machine
CN1848171A (en) * 2006-03-25 2006-10-18 福建新大陆电脑股份有限公司 Mobile telephone and method for applying two-dimensional code on commercial discount ticket
CN101299284A (en) * 2008-06-06 2008-11-05 任雪松 Automatic information sale apparatus, system and method
CN104424725A (en) * 2013-09-08 2015-03-18 沈阳国裕科技有限公司 POS machine control system
CN106293489A (en) * 2016-08-04 2017-01-04 北京迅达云成科技有限公司 The operational approach at a kind of cloud Host Administration interface and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
会计从业资格考试命题研究组组编: "《会计电算化》", 31 October 2015 *
周莉: "《收银实务》", 28 February 2013 *
胡建斌: "键盘控制JavaScript程序", 《电脑爱好者》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544134A (en) * 2018-11-29 2019-03-29 银联商务股份有限公司 Convenient payment service method and system

Similar Documents

Publication Publication Date Title
Grabowski et al. A new look at the returns and risks to pharmaceutical R&D
US9152955B2 (en) Touchless and touch optimized processing of retail and other commerce transactions
Xue et al. Implications of application programming interfaces for third‐party new app development and copycatting
JP4694605B2 (en) Product sales data processing apparatus and program
CN106056407A (en) Online banking user portrait drawing method and equipment based on user behavior analysis
CN101419694A (en) Method and system for using a point-of sale system to correlate transactions to a coupon database
WO2006047632A2 (en) Interactive customer display system and method
CN104346743A (en) Electronic receipt system, management server, processing device and control method
JP6267096B2 (en) Product sales data processing apparatus and program
US20180130083A1 (en) Systems and methods for identifying codes that may be redeemed for value
CA2892861A1 (en) Framework for generating a personalized item list
Huelsenbeck et al. Bayesian analysis of amino acid substitution models
Fischbacher Z-Tree? Experimenter? S Manual
CN108510676A (en) A method of the cash register platform based on B/S framework realizes that single commodity give a discount using coding with shortcut key
JP2012208770A (en) Receipt data processing apparatus and receipt data processing method
CN104182226A (en) General mobile information system adaptation method and device
Zhang et al. How can dmall do better? discussion on new retail marketing mode based on 4Cs theory
CN106372694A (en) Information code generation method, information code material determination method and corresponding devices
CN107403327A (en) Mobile differential pin store processing system and its method
CN108765794A (en) A method of the cash register platform based on B/S framework realizes that whole list quickly gives a discount using coding plus shortcut key
US20140215409A1 (en) Animated delete apparatus and method
Hossain et al. Research and Development of an E-commerce with Sales Chatbot
CN109308649A (en) A kind of big data processing platform
JP2017068365A (en) Information processing apparatus
JP2011108273A (en) Commodity sales data processor and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180907

RJ01 Rejection of invention patent application after publication