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
2b8a10e3
Commit
2b8a10e3
authored
May 31, 2018
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 1:修复APP渠道id为非码微店
parent
6f6e75ac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
fmTakeaway/Control/flowControl.cpp
+5
-4
fmTakeaway/mainForm.cpp
+1
-1
No files found.
fmTakeaway/Control/flowControl.cpp
View file @
2b8a10e3
...
...
@@ -172,7 +172,7 @@ bool FlowControl::_PullOrder()
orderObject
->
remark
.
remove
(
"|"
);
//将 非码Mall 改为 鲜丰App
if
(
!
orderObject
->
channelName
.
compare
(
"非码
Mall
"
))
if
(
!
orderObject
->
channelName
.
compare
(
"非码
微店
"
))
{
orderObject
->
channelName
=
"鲜丰App"
;
}
...
...
@@ -224,7 +224,7 @@ bool FlowControl::_PullOrder()
orderObject
->
remark
.
remove
(
"|"
);
//将 非码Mall 改为 鲜丰App
if
(
!
orderObject
->
channelName
.
compare
(
"非码
Mall
"
))
if
(
!
orderObject
->
channelName
.
compare
(
"非码
微店
"
))
{
orderObject
->
channelName
=
"鲜丰App"
;
}
...
...
@@ -606,7 +606,8 @@ bool FlowControl::_ChargeOffOrder(const QString &orderId)
int
num
=
tmpIni
.
value
(
QString
(
"%1/num"
).
arg
(
m_ordersMap
.
value
(
orderId
)
->
channel
),
1
).
toInt
();
for
(
int
i
=
0
;
i
<
num
;
i
++
)
{
if
(
FmPrinter
::
GetInstance
().
DoPrint
(
ConfigManger
::
GetInstance
().
GetPrinterName
(),
m_ordersMap
.
value
(
orderId
)))
if
(
FmPrinter
::
GetInstance
().
DoPrint
(
ConfigManger
::
GetInstance
().
GetPrinterName
(),
m_ordersMap
.
value
(
orderId
)))
{
QLOG_INFO
()
<<
QString
(
"print sucessful"
);
Orderstatus
::
getInstance
().
printupdate
(
orderId
,
1
);
...
...
@@ -968,7 +969,7 @@ void FlowControl::onSerachOrder(const QString &text)
orderObject
->
remark
.
remove
(
"|"
);
//将 非码Mall 改为 鲜丰App
if
(
!
orderObject
->
channelName
.
compare
(
"非码
Mall
"
))
if
(
!
orderObject
->
channelName
.
compare
(
"非码
微店
"
))
{
orderObject
->
channelName
=
"鲜丰App"
;
}
...
...
fmTakeaway/mainForm.cpp
View file @
2b8a10e3
...
...
@@ -111,7 +111,7 @@ void MainForm::_Init()
// 初始化文字
ui
->
mainLabStoreid
->
setText
(
UI_STOREID
);
ui
->
mainLabVersion
->
setText
(
"1.
2.9
"
);
ui
->
mainLabVersion
->
setText
(
"1.
3.4
"
);
ui
->
mainLabCashier
->
setText
(
UI_CASHIER
);
// 初始化表
...
...
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