Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_vip
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
zhenfei.zhang
fmp_vip
Commits
e058078b
Commit
e058078b
authored
Jun 23, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 修复代金券抵扣金额值错误。
parent
107b62e6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
task/taskpay.cpp
+1
-1
No files found.
task/taskpay.cpp
View file @
e058078b
...
@@ -103,7 +103,7 @@ void TaskPay::packagePOSRsp()
...
@@ -103,7 +103,7 @@ void TaskPay::packagePOSRsp()
QJsonObject
cp
=
coupon
.
toObject
();
QJsonObject
cp
=
coupon
.
toObject
();
pay_id
[
PosProps
.
Pay_id
]
=
"20003"
;
pay_id
[
PosProps
.
Pay_id
]
=
"20003"
;
pay_id
[
PosProps
.
Pay_str
]
=
QString
::
fromLocal8Bit
(
"代金券支付"
);
pay_id
[
PosProps
.
Pay_str
]
=
QString
::
fromLocal8Bit
(
"代金券支付"
);
int
disAmount
=
cp
[
PosProps
.
Coupon_disAmount
].
toInt
();
int
disAmount
=
cp
[
ServerProps
(
PosProps
.
Coupon_disAmount
)
].
toInt
();
pay_id
[
PosProps
.
Pay_amount
]
=
disAmount
;
pay_id
[
PosProps
.
Pay_amount
]
=
disAmount
;
pay_id
[
PosProps
.
Coupon_code
]
=
cp
[
ServerProps
(
PosProps
.
Coupon_code
)];
pay_id
[
PosProps
.
Coupon_code
]
=
cp
[
ServerProps
(
PosProps
.
Coupon_code
)];
pay_ids
.
append
(
pay_id
);
pay_ids
.
append
(
pay_id
);
...
...
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