|
@ -26,6 +26,8 @@ |
|
|
import { |
|
|
import { |
|
|
ox |
|
|
ox |
|
|
} from "@/utils/server"; |
|
|
} from "@/utils/server"; |
|
|
|
|
|
import print from "@/utils/print"; |
|
|
|
|
|
|
|
|
import dictKeyboard from '@/utils/dictOfKeyboard' |
|
|
import dictKeyboard from '@/utils/dictOfKeyboard' |
|
|
import viewHeader from '@/components/index/view_header.nvue';//头部 |
|
|
import viewHeader from '@/components/index/view_header.nvue';//头部 |
|
|
import inputQrBox from '@/components/index/keyboard/input_box_QR.vue'; //条形码 |
|
|
import inputQrBox from '@/components/index/keyboard/input_box_QR.vue'; //条形码 |
|
@ -144,6 +146,23 @@ |
|
|
util.hideLoad() |
|
|
util.hideLoad() |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
printOrder(){ |
|
|
|
|
|
util.showNone("小票打印中...") |
|
|
|
|
|
let {store_id,brand_id,token} = getApp().globalData.accountInfo |
|
|
|
|
|
let stadiumInfo = uni.getStorageSync('stadiumInfo') |
|
|
|
|
|
let {goods_data,amount} = this.dataQuery |
|
|
|
|
|
|
|
|
|
|
|
let {time,order_no} = this.paySuccessInfo |
|
|
|
|
|
|
|
|
|
|
|
let {venue_name} = stadiumInfo |
|
|
|
|
|
let print_info = { |
|
|
|
|
|
...dataQuery,venue_name,time,order_no |
|
|
|
|
|
} |
|
|
|
|
|
console.log("print_info:",print_info) |
|
|
|
|
|
//调用打印插件打印TODO |
|
|
|
|
|
|
|
|
|
|
|
print.resetOXPrintInfo(print.testPrintInfo) |
|
|
|
|
|
}, |
|
|
async makeOrder(){ |
|
|
async makeOrder(){ |
|
|
let {store_id,brand_id,token} = getApp().globalData.accountInfo |
|
|
let {store_id,brand_id,token} = getApp().globalData.accountInfo |
|
|
let {goods_data,amount} = this.dataQuery |
|
|
let {goods_data,amount} = this.dataQuery |
|
|