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
3605184b
authored
Jun 28, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
特殊供应商提示问题
parent
b7a2d47c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
app/Http/Controllers/SupplierController.php
resources/views/script/UpdateSupplierScript.blade.php
app/Http/Controllers/SupplierController.php
View file @
3605184b
...
...
@@ -67,7 +67,7 @@ class SupplierController extends Controller
$applyData
=
$applyService
->
getAuditSupplierShareApplyList
(
$request
->
user
->
userId
);
$this
->
data
[
'shareApplyCount'
]
=
$applyData
[
'total'
];
$statusData
=
[];
foreach
(
config
(
'fixed.SupplierStatus'
)
as
$key
=>
$value
)
{
foreach
(
config
(
'fixed.SupplierStatus'
)
as
$key
=>
$value
)
{
$statusData
[]
=
[
'name'
=>
$value
,
'value'
=>
$key
,
...
...
@@ -186,6 +186,8 @@ class SupplierController extends Controller
]);
$this
->
data
[
'supplier'
]
=
$supplier
;
$this
->
data
[
'address'
]
=
$supplierService
->
getAddress
(
$supplierId
);
$this
->
data
[
'ignore_supplier_type_change_tips'
]
=
in_array
(
$supplier
[
'supplier_name'
],
config
(
'field.SkipChangeSupplierTypeNames'
));
return
$this
->
view
(
'编辑供应商'
);
}
...
...
resources/views/script/UpdateSupplierScript.blade.php
View file @
3605184b
...
...
@@ -71,6 +71,9 @@
obj2Checked
=
true
;
}
}
@
if
(
$ignore_supplier_type_change_tips
)
msg
=
''
;
@
endif
if
(
msg
)
{
layer
.
confirm
(
msg
,
{
btn
:
[
"确认"
,
"取消"
]},
function
(
index
)
{
...
...
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