Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
890bffcd
authored
Mar 21, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
导出
parent
934ad8ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Services/DataService.php
app/Http/Services/DataService.php
View file @
890bffcd
...
...
@@ -455,7 +455,7 @@ class DataService
function
exportContact
()
{
$contacts
=
SupplierContactModel
::
where
(
'can_check_uids'
,
'10096'
)
->
get
()
->
toArray
();
Excel
::
create
(
'
供应商
导出'
,
function
(
$excel
)
use
(
$contacts
)
{
Excel
::
create
(
'
联系人
导出'
,
function
(
$excel
)
use
(
$contacts
)
{
$header
=
[
'供应商编码'
,
'供应商名字'
,
...
...
@@ -487,7 +487,7 @@ class DataService
$sheet
->
fromArray
(
$excelData
);
});
})
->
export
(
'xlsx'
);
})
->
save
(
'xlsx'
);
}
...
...
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