Commit f6cab93b authored by pengguangpu's avatar pengguangpu

添加更多日志;

parent cc3c445a
...@@ -131,6 +131,7 @@ Page({ ...@@ -131,6 +131,7 @@ Page({
dialogShowType: "",//重置类型 dialogShowType: "",//重置类型
}) })
} else if (res.action == ACTION_PRINT_LAST_ORDER) { } else if (res.action == ACTION_PRINT_LAST_ORDER) {
console.log("收到打印上一单指令");
//打印上一单 //打印上一单
//商品列表 //商品列表
var printLastOrder_goodsList = my.getStorageSync({ key: 'paySuccessGoodsList' }).data; var printLastOrder_goodsList = my.getStorageSync({ key: 'paySuccessGoodsList' }).data;
...@@ -157,7 +158,7 @@ Page({ ...@@ -157,7 +158,7 @@ Page({
return; return;
} }
//去打印 //去打印
context.printLastOrder(printLastOrder_goodsList, printLastOrder_paySuccessResp) context.printLastOrder(printLastOrder_goodsList, printLastOrder_paySuccessResp);
} else if (res.action == ACTION_GET_CUR_AD) { } else if (res.action == ACTION_GET_CUR_AD) {
//返回当前选中广告 //返回当前选中广告
context.returnCurShowAd(); context.returnCurShowAd();
...@@ -212,6 +213,7 @@ Page({ ...@@ -212,6 +213,7 @@ Page({
} }
} else if (res.action == ACTION_DAY_CHECK) { } else if (res.action == ACTION_DAY_CHECK) {
//本地先写死数据 //本地先写死数据
console.log("收到日结指令");
context.printDayCheck(); context.printDayCheck();
} else if (res.action == ACTION_VERIFY) { } else if (res.action == ACTION_VERIFY) {
console.log("核验事件"); console.log("核验事件");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment