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
bdb7f2e4
authored
May 28, 2026
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'ysx-CRM转化供应商流程-20260518' into Dev
parents
088292e1
edd88c24
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
app/Http/Controllers/Sync/SupplierSyncController.php
storage/framework/views/5238497145456f693cc29f1fe0a7ff8fb43fd269.php
storage/framework/views/587faa134dc1f8953abf61cb2995b8264ba36a12.php
app/Http/Controllers/Sync/SupplierSyncController.php
View file @
bdb7f2e4
...
@@ -179,7 +179,6 @@ class SupplierSyncController extends BaseSyncController
...
@@ -179,7 +179,6 @@ class SupplierSyncController extends BaseSyncController
}
}
$customerName
=
trim
(
$data
[
'customer_name'
]);
$customerName
=
trim
(
$data
[
'customer_name'
]);
// 幂等处理:供应商名称已存在
// 幂等处理:供应商名称已存在
$existingSupplier
=
SupplierChannelModel
::
where
(
'supplier_name'
,
$customerName
)
->
first
();
$existingSupplier
=
SupplierChannelModel
::
where
(
'supplier_name'
,
$customerName
)
->
first
();
if
(
$existingSupplier
)
{
if
(
$existingSupplier
)
{
...
@@ -254,7 +253,7 @@ class SupplierSyncController extends BaseSyncController
...
@@ -254,7 +253,7 @@ class SupplierSyncController extends BaseSyncController
'phone'
=>
$phone
,
'phone'
=>
$phone
,
'supplier_address'
=>
$supplierAddress
,
'supplier_address'
=>
$supplierAddress
,
'legal_representative'
=>
$legalRepresentative
,
'legal_representative'
=>
$legalRepresentative
,
'established_time'
=>
$establishedTime
,
'established_time'
=>
strtotime
(
$establishedTime
)
,
// 采购员信息(主表只存channel_uid)
// 采购员信息(主表只存channel_uid)
'channel_uid'
=>
array_get
(
$data
,
'purchaser_uid'
,
''
),
'channel_uid'
=>
array_get
(
$data
,
'purchaser_uid'
,
''
),
...
...
storage/framework/views/5238497145456f693cc29f1fe0a7ff8fb43fd269.php
View file @
bdb7f2e4
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<?php
if
(
checkPerm
(
'TransferSupplier'
))
:
?>
<?php
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>
<?php
endif
;
?>
<?php
endif
;
?>
<?php
if
(
checkPerm
(
'ConfirmCrmSupplier'
)
&&
checkPerm
(
'ViewConfirmSupplier'
)
)
:
?>
<?php
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>
<?php
endif
;
?>
<?php
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>
...
...
storage/framework/views/587faa134dc1f8953abf61cb2995b8264ba36a12.php
View file @
bdb7f2e4
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