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
900e9a5a
authored
Mar 14, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改导出类型
parent
ab1128b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
app/Http/Services/SupplierService.php
resources/views/web/SupplierList.blade.php
app/Http/Services/SupplierService.php
View file @
900e9a5a
...
@@ -693,10 +693,10 @@ class SupplierService
...
@@ -693,10 +693,10 @@ class SupplierService
//导出供应商
//导出供应商
public
function
exportSupplier
(
$params
)
public
function
exportSupplier
()
{
{
$params
[
'is_export'
]
=
1
;
$params
[
'is_export'
]
=
1
;
$params
[
'
is_type'
]
=
'0
'
;
$params
[
'
source_type'
]
=
'all_channel_user_resigned
'
;
$list
=
$this
->
getSupplierList
(
$params
);
$list
=
$this
->
getSupplierList
(
$params
);
foreach
(
$list
as
&
$supplier
)
{
foreach
(
$list
as
&
$supplier
)
{
$supplier
[
'channel_username'
]
=
(
new
SupplierTransformer
())
->
getChannelUserNames
(
$supplier
[
'channel_uid'
]);
$supplier
[
'channel_username'
]
=
(
new
SupplierTransformer
())
->
getChannelUserNames
(
$supplier
[
'channel_uid'
]);
...
...
resources/views/web/SupplierList.blade.php
View file @
900e9a5a
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
batch_allocate_yunxin_channel_user
">设置SKU采购</button>
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
batch_allocate_yunxin_channel_user
">设置SKU采购</button>
@endif
@endif
@if(checkPerm('ExportSupplier'))
@if(checkPerm('ExportSupplier'))
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
export_supplier
">导出供应商</button>
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
export_supplier
">导出
采购员全离职
供应商</button>
@endif
@endif
</div>
</div>
<button type="
button
" id="
refreshWindow
" style="
display
:
none
">刷新页面</button>
<button type="
button
" id="
refreshWindow
" style="
display
:
none
">刷新页面</button>
...
...
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