CN108470294A - 一种基于bs架构的药店收银系统整单打折优惠实现的方法 - Google Patents

一种基于bs架构的药店收银系统整单打折优惠实现的方法 Download PDF

Info

Publication number
CN108470294A
CN108470294A CN201810327111.1A CN201810327111A CN108470294A CN 108470294 A CN108470294 A CN 108470294A CN 201810327111 A CN201810327111 A CN 201810327111A CN 108470294 A CN108470294 A CN 108470294A
Authority
CN
China
Prior art keywords
preferential
discount
cash register
money
amount
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
CN201810327111.1A
Other languages
English (en)
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 CN201810327111.1A priority Critical patent/CN108470294A/zh
Publication of CN108470294A publication Critical patent/CN108470294A/zh
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/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0238Discounts or incentives, e.g. coupons or rebates at point-of-sale [POS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

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

Abstract

本发明涉及药店系统收银平台技术领域,特别涉及一种基于B/S架构的药店收银系统整单打折或优惠的实现方法。本发明的方法是在收银员登录药店系统后,获得打折优惠的权限,并切换到收银平台。如果当前用户有整单优惠的权限,点击整单优惠按钮弹出优惠界面,如果收银员选择修改折扣,折后金额与优惠金额自动计算;选择修改折后金额,则折扣与优惠金额自动计算。点击确定按钮后,自动更新收银表格中每条销售订单的折扣与销售金额并重新计算整单的销售金额等信息。本发明解决了在药店收银时不能方便地给客户整单打折或优惠的问题。

Description

一种基于BS架构的药店收银系统整单打折优惠实现的方法
技术领域
本发明涉及药店系统收银平台技术领域,特别涉及一种基于药店系统收银平台整单优惠的实现方法。
背景技术
在药店收银时经常会给一些客户进行商品打折优惠,但目前大部份的收银系统都是C/S加构的,没有把打折与优惠功能分开来做,或者根本就没有这些功能,不利于门店销售商品时的那种高效、快速地打折或优惠的操作;为了解决这些问题,需要实现一种操作简洁并可整单打折或优惠的功能。
发明内容
本发明解决的技术问题在于提供一种在药店收银平台整单打折或优惠的实现方法;解决了在药店收银时不能方便地给客户整单打折或优惠的问题。
本发明解决上述技术问题的技术方案是:
在收银员登录药店系统后,获得打折优惠的权限,并切换到收银平台。如果当前用户有整单优惠的权限,点击整单优惠按钮弹出优惠界面,如果收银员选择修改折扣,折后金额与优惠金额自动计算;选择修改折后金额,则折扣与优惠金额自动计算。点击确定按钮后,自动更新收银表格中每条销售订单的折扣与销售金额并重新计算整单的销售金额等信息。从而解决了在药店收银时不能方便地给客户整单打折或优惠的问题。
所述的方法具体包括如下步骤:
步骤一、用户登录药店系统,获得折扣优惠权限;
步骤二、点击POS收银按钮切换到收银平台;
步骤三、点击整单优惠按钮弹出优惠界面;
步骤四、修改折扣,折后金额与优惠金额自动计算;修改折后金额,折扣与优惠金额自动计算;
步骤五、点击确定按钮后,自动更新收银表格中每条销售订单的折扣与销售金额并重新计算整单的销售金额等信息。
本发明的有益效果:在收银员登录药店系统后,获得打折优惠的权限,并切换到收银平台。如果当前用户有整单优惠的权限,点击整单优惠按钮弹出优惠界面,如果收银员选择修改折扣,折后金额与优惠金额自动计算;选择修改折后金额,则折扣与优惠金额自动计算。点击确定按钮后,自动更新收银表格中每条销售订单的折扣与销售金额并重新计算整单的销售金额等信息,从而达到在结帐时收银员可以快速有效地根据客户的需求进行整单打折或优惠的目的。有效解决了在药店收银时不能方便地给客户整单打折或优惠的问题。
附图说明
下面结合附图对本发明进一步说明:
图1为本发明的流程图;
图2为步骤二的效果图;
图3为步骤三的效果图。
具体实施方式
如图1所示,本发明采用如下步骤:
步骤一、用户登录药店系统,获得优惠折扣权限;如:
//登录
@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);
}
//获得权限信息
@Override
protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principalCollection) {
String userId = ShiroUtil.getUserId();
//用户角色
Set<String> rolesSet = sysUserService.listUserRoles(userId);
//用户权限
Set<String> permsSet = sysUserService.listUserPerms(userId);
SimpleAuthorizationInfo info = new SimpleAuthorizationInfo();
info.setRoles(rolesSet);
info.setStringPermissions(permsSet);
return info;
}
步骤二、点击POS收银按钮切换到收银平台;如图:
步骤三、点击整单优惠按钮弹出优惠界面;如图:
步骤四、修改折扣,折后金额与优惠金额自动计算;修改折后金额,折扣与优惠金额自动计算;如:
//折扣修改
$('#discountNum').bind('input propertychange', function() {
caculAmountByDiscount();
});
//折后金额修改
$('#discountAfterAmount').bind('input propertychange', function() {
caculAmountByAmount();
});
步骤五、点击确定按钮后,自动更新收银表格中每条销售订单的折扣与销售金额并重新计算整单的销售金额等信息。如:
//点击确定按钮
$("#sumbitDiscountBtn").click(function (e) {
updateAllDiscount();
});
//更新表格中的折扣与金额
function updateAllDiscount() {
//获得表格数据
var datas = $table.bootstrapTable("getData");
var discountNum = $("#discountNum").val();//折扣
$.each(datas, function (index, obj) {
var discountPrice =obj.costPrice * discountNum/100;//折后价
var saleAmount = fixNum(obj.saleCount * discountPrice);//金额
//更新折扣与金额
$table.bootstrapTable('updateRow', {
index: index,
row: {discount: discountNum, saleAmount: saleAmount }
});
})
}
//更新总销售金额等信息
updateSaleOrder();
}

Claims (2)

1.一种基于B/S架构的药店收银系统整单打折优惠实现的方法,其特征在于:在收银员登录药店系统后,获得打折优惠的权限,并切换到收银平台;如果当前用户有整单优惠的权限,点击整单优惠按钮弹出优惠界面,如果收银员选择修改折扣,折后金额与优惠金额自动计算;选择修改折后金额,则折扣与优惠金额自动计算;点击确定按钮后,自动更新收银表格中每条销售订单的折扣与销售金额并重新计算整单的销售金额等信息;从而解决了在药店收银时不能方便地给客户整单打折或优惠的问题。
2.根据权利要求1所述的解决了基于B/S架构的药店收银系统整单优惠的方法,其特征在于:所述的方法具体包括如下步骤:
步骤一、用户登录药店系统,获得折扣优惠权限;
步骤二、点击POS收银按钮切换到收银平台;
步骤三、点击整单优惠按钮弹出优惠界面;
步骤四、修改折扣,折后金额与优惠金额自动计算;修改折后金额,折扣与优惠金额自动计算;
步骤五、点击确定按钮后,自动更新收银表格中每条销售订单的折扣与销售金额并重新计算整单的销售金额等信息。
CN201810327111.1A 2018-04-12 2018-04-12 一种基于bs架构的药店收银系统整单打折优惠实现的方法 Pending CN108470294A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810327111.1A CN108470294A (zh) 2018-04-12 2018-04-12 一种基于bs架构的药店收银系统整单打折优惠实现的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810327111.1A CN108470294A (zh) 2018-04-12 2018-04-12 一种基于bs架构的药店收银系统整单打折优惠实现的方法

Publications (1)

Publication Number Publication Date
CN108470294A true CN108470294A (zh) 2018-08-31

Family

ID=63263237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810327111.1A Pending CN108470294A (zh) 2018-04-12 2018-04-12 一种基于bs架构的药店收银系统整单打折优惠实现的方法

Country Status (1)

Country Link
CN (1) CN108470294A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119940A (zh) * 2019-05-17 2019-08-13 深圳前海微众银行股份有限公司 收款方法、装置、设备与计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290903A (zh) * 1999-09-23 2001-04-11 国际商业机器公司 利用联网产品数据库电子地赎回优惠券和产品折扣
CN1472681A (zh) * 2002-08-02 2004-02-04 中电科技电子信息系统有限公司 大中型药业连锁物流计算机管理系统及方法
CN1852168A (zh) * 2006-05-24 2006-10-25 郑怡 一种服务业的电脑局域网管理系统的控制方法
CN1932902A (zh) * 2005-09-13 2007-03-21 肖首信 税控收款机上的智能折扣系统
CN104424725A (zh) * 2013-09-08 2015-03-18 沈阳国裕科技有限公司 一种pos机的控制系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290903A (zh) * 1999-09-23 2001-04-11 国际商业机器公司 利用联网产品数据库电子地赎回优惠券和产品折扣
CN1472681A (zh) * 2002-08-02 2004-02-04 中电科技电子信息系统有限公司 大中型药业连锁物流计算机管理系统及方法
CN1932902A (zh) * 2005-09-13 2007-03-21 肖首信 税控收款机上的智能折扣系统
CN1852168A (zh) * 2006-05-24 2006-10-25 郑怡 一种服务业的电脑局域网管理系统的控制方法
CN104424725A (zh) * 2013-09-08 2015-03-18 沈阳国裕科技有限公司 一种pos机的控制系统

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
会计从业资格考试命题研究组组编: "《会计电算化》", 31 October 2015 *
陈平: "《管理信息系统实践教程》", 31 January 2015 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119940A (zh) * 2019-05-17 2019-08-13 深圳前海微众银行股份有限公司 收款方法、装置、设备与计算机可读存储介质

Similar Documents

Publication Publication Date Title
Hinzen et al. Bitcoin’s fatal flaw: The limited adoption problem
Nelaturu et al. A review of blockchain in fintech: taxonomy, challenges, and future directions
CN108053306A (zh) 财务数据预测管理方法、系统、终端及存储介质
Hinzen et al. Proof-of-work’s limited adoption problem
CN108664344A (zh) 一种支持多电商平台对接的适配系统及方法
US20180240199A1 (en) Automated sales tax payment system
CN109559164B (zh) 优惠信息处理方法、装置、电子设备及计算机可读介质
US20200334758A1 (en) Order grid highlighting
US20210056542A1 (en) System and method for optimizing cryptocurrency transactions
CN108292377A (zh) 管理技术处理数据
CN104899753B (zh) 局部密文嵌入式互联网信息交易系统
AU784502B2 (en) A public hub employing a trusted agent to facilitate the exchange of commodities
CN108470294A (zh) 一种基于bs架构的药店收银系统整单打折优惠实现的方法
US11763384B2 (en) System and method for multi-level container sequencing
CN107451876A (zh) 用于量化交易的方法及电子设备
US20180349984A1 (en) System and method for creating a transaction product application programming interface that interacts with both a transaction network and communications network
JP2020505713A (ja) インターネットショッピングモール管理方法
Miller Jr The role of light in the fruiting of Panus fragilis
CN108604337A (zh) 用于对市场交易进行路由的电子系统
Kong et al. BCSChain: Blockchain-based ceramic supply chain
Yutia et al. Blockchain-based Smart Contract for Decentralized Marketplace
Wu et al. Blockchain for finance: A survey
Premalatha et al. Online food court payment processing using blockchain
CN110826994B (zh) 一种数据处理方法、装置、设备及存储介质
CA3064880C (en) Systems and methods for value unit conversion and utilization

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

RJ01 Rejection of invention patent application after publication