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
cabb2585
Commit
cabb2585
authored
Aug 23, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 去掉POS发来门店名的前缀。
parent
fc60f1b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
task/fmtask.cpp
+7
-1
No files found.
task/fmtask.cpp
View file @
cabb2585
...
@@ -75,13 +75,15 @@ void FMTask::copyPros()
...
@@ -75,13 +75,15 @@ void FMTask::copyPros()
QString
posPro
=
DefaultProps
[
i
];
QString
posPro
=
DefaultProps
[
i
];
serverReqJsonObj
[
ServerProps
(
posPro
)]
=
posReqJsonObj
[
posPro
];
serverReqJsonObj
[
ServerProps
(
posPro
)]
=
posReqJsonObj
[
posPro
];
}
}
QString
store_id
=
posReqJsonObj
[
PosProps
.
StoreId
].
toString
();
store_id
=
store_id
.
remove
(
"pos_my_"
);
serverReqJsonObj
[
ServerProps
(
PosProps
.
StoreId
)]
=
store_id
;
}
}
void
FMTask
::
showWindow
()
void
FMTask
::
showWindow
()
{
{
FMP_DEBUG
()
<<
__FUNCTION__
;
FMP_DEBUG
()
<<
__FUNCTION__
;
QString
sL
[]
=
{
QString
sL
[]
=
{
PosProps
.
StoreId
,
PosProps
.
PosId
,
PosProps
.
PosId
,
PosProps
.
OperatorId
,
PosProps
.
OperatorId
,
PosProps
.
BussinessDate
,
PosProps
.
BussinessDate
,
...
@@ -92,6 +94,10 @@ void FMTask::showWindow()
...
@@ -92,6 +94,10 @@ void FMTask::showWindow()
_session
->
addData
(
s
,
posReqJsonObj
[
s
].
toString
());
_session
->
addData
(
s
,
posReqJsonObj
[
s
].
toString
());
}
}
QString
store_id
=
posReqJsonObj
[
PosProps
.
StoreId
].
toString
();
store_id
=
store_id
.
remove
(
"pos_my_"
);
_session
->
addData
(
PosProps
.
StoreId
,
store_id
);
if
(
_window
!=
nullptr
)
{
if
(
_window
!=
nullptr
)
{
_window
->
initWnd
(
this
->
session
());
_window
->
initWnd
(
this
->
session
());
int
ret
=
_window
->
exec
();
int
ret
=
_window
->
exec
();
...
...
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