🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
~~~[api] POST:/api/v1/pos/index/log_orderDetail? *string:order_sn=默认值#订单号 string:storeid=默认值#店铺号 int:status=默认值#0 小POS 订单详情 大POS订单详情 <<< success { "status": "1", "codemsg": "查询成功", "data": { "cardno": "6880394888800072010", //卡号 "amount":10 //消费总金额 "panterid": "00010774", //商户ID "order_sn": "201906260934013691", //订单ID "createtime": "2019-06-26 09:34:06", //订单时间 "paymenttype": null, //充值类型 "type": "02", //消费类型 "balance": "7691.88", //剩余金额 "org": "7701.88", //消费前金额, "team" :0 //1 团队 "goodslist": [ { "title": "炒凉粉(小)", "price": "10.00", "num": "1", "total_fee":"xx"//总金额 } ] } } <<< 大POS { "status": "1", "codemsg": "查询成功", "data": { "en": "", "list": { "id": "32", "orderid": "3104", "title": "包间B15", "pauseorder": "0", "list": [ { "id": "6739", "orderid": "3104", "out_trade_no": "Aa627294352100700", "openid": null, "goodid": "212", "discount": "2500", "goodsn": "Aa627294404757486933104", "numtype": "0", "title": "口条", "oldprice": "25.00", "price": "25.00", "num": "1", "total_fee": "25.00", "createtime": "2019-06-27 17:57:20", "status": "1", "ispay": "0", "taste": "", "ispack": "0", "isprint": "0", "kprinttime": "0", "finishtime": "0", "gtype": "0", "performance": null, "tcardid": "0", "pauseorder": "0", "del": "0", "cardnum": null, "cardno": null, "storeid": "4652", "is_clear": null }, { "id": "6740", "orderid": "3104", "out_trade_no": "Aa627294352100700", "openid": null, "goodid": "213", "discount": "2500", "goodsn": "Aa627294404758032293104", "numtype": "0", "title": "猪心", "oldprice": "25.00", "price": "25.00", "num": "1", "total_fee": "25.00", "createtime": "2019-06-27 17:57:20", "status": "1", "ispay": "0", "taste": "", "ispack": "0", "isprint": "0", "kprinttime": "0", "finishtime": "0", "gtype": "0", "performance": null, "tcardid": "0", "pauseorder": "0", "del": "0", "cardnum": null, "cardno": null, "storeid": "4652", "is_clear": null } ], "ordergoodsremark": "", "totalmoney": 50, "num": 2, "username": "管理员", "serialnum": "Aa627294352100700" } } } <<< 团冲 { "status": "1", "codemsg": "查询成功", "data": { "cardno": "[\"6880378800000008676\",\"6880378800000008677\",\"6880378800000008507\"]", "amount": "90.0", "panterid": "00010774", "order_sn": "201906261445449588", "createtime": "2019-06-26 14:45:46", "paymenttype": "30", "type": "05", "balance": null, "org": null, "team": "1", "teamid": "201906261445449588", "teamChargeCount": 3, //卡数量 "singleCharge": "30.00" //单卡冲 } } <<< 团退 { "status": "1", "codemsg": "查询成功", "data": { "cardno": "6880378800000008507", "amount": "70", "panterid": "00010774", "order_sn": "201906261452316962", "createtime": "2019-06-26 14:52:32", "paymenttype": null, "type": "06", "balance": null, "org": null, "team": "1", "teamid": "201906261445449588", "cardTeamCharge": "90.0", "cardTeamConsume": 20, "cardTeamBalance": "70.00" } } <<< 退卡 { "status": "1", "codemsg": "查询成功", "data": { "id": "1279", "cardno": "6880378800000008676", "cardnum": "5", "amount": "90", "panterid": "00010774", "order_sn": "201906271113117831", "createtime": "2019-06-27 11:13:12", "paymenttype": null, "type": "04", "balance": "0", "org": null, "team": "0", "teamid": null, "cardConsume": 160, //卡消费 "cardRefund": 50, //卡退货 "cardCharge": "200.00", //卡充值 "goodslist": [ { "title": "黄焖鱼(大)", "price": "20.00", "num": "1", "total_fee": "20" }, { "title": "黄焖鱼(小)", "price": "15.00", "num": "2", "total_fee": "30" }, { "title": "黄焖鱼(大)", "price": "20.00", "num": "1", "total_fee": "40" }, { "title": "炒凉粉(小)", "price": "10.00", "num": "1", "total_fee": "10" }, { "title": "黄焖鱼(大)", "price": "20.00", "num": "1", "total_fee": "20" }, { "title": "炒凉粉(小)", "price": "10.00", "num": "1", "total_fee": "20" }, { "title": "炒凉粉(大)", "price": "15.00", "num": "2", "total_fee": "30" }, { "title": "黄焖鱼(大)", "price": "20.00", "num": "1", "total_fee": "40" } ] } } ~~~