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
8c532b5f
Commit
8c532b5f
authored
Jul 02, 2018
by
guanghui.cui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品明细字体调小
parent
9a008913
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fmPrinter/fmPrinter.cpp
+2
-2
No files found.
fmPrinter/fmPrinter.cpp
View file @
8c532b5f
...
@@ -406,8 +406,8 @@ bool FmPrinter::_fmPrintData(OrderObject* pData)
...
@@ -406,8 +406,8 @@ bool FmPrinter::_fmPrintData(OrderObject* pData)
price
=
QString
(
"%1 x%2 %3"
).
arg
(
_Penny2Dollar
(
pData
->
proList
[
i
]
->
price
)).
arg
(
pData
->
proList
[
i
]
->
productAmount
)
price
=
QString
(
"%1 x%2 %3"
).
arg
(
_Penny2Dollar
(
pData
->
proList
[
i
]
->
price
)).
arg
(
pData
->
proList
[
i
]
->
productAmount
)
.
arg
(
_Penny2Dollar
(
pData
->
proList
[
i
]
->
price
*
pData
->
proList
[
i
]
->
productAmount
));
.
arg
(
_Penny2Dollar
(
pData
->
proList
[
i
]
->
price
*
pData
->
proList
[
i
]
->
productAmount
));
m_pPrintText
(
name
.
toLocal8Bit
().
data
(),
4
0
);
m_pPrintText
(
name
.
toLocal8Bit
().
data
(),
3
0
);
m_pPrintText
(
price
.
toLocal8Bit
().
data
(),
4
0
);
m_pPrintText
(
price
.
toLocal8Bit
().
data
(),
3
0
);
}
}
m_pPrintHex
(
"
\x0A
"
,
1
);
m_pPrintHex
(
"
\x0A
"
,
1
);
m_pPrintText
((
QString
(
"在线支付:"
)
+
_Penny2Dollar
(
pData
->
total_fee
-
pData
->
discount_fee
)).
toLocal8Bit
().
data
(),
20
);
m_pPrintText
((
QString
(
"在线支付:"
)
+
_Penny2Dollar
(
pData
->
total_fee
-
pData
->
discount_fee
)).
toLocal8Bit
().
data
(),
20
);
...
...
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