CN108491554A - A method of pharmacy's cash register system based on B/S framework realizes sheet using shortcut key - Google Patents

A method of pharmacy's cash register system based on B/S framework realizes sheet using shortcut key Download PDF

Info

Publication number
CN108491554A
CN108491554A CN201810335112.0A CN201810335112A CN108491554A CN 108491554 A CN108491554 A CN 108491554A CN 201810335112 A CN201810335112 A CN 201810335112A CN 108491554 A CN108491554 A CN 108491554A
Authority
CN
China
Prior art keywords
customer
sheet
pharmacy
cash register
caching
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
CN201810335112.0A
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 CN201810335112.0A priority Critical patent/CN108491554A/en
Publication of CN108491554A publication Critical patent/CN108491554A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0281Customer communication at a business location, e.g. providing product or service information, consulting

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The present invention relates to pharmacy's cash register platform technology field, more particularly to a kind of pharmacy's cash register system based on B/S frameworks carries out the implementation method of sheet using shortcut key.The method of the present invention is to jump to the cash register page after cashier logs in pharmacy's system, the bar code of scanning customer's purchase is added in system table, if customer it is busy it is away from keyboard under, it presses in the information storage to database that f9 keys buy it, generates sheet document and managing detailed catalogue, while they are returned to front end, it is saved in the caching of current page with customer information one, customer can directly extract from caching when returning, and continue to sell, and realize sheet effect.The present invention is solved without providing sheet shortcut key in pharmacy's cash register system based on B/S frameworks, and the commodity that cannot be bought to client carry out rapidly temporary problem.

Description

A method of pharmacy's cash register system based on B/S framework realizes sheet using shortcut key
Technical field
The present invention relates to pharmacy's system cash register platform technology field, more particularly to a kind of pharmacy's cash register based on B/S frameworks System carries out the implementation method of sheet using shortcut key.
Background technology
It is often had in pharmacy's cash register after some clients have purchased some commodity, because certain reasons midway leaves one Meeting is then returned again to continue to buy commodity, if not providing a kind of function of quickly temporary customer purchase information, customer's purchase The merchandise news bought must re-type, and waste the cash register time;In order to solve these problems, it needs to realize a kind of operate succinctly Sheet function.
Invention content
Present invention solves the technical problem that be to provide a kind of pharmacy's cash register system based on B/S frameworks using shortcut key into The implementation method of row sheet;It solves without providing sheet shortcut key in pharmacy's cash register system based on B/S frameworks, visitor cannot be given The commodity of family purchase rapidly carry out temporary problem.
The present invention solve above-mentioned technical problem technical solution be:
The cash register page is jumped to after cashier logs in pharmacy's system, the bar code of scanning customer's purchase is added to system table In, if customer it is busy it is away from keyboard under, press in the information storage to database that f9 keys buy it, generate sheet document with it is bright Thin information, while they are returned to front end, it is saved in the caching of current page with customer information one, it can be direct when customer returns It is extracted from caching, continues to sell, realize sheet effect.Do not have in pharmacy's cash register system based on B/S frameworks to solve Sheet shortcut key is provided, the commodity that cannot be bought to client carry out rapidly temporary problem.
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: the bar code of scanning customer's purchase is added in system table;
Step 3: if customer it is busy it is away from keyboard under, press information of the f9 keys its purchase, storage is raw simultaneously in database At sheet document and detail;
Step 4: sheet information and customer information back to front end, it is saved in current caching of page;
Step 5: customer can directly extract from caching when returning, continue to sell, realizes sheet effect.
Beneficial effects of the present invention:The cash register page is jumped to after cashier logs in pharmacy's system, scanning customer's purchase Bar code is added in system table, if customer it is busy it is away from keyboard under, press information storage that f9 keys buy it to number According in library, sheet document and managing detailed catalogue is generated, while they are returned to front end, current page is saved in customer information one In caching, it can directly be extracted from caching when customer returns, continue to sell, realized sheet effect, received in cash register to reach Silver-colored member can rapidly keep in the purpose that client buys merchandise news.Efficiently solve pharmacy's cash register system based on B/S frameworks Upper no offer sheet shortcut key, the commodity that cannot be bought to client carry out rapidly temporary problem.
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;
The design sketch of the positions Fig. 2 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 and realize
@RequestMapping(value = "/login", method = RequestMethod.POST)
public String login(String account, String password) throws Exception{
try{
Subject subject = ShiroUtil.getSubject();
password = MD5Util.encrypt(password, sysConstantService.findSalt ());
UsernamePasswordToken token = new UsernamePasswordToken(account, password);
subject.login(token);// log in
}
return “/views/pos.jsp”;// return to the cash register page
}
Step 2: the bar code of scanning customer's purchase is added in system table;
Step 3: if customer it is busy it is away from keyboard under, press information of the f9 keys its purchase, storage is raw simultaneously in database At sheet document and detail;Such as:
// button is realized
document.onkeydown = function(e) {
var e = window.event || e || e.which;
var currKey = e.keyCode||e.charCode;
If (e && currKey==120) { // KeyEvent triggers f9
e.keyCode = 0;
e.returnValue = false;
pauseSaleOrder();// sheet
return false; }
}
// sheet front end script is realized
function pauseSaleOrder(){
var datas = $table.bootstrapTable("getData");
if(!datas || datas.length==0){
DialogMsg (" without sales data ", " error ")
return false;
}
// initialization is detailed
var detailDatas = initSaleDetailDatas(datas);
// generate sheet
var pendingOrder = initPendingOrder(null, detailDatas);
// submission form
$.SaveForm({
url: rootPath + "/sale/order/pendingOrder.action v=$ {version}",
param: pendingOrder,
success: function(json) {
In savePendingOrder (json.data) // preservation sheet information to caching
});
}
It realizes on // backstage
/**
* sale list is kept in
*/
@RequestMapping("/pendingOrder.action")
public String pendingOrder (@RequestBody SaleOrder saleOrder) {
data = saleOrderService. pendingOrder(saleOrder);
return this.sendSuccJson(data);
}
Step 4: sheet information and customer information back to front end, it is saved in current caching of page;Such as:
// sheet is preserved to the page
var pendingArr = [];
var membername =’’;
function savePendingOrder(order){
if(order != null){
pendingArr.push(order);
membername = $membername.val();
}
}
Step 5: customer can directly extract from caching when returning, continue to sell, realizes sheet effect.Such as:
Function getPendingOrder () { // rapid extractions
if(pendingArr !=null && pendingArr.length > 0){
$.each(pendingArr, function(index, order){
If (order.membername==membername)
loadOrder(order);// be loaded into sale table
}
});
}
}。

Claims (2)

1. a kind of pharmacy's cash register system based on B/S frameworks carries out the implementation method of sheet using shortcut key, it is characterised in that: Cashier jumps to the cash register page after logging in pharmacy's system, and the bar code of scanning customer's purchase is added in system table, such as Fruit customer it is busy it is away from keyboard under, press in the information storage to database that f9 keys buy it, generate sheet document and believe with detailed Breath, while they are returned to front end, it is saved in the caching of current page with customer information one, can directly postpone when customer returns Middle extraction is deposited, continues to sell, realizes sheet effect;It is not provided in pharmacy's cash register system based on B/S frameworks to solve Sheet shortcut key, the commodity that cannot be bought to client carry out rapidly temporary problem.
2. the method according to claim 1 for solving pharmacy's cash register system sheet based on B/S frameworks, feature exist In: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: the bar code of scanning customer's purchase is added in system table;
Step 3: if customer it is busy it is away from keyboard under, press information of the f9 keys its purchase, storage is raw simultaneously in database At sheet document and detail;
Step 4: sheet information and customer information back to front end, it is saved in current caching of page;
Step 5: customer can directly extract from caching when returning, continue to sell, realizes sheet effect.
CN201810335112.0A 2018-04-16 2018-04-16 A method of pharmacy's cash register system based on B/S framework realizes sheet using shortcut key Pending CN108491554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810335112.0A CN108491554A (en) 2018-04-16 2018-04-16 A method of pharmacy's cash register system based on B/S framework realizes sheet using shortcut key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810335112.0A CN108491554A (en) 2018-04-16 2018-04-16 A method of pharmacy's cash register system based on B/S framework realizes sheet using shortcut key

Publications (1)

Publication Number Publication Date
CN108491554A true CN108491554A (en) 2018-09-04

Family

ID=63316308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810335112.0A Pending CN108491554A (en) 2018-04-16 2018-04-16 A method of pharmacy's cash register system based on B/S framework realizes sheet using shortcut key

Country Status (1)

Country Link
CN (1) CN108491554A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424725A (en) * 2013-09-08 2015-03-18 沈阳国裕科技有限公司 POS machine control system
CN106295951A (en) * 2016-07-25 2017-01-04 北京七加二科技股份有限公司 Cash method, device and ERP system for solid shop/brick and mortar store

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424725A (en) * 2013-09-08 2015-03-18 沈阳国裕科技有限公司 POS machine control system
CN106295951A (en) * 2016-07-25 2017-01-04 北京七加二科技股份有限公司 Cash method, device and ERP system for solid shop/brick and mortar store

Non-Patent Citations (2)

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

Similar Documents

Publication Publication Date Title
US20040128199A1 (en) System and method for facilitating real-time, web based point of sale (POS) transactions and operations
US20140025584A1 (en) Indicia encoding system with integrated purchase and payment information
US11176514B1 (en) Computer-implemented method and a non-transitory computer-readable medium for facilitating initiation of customer returns
CN105897908B (en) A kind of cloud intelligent cashier system and cash register
US20090272801A1 (en) Deterring checkout fraud
US20050222914A1 (en) Electronic silent auction system and method
US20080208696A1 (en) Point of sale system with web-based back-office
US20120239542A1 (en) Systems and methods for capturing payment information using mobile devices
US20170039585A1 (en) Apparatus and method for converting print media coupons to virtual coupons and redeeming same
CN107239279A (en) Order data based on electric business class PaaS platform system is obtained and method for pushing
CA2770652A1 (en) Enhanced multi-mode computing peripheral device
CN109993593B (en) Virtual shopping cart management method and device
JP5747005B2 (en) Device connection unit, product sales processing system and program
CN108491554A (en) A method of pharmacy's cash register system based on B/S framework realizes sheet using shortcut key
US7889068B2 (en) Alarm solution for securing shopping checkout
US20210350424A1 (en) Consumer tracking system
US20170169496A1 (en) Method and electronic device for generating commodity quick response code
CN108596763A (en) A kind of method of commerce and device based on block chain
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
JP2019021059A (en) Article selling system, method, and program
JP2004030073A (en) Article selling data processing apparatus, control method in its receipt printing, program for realizing the control method, and recording medium with the program recorded thereon
EP3392821A1 (en) Server device and service method
CN108470294A (en) A method of the whole single discount of pharmacy's cash register system based on B/S framework is realized
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
CN108062704A (en) A kind of commodity synthesis sale service management system

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: 20180904

RJ01 Rejection of invention patent application after publication