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
58b6f19c
authored
Jun 08, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加编辑的限制
parent
d24c8373
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
17 deletions
resources/views/web/SupplierDetail.blade.php
resources/views/web/SupplierDetail.blade.php
View file @
58b6f19c
...
...
@@ -46,28 +46,37 @@
</div>
<div
class=
"layui-col-md3"
></div>
</div>
@if($supplier['status']==\App\Model\SupplierChannelModel::STATUS_PENDING
||$supplier['status']==\App\Model\SupplierChannelModel::STATUS_PASSED
||$supplier['status']==\App\Model\SupplierChannelModel::STATUS_REJECT)
<div
class=
"layui-row"
>
<a
id=
"updateSupplierUrl"
style=
"margin-bottom: 25px;margin-top: 5px"
class=
"layui-btn layui-btn"
>
修改
</a>
</div>
@endif
@if($supplier['status']==\App\Model\SupplierChannelModel::STATUS_DISABLE)
<div
class=
"layui-row"
>
<a
id=
"updateSupplierUrl"
href=
"/supplier/UpdateSupplier?view=iframe&supplier_id={{$supplier['supplier_id']}}"
style=
"margin-bottom: 25px;margin-top: 5px"
class=
"layui-btn layui-btn"
>
申请重新入驻
</a>
</div>
@endif
@if($supplier['status']==\App\Model\SupplierChannelModel::STATUS_IN_REVIEW)
@if($supplier['is_type']==1)
<div
class=
"layui-row"
>
<button
type=
"button"
style=
"margin-bottom: 25px;margin-top: 5px"
class=
"layui-btn layui-btn layui-btn-disabled"
>
审核中,不能修改
class=
"layui-btn layui-btn layui-btn-disabled"
>
供应商为非正式供应商,请先转正
</button>
</div>
@else
@if($supplier['status']==\App\Model\SupplierChannelModel::STATUS_PENDING
||$supplier['status']==\App\Model\SupplierChannelModel::STATUS_PASSED
||$supplier['status']==\App\Model\SupplierChannelModel::STATUS_REJECT)
<div
class=
"layui-row"
>
<a
id=
"updateSupplierUrl"
style=
"margin-bottom: 25px;margin-top: 5px"
class=
"layui-btn layui-btn"
>
修改
</a>
</div>
@endif
@if($supplier['status']==\App\Model\SupplierChannelModel::STATUS_DISABLE)
<div
class=
"layui-row"
>
<a
id=
"updateSupplierUrl"
href=
"/supplier/UpdateSupplier?view=iframe&supplier_id={{$supplier['supplier_id']}}"
style=
"margin-bottom: 25px;margin-top: 5px"
class=
"layui-btn layui-btn"
>
申请重新入驻
</a>
</div>
@endif
@if($supplier['status']==\App\Model\SupplierChannelModel::STATUS_IN_REVIEW)
<div
class=
"layui-row"
>
<button
type=
"button"
style=
"margin-bottom: 25px;margin-top: 5px"
class=
"layui-btn layui-btn layui-btn-disabled"
>
审核中,不能修改
</button>
</div>
@endif
@endif
</div>
<div
class=
"layui-card-body"
style=
"margin-top: 140px"
>
<div
class=
"layui-tab"
>
...
...
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