Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-front
Commits
f6cab93b
Commit
f6cab93b
authored
Mar 05, 2020
by
pengguangpu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加更多日志;
parent
cc3c445a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
home.js
pages/home/home.js
+3
-1
No files found.
pages/home/home.js
View file @
f6cab93b
...
...
@@ -131,6 +131,7 @@ Page({
dialogShowType
:
""
,
//重置类型
})
}
else
if
(
res
.
action
==
ACTION_PRINT_LAST_ORDER
)
{
console
.
log
(
"收到打印上一单指令"
);
//打印上一单
//商品列表
var
printLastOrder_goodsList
=
my
.
getStorageSync
({
key
:
'paySuccessGoodsList'
}).
data
;
...
...
@@ -157,7 +158,7 @@ Page({
return
;
}
//去打印
context
.
printLastOrder
(
printLastOrder_goodsList
,
printLastOrder_paySuccessResp
)
context
.
printLastOrder
(
printLastOrder_goodsList
,
printLastOrder_paySuccessResp
)
;
}
else
if
(
res
.
action
==
ACTION_GET_CUR_AD
)
{
//返回当前选中广告
context
.
returnCurShowAd
();
...
...
@@ -212,6 +213,7 @@ Page({
}
}
else
if
(
res
.
action
==
ACTION_DAY_CHECK
)
{
//本地先写死数据
console
.
log
(
"收到日结指令"
);
context
.
printDayCheck
();
}
else
if
(
res
.
action
==
ACTION_VERIFY
)
{
console
.
log
(
"核验事件"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment