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
bba56874
authored
Jul 07, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
申请审核
parent
b149eb8d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
app/Http/Controllers/Api/SupplierApiController.php
config/field.php
resources/views/web/UpdateSupplier.blade.php
app/Http/Controllers/Api/SupplierApiController.php
View file @
bba56874
...
...
@@ -218,7 +218,7 @@ class SupplierApiController extends Controller
{
//禁用不是直接修改为无法交易,而是改为审核中,然后审核通过后,变成无法交易
$supplierId
=
$request
->
get
(
'supplier_id'
);
$disableReason
=
$request
->
get
(
'disable_reason'
);
$disableReason
=
trim
(
$request
->
get
(
'disable_reason'
)
);
if
(
empty
(
$disableReason
))
{
$this
->
response
(
-
1
,
'禁用理由必填'
);
}
...
...
config/field.php
View file @
bba56874
...
...
@@ -138,7 +138,6 @@ return [
'SkipChangeSupplierTypeNames'
=>
[
"Arrow Electronics Inc"
,
"Mouser Electronics Inc"
,
"Chip One Stop, Inc."
,
"驰万电子(深圳)有限公司"
,
"TI STORE"
,
"欧时电子元件(上海)有限公司"
,
...
...
resources/views/web/UpdateSupplier.blade.php
View file @
bba56874
...
...
@@ -25,7 +25,7 @@
}
</style>
<div
class=
"layui-card"
>
<form
class=
"layui-form"
action=
""
lay-filter=
"supplier_form"
>
<form
class=
"layui-form"
action=
""
lay-filter=
"supplier_form"
>
<div
class=
"layui-card-header fix-top"
>
<div
class=
"layui-row"
>
<div
class=
"layui-col-md2"
>
...
...
@@ -81,12 +81,9 @@
<button
type=
"button"
class=
"layui-btn layui-btn submit-loading"
lay-submit
lay-filter=
"updateSupplier"
>
确认修改供应商
</button>
@if (!checkPerm('IgnoreUpdateAudit'))
<button
type=
"button"
class=
"layui-btn layui-btn submit-loading"
lay-submit
lay-filter=
"applyAuditSupplier"
>
申请审核
</button>
@endif
<button
type=
"button"
class=
"layui-btn layui-btn submit-loading"
lay-submit
lay-filter=
"applyAuditSupplier"
>
申请审核
</button>
@endif
<a
id=
"supplierDetailUrl"
href=
"/supplier/SupplierDetail?view=iframe&supplier_id={{$supplier['supplier_id']}}"
...
...
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