Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
0156bf37
Commit
0156bf37
authored
Nov 07, 2018
by
zhz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sale
parent
ac1d3fe3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
SalespersonService.php
application/models/Business/User/SalespersonService.php
+3
-3
No files found.
application/models/Business/User/SalespersonService.php
View file @
0156bf37
...
@@ -99,7 +99,7 @@ class SalespersonServiceModel extends \Business\AbstractModel
...
@@ -99,7 +99,7 @@ class SalespersonServiceModel extends \Business\AbstractModel
array_push
(
$acts
[
$v
[
'sale_act_id'
]][
'goods'
],
$goods
);
array_push
(
$acts
[
$v
[
'sale_act_id'
]][
'goods'
],
$goods
);
}
else
{
}
else
{
$storeInfo
=
$storeModelDAO
->
getStoreInfoCache
(
$actList
[
$v
[
'sale_act_id'
]][
'store_id'
]);
$storeInfo
=
$storeModelDAO
->
getStoreInfoCache
(
$actList
[
$v
[
'sale_act_id'
]][
'store_id'
]);
$storeLabel
=
$store
Info
->
getStoreLabelSrc
(
$storeInfo
[
'store_label'
],
\Our\ImageConst
::
salestoreImg
);
$storeLabel
=
$store
ModelDAO
->
getStoreLabelSrc
(
$storeInfo
[
'store_label'
],
\Our\ImageConst
::
salestoreImg
);
$qrCode
=
\Our\Common
::
getStaticFile
(
$tempActs
[
$v
[
'sale_act_id'
]],
\Our\ImageConst
::
salesmanQr
);
$qrCode
=
\Our\Common
::
getStaticFile
(
$tempActs
[
$v
[
'sale_act_id'
]],
\Our\ImageConst
::
salesmanQr
);
$hashData
[
$v
[
'sale_act_id'
]][
$v
[
'sale_act_id'
]
.
'_'
.
$memberId
]
=
$qrCode
;
$hashData
[
$v
[
'sale_act_id'
]][
$v
[
'sale_act_id'
]
.
'_'
.
$memberId
]
=
$qrCode
;
$acts
[
$v
[
'sale_act_id'
]]
=
[
$acts
[
$v
[
'sale_act_id'
]]
=
[
...
@@ -135,7 +135,7 @@ class SalespersonServiceModel extends \Business\AbstractModel
...
@@ -135,7 +135,7 @@ class SalespersonServiceModel extends \Business\AbstractModel
array_push
(
$acts
[
$saleGoods
[
$id
]][
'goods'
],
$data
);
array_push
(
$acts
[
$saleGoods
[
$id
]][
'goods'
],
$data
);
}
else
{
}
else
{
$storeInfo
=
$storeModelDAO
->
getStoreInfoCache
(
$actList
[
$saleGoods
[
$id
]][
'store_id'
]);
$storeInfo
=
$storeModelDAO
->
getStoreInfoCache
(
$actList
[
$saleGoods
[
$id
]][
'store_id'
]);
$storeLabel
=
$store
Info
->
getStoreLabelSrc
(
$storeInfo
[
'store_label'
],
\Our\ImageConst
::
salestoreImg
);
$storeLabel
=
$store
ModelDAO
->
getStoreLabelSrc
(
$storeInfo
[
'store_label'
],
\Our\ImageConst
::
salestoreImg
);
$qrCode
=
\Our\Common
::
getStaticFile
(
$tempActs
[
$saleGoods
[
$id
]],
\Our\ImageConst
::
salesmanQr
);
$qrCode
=
\Our\Common
::
getStaticFile
(
$tempActs
[
$saleGoods
[
$id
]],
\Our\ImageConst
::
salesmanQr
);
$acts
[
$saleGoods
[
$id
]]
=
[
$acts
[
$saleGoods
[
$id
]]
=
[
'storeId'
=>
$actList
[
$saleGoods
[
$id
]][
'store_id'
],
'storeId'
=>
$actList
[
$saleGoods
[
$id
]][
'store_id'
],
...
@@ -243,7 +243,7 @@ class SalespersonServiceModel extends \Business\AbstractModel
...
@@ -243,7 +243,7 @@ class SalespersonServiceModel extends \Business\AbstractModel
$act
=
unserialize
(
$act
);
$act
=
unserialize
(
$act
);
$goods
=
unserialize
(
$goods
);
$goods
=
unserialize
(
$goods
);
$storeInfo
=
$storeModelDAO
->
getStoreInfoCache
(
$act
[
'store_id'
]);
$storeInfo
=
$storeModelDAO
->
getStoreInfoCache
(
$act
[
'store_id'
]);
$storeLabel
=
$store
Info
->
getStoreLabelSrc
(
$storeInfo
[
'store_label'
],
\Our\ImageConst
::
salestoreImg
);
$storeLabel
=
$store
ModelDAO
->
getStoreLabelSrc
(
$storeInfo
[
'store_label'
],
\Our\ImageConst
::
salestoreImg
);
$info
[
'storeId'
]
=
$act
[
'store_id'
];
$info
[
'storeId'
]
=
$act
[
'store_id'
];
$info
[
'storeName'
]
=
$storeInfo
[
'store_name'
];
$info
[
'storeName'
]
=
$storeInfo
[
'store_name'
];
$info
[
'actName'
]
=
$act
[
'sale_title'
];
$info
[
'actName'
]
=
$act
[
'sale_title'
];
...
...
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