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
edd88c24
authored
May 28, 2026
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
dc83e83b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
14 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 @
edd88c24
...
@@ -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 @
edd88c24
...
@@ -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 @
edd88c24
...
@@ -289,18 +289,18 @@
...
@@ -289,18 +289,18 @@
<?php
$statusPresenter
=
app
(
'App\Presenters\StatusPresenter'
);
?>
<?php
$statusPresenter
=
app
(
'App\Presenters\StatusPresenter'
);
?>
<?php
echo
$statusPresenter
->
render
(
'supplier_source'
,
'供应商来源'
,
0
,
config
(
'fixed.SupplierSource'
));
?>
<?php
echo
$statusPresenter
->
render
(
'supplier_source'
,
'供应商来源'
,
0
,
config
(
'fixed.SupplierSource'
));
?>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
代理品牌
</label>
<div
class=
"layui-input-inline"
>
<div
id=
"agency_brands_filter"
style=
"width: 425px"
></div>
<input
type=
"hidden"
name=
"agency_brands"
id=
"agency_brands_filter_value"
value=
""
>
</div>
</div>
<div
class=
"layui-inline"
>
</div>
<label
class=
"layui-form-label"
>
代理品牌
</label>
<div
class=
"layui-row"
>
<div
class=
"layui-input-inline"
>
<div
class=
"layui-inline"
style=
"width: 600px"
>
<div
id=
"agency_brands_filter"
style=
"width: 425px"
></div>
<?php
$transformableTimeIntervalPresenter
=
app
(
'App\Presenters\Filter\TransformableTimeIntervalPresenter'
);
?>
<input
type=
"hidden"
name=
"agency_brands"
id=
"agency_brands_filter_value"
value=
""
>
<?php
echo
$transformableTimeIntervalPresenter
->
render
([
'update_time'
=>
'更新时间'
,
'create_time'
=>
'创建时间'
,
'sku_create_time'
=>
'首次上传sku时间'
]);
?>
</div>
</div>
<div
class=
"layui-row"
>
<div
class=
"layui-inline"
style=
"width: 600px"
>
<?php
$transformableTimeIntervalPresenter
=
app
(
'App\Presenters\Filter\TransformableTimeIntervalPresenter'
);
?>
<?php
echo
$transformableTimeIntervalPresenter
->
render
([
'update_time'
=>
'更新时间'
,
'create_time'
=>
'创建时间'
,
'sku_create_time'
=>
'首次上传sku时间'
]);
?>
</div>
</div>
...
...
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