Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FmTakeaway
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shangshang.dai
FmTakeaway
Commits
cf78f901
Commit
cf78f901
authored
Sep 30, 2016
by
ss.dai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复悬浮窗坐标问题,接单打小票不出收银员信息的
parent
33410773
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
fmTakeaway/Control/flowControl.cpp
+3
-0
fmTakeaway/floatForm.cpp
+1
-1
No files found.
fmTakeaway/Control/flowControl.cpp
View file @
cf78f901
...
@@ -278,6 +278,9 @@ bool FlowControl::_ConfirmOrder(const QString &orderId, const DeliverObject &del
...
@@ -278,6 +278,9 @@ bool FlowControl::_ConfirmOrder(const QString &orderId, const DeliverObject &del
// 打印
// 打印
QLOG_INFO
()
<<
QString
(
"[---begin print---]."
);
QLOG_INFO
()
<<
QString
(
"[---begin print---]."
);
orderObject
->
courier_name
=
deliverObj
.
name
;
orderObject
->
courier_phone
=
deliverObj
.
phone
;
if
(
FmPrinter
::
GetInstance
().
DoPrint
(
ConfigManger
::
GetInstance
().
GetPrinterName
(),
orderObject
))
if
(
FmPrinter
::
GetInstance
().
DoPrint
(
ConfigManger
::
GetInstance
().
GetPrinterName
(),
orderObject
))
{
{
QLOG_INFO
()
<<
QString
(
"print sucessful"
);
QLOG_INFO
()
<<
QString
(
"print sucessful"
);
...
...
fmTakeaway/floatForm.cpp
View file @
cf78f901
...
@@ -97,7 +97,7 @@ void FloatForm::mouseReleaseEvent(QMouseEvent *event)
...
@@ -97,7 +97,7 @@ void FloatForm::mouseReleaseEvent(QMouseEvent *event)
}
}
m_bMouseMove
=
false
;
m_bMouseMove
=
false
;
ConfigManger
::
GetInstance
().
setFloatInitPostion
(
event
->
globalP
os
());
ConfigManger
::
GetInstance
().
setFloatInitPostion
(
this
->
p
os
());
}
}
void
FloatForm
::
_Init
()
void
FloatForm
::
_Init
()
...
...
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