Commit dc83e83b by 杨树贤

权限

parent d91b27b6
...@@ -237,7 +237,7 @@ class SupplierSyncController extends BaseSyncController ...@@ -237,7 +237,7 @@ class SupplierSyncController extends BaseSyncController
$phone = array_get($companyInfo, 'phone', ''); $phone = array_get($companyInfo, 'phone', '');
$establishedTime = array_get($companyInfo, 'establishment_time', ''); $establishedTime = array_get($companyInfo, 'establishment_time', '');
// legal_representative 从天眼查数据获取(如果有) // legal_representative 从天眼查数据获取(如果有)
$legalRepresentative = ''; $legalRepresentative = array_get($companyInfo, 'legal_representative', '');
$applyUid = !empty($data['apply_uid']) ? $data['apply_uid'] : 1000; $applyUid = !empty($data['apply_uid']) ? $data['apply_uid'] : 1000;
$applyName = (new AdminUserService())->getAdminUserNameByUserId($applyUid); $applyName = (new AdminUserService())->getAdminUserNameByUserId($applyUid);
// 2. 构建供应商数据 // 2. 构建供应商数据
......
...@@ -79,13 +79,10 @@ ...@@ -79,13 +79,10 @@
@if(checkPerm('TransferSupplier')) @if(checkPerm('TransferSupplier'))
<button type="button" class="layui-btn layui-btn-sm" id="transfer_supplier">供应商交接</button> <button type="button" class="layui-btn layui-btn-sm" id="transfer_supplier">供应商交接</button>
@endif @endif
@if(checkPerm('ConfirmCrmSupplier') && checkPerm('ViewConfirmSupplier')) @if(checkPerm('ConfirmCrmSupplier'))
<button type="button" class="layui-btn layui-btn-sm" id="confirm_crm_supplier">确认客户转化供应商</button> <button type="button" class="layui-btn layui-btn-sm" id="confirm_crm_supplier">确认客户转化供应商</button>
@endif @endif
<button type="button" class="layui-btn layui-btn-sm layui-btn-normal" id="col_setting">展示列设置</button> <button type="button" class="layui-btn layui-btn-sm layui-btn-normal" id="col_setting">展示列设置</button>
@if(checkPerm('ConfirmCrmSupplier') && checkPerm('ViewConfirmSupplier'))
<button type="button" class="layui-btn layui-btn-sm" id="confirm_crm_supplier">确认客户转化供应商</button>
@endif
</div> </div>
<button type="button" id="refreshWindow" style="display: none">刷新页面</button> <button type="button" id="refreshWindow" style="display: none">刷新页面</button>
<table class="layui-table" id="list" lay-filter="list"></table> <table class="layui-table" id="list" lay-filter="list"></table>
......
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