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
821b0357
authored
May 07, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复关闭问题
parent
78ed6dfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
app/Http/Controllers/Api/SupplierContactApiController.php
resources/views/script/TransferSupplierScript.blade.php
app/Http/Controllers/Api/SupplierContactApiController.php
View file @
821b0357
...
...
@@ -219,7 +219,7 @@ class SupplierContactApiController extends Controller
$originName
=
(
new
AdminUserService
())
->
getAdminUserNameByCodeId
(
$originCanCheckUids
);
$newName
=
(
new
AdminUserService
())
->
getAdminUserNameByCodeId
(
$newCanCheckUids
);
foreach
(
$contactList
as
$contact
)
{
(
new
LogService
())
->
AddLog
(
$supplierId
,
LogModel
::
UPDATE_OPERATE
,
'转移供应商联系人'
,
"供应商联系人
{
$contact
[
'supplier_consignee'
]
}
由
{
$originName
}
转移到
{
$newName
}
"
);
(
new
LogService
())
->
AddLog
(
$supplierId
,
LogModel
::
UPDATE_OPERATE
,
'转移供应商联系人'
,
"供应商联系人
{
$contact
[
'supplier_consignee'
]
}
由
{
$originName
}
交接给
{
$newName
}
"
);
}
//最后直接去批量修改即可
...
...
resources/views/script/TransferSupplierScript.blade.php
View file @
821b0357
...
...
@@ -5,6 +5,9 @@
let
table
=
layui
.
table
let
element
=
layui
.
element
;
form
.
on
(
'submit(cancel)'
,
function
(
data
)
{
admin
.
closeThisDialog
();
});
form
.
on
(
'submit(transferSupplier)'
,
function
(
data
)
{
admin
.
showLoading
({
type
:
3
,
...
...
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