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
b8851cb2
Commit
b8851cb2
authored
May 04, 2017
by
ss.dai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1:修改渠道饿了么 为 饿了么外卖
parent
f10ac542
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fmPlugin/fmPlugin.cpp
+1
-1
fmTakeaway/detailForm.cpp
+1
-1
No files found.
fmPlugin/fmPlugin.cpp
View file @
b8851cb2
...
...
@@ -239,7 +239,7 @@ bool FmPlugin::_InsertInto_d_t_food_fmbill0(const QString& cashierId, const QStr
query
.
bindValue
(
12
,
_Penny2Dollar
(
m_orderObject
->
discount_fee
));
query
.
bindValue
(
13
,
QString
(
"
\351\200\201\351\244\220\345\215\225
"
));
// 送餐单
query
.
bindValue
(
14
,
m_orderObject
->
order_id
);
query
.
bindValue
(
15
,
m_orderObject
->
channelName
);
query
.
bindValue
(
15
,
!
m_orderObject
->
channelName
.
compare
(
"饿了么"
)
?
QString
(
"饿了么外卖"
)
:
m_orderObject
->
channelName
);
query
.
bindValue
(
16
,
m_orderObject
->
pay_type
.
compare
(
"在线支付"
)
?
"0"
:
_Penny2Dollar
(
m_orderObject
->
send_fee
));
query
.
bindValue
(
17
,
custid
);
if
(
!
query
.
exec
())
...
...
fmTakeaway/detailForm.cpp
View file @
b8851cb2
...
...
@@ -76,7 +76,7 @@ void DetailForm::InitData(OrderObject *orderObject)
QFile
orderFlag
(
QString
(
"%1/orders/%2"
).
arg
(
QApplication
::
applicationDirPath
(),
orderObject
->
order_id
));
if
(
!
orderFlag
.
exists
())
{
//
ui->detailBtn0->hide();
ui
->
detailBtn0
->
hide
();
}
ui
->
detailBtn2
->
setProperty
(
"operation"
,
OPERATION_REFUSE
);
...
...
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