Commit 900e9a5a by 杨树贤

修改导出类型

parent ab1128b1
...@@ -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']);
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment