Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmPOS
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
fmPOS
Commits
780286d3
Commit
780286d3
authored
Sep 11, 2017
by
gujin.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善卡券核销和冲正相关问题
parent
563ebb98
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
fmp_epay
+1
-1
fmp_redeem/fmp_redeem.cpp
+4
-1
No files found.
fmp_epay
@
96735c51
Subproject commit
c988b99a3f696f278ec4e8ef323f37a2892f4dc0
Subproject commit
96735c51448644c6ac421c3ccb8e022a8fbf4997
fmp_redeem/fmp_redeem.cpp
View file @
780286d3
...
@@ -331,13 +331,16 @@ QJsonObject FMPRedeem::ShowForUnConsum(QJsonObject json)
...
@@ -331,13 +331,16 @@ QJsonObject FMPRedeem::ShowForUnConsum(QJsonObject json)
{
{
redeemResult
[
"discount"
]
=
SearchJsonObject
(
json
,
"paid"
).
toInt
();
redeemResult
[
"discount"
]
=
SearchJsonObject
(
json
,
"paid"
).
toInt
();
redeemResult
[
"pid"
]
=
SearchJsonObject
(
json
,
"pid"
).
toString
();
redeemResult
[
"pid"
]
=
SearchJsonObject
(
json
,
"pid"
).
toString
();
redeemResult
[
"couponType"
]
=
"20004"
;
}
}
else
if
(
couponType
==
1
)
//代金券
else
if
(
couponType
==
1
)
//代金券
{
{
redeemResult
[
"discount"
]
=
SearchJsonObject
(
json
,
"amount"
).
toInt
();
redeemResult
[
"discount"
]
=
SearchJsonObject
(
json
,
"amount"
).
toInt
();
redeemResult
[
"couponType"
]
=
"20003"
;
}
}
redeemResult
[
"coupon
Type
"
]
=
act_name
;
redeemResult
[
"coupon
Desc
"
]
=
act_name
;
redeemResult
[
"code"
]
=
coupon
;
redeemResult
[
"code"
]
=
coupon
;
redeemResult
[
"redeem_json"
]
=
_redeem_json
;
}
}
break
;
break
;
default
:
default
:
...
...
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