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
c8699b9b
authored
Apr 29, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化
parent
f3327f81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
9 deletions
resources/views/script/UpdateSupplierScript.blade.php
resources/views/web/UpdateSupplier.blade.php
resources/views/script/UpdateSupplierScript.blade.php
View file @
c8699b9b
...
...
@@ -12,9 +12,6 @@
layer
.
load
(
1
);
});
let
tabName
=
getQueryVariable
(
"tab"
);
$
(
'#'
+
tabName
).
click
();
{{
--
index
.
setTabTitle
(
'供应商修改 - {{$supplier['
supplier_code
'] or ''}}'
);
--
}}
form
.
on
(
'submit(updateSupplier)'
,
function
(
data
)
{
...
...
resources/views/web/UpdateSupplier.blade.php
View file @
c8699b9b
...
...
@@ -84,12 +84,27 @@
<input
type=
"hidden"
name=
"supplier_code"
value=
"{{$supplier['supplier_code']}}"
>
<div
class=
"layui-tab"
>
<ul
class=
"layui-tab-title"
>
<li
class=
"layui-this"
id=
"base_info"
>
基本信息
</li>
<li
id=
"contact"
>
联系人
</li>
<li
id=
"ruler"
>
特殊规则
</li>
<li
@
if
(
request
()
-
>
get('tab')=='base_info'||empty(request()->get('tab')))
class="layui-this"
@endif
id="base_info">基本信息
</li>
<li
@
if
(
request
()
-
>
get('tab')=='contact')
class="layui-this"
@endif
id="contact">联系人
</li>
<li
@
if
(
request
()
-
>
get('tab')=='ruler')
class="layui-this"
@endif
id="ruler">特殊规则
</li>
</ul>
<div
class=
"layui-tab-content"
>
<div
class=
"layui-tab-item
layui-show
"
>
<div
class=
"layui-tab-item
@if(request()->get('tab')=='base_info'||empty(request()->get('tab'))) layui-show @endif
"
>
<div
class=
"layui-row"
style=
"padding: 10px"
>
<input
type=
"hidden"
name=
"status"
value=
"{{$supplier['status'] or 0}}"
>
<div
class=
"layui-row"
>
...
...
@@ -189,12 +204,12 @@
<hr/>
</div>
</div>
<div
class=
"layui-tab-item"
>
<div
class=
"layui-tab-item
@if(request()->get('tab')=='contact') layui-show @endif
"
>
@if(checkPerm('ViewSupplierContact'))
@include('web.supplier.SupplierContact')
@endif
</div>
<div
class=
"layui-tab-item"
>
<div
class=
"layui-tab-item
@if(request()->get('tab')=='ruler') layui-show @endif
"
>
<div
@
if
(!
checkPerm
('
ViewRuler
')
||
!
checkPerm
('
UpdateRuler
'))
style=
"display: none"
...
...
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