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
Show 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 @@
...
@@ -12,9 +12,6 @@
layer
.
load
(
1
);
layer
.
load
(
1
);
});
});
let
tabName
=
getQueryVariable
(
"tab"
);
$
(
'#'
+
tabName
).
click
();
{{
--
index
.
setTabTitle
(
'供应商修改 - {{$supplier['
supplier_code
'] or ''}}'
);
--
}}
{{
--
index
.
setTabTitle
(
'供应商修改 - {{$supplier['
supplier_code
'] or ''}}'
);
--
}}
form
.
on
(
'submit(updateSupplier)'
,
function
(
data
)
{
form
.
on
(
'submit(updateSupplier)'
,
function
(
data
)
{
...
...
resources/views/web/UpdateSupplier.blade.php
View file @
c8699b9b
...
@@ -84,12 +84,27 @@
...
@@ -84,12 +84,27 @@
<input
type=
"hidden"
name=
"supplier_code"
value=
"{{$supplier['supplier_code']}}"
>
<input
type=
"hidden"
name=
"supplier_code"
value=
"{{$supplier['supplier_code']}}"
>
<div
class=
"layui-tab"
>
<div
class=
"layui-tab"
>
<ul
class=
"layui-tab-title"
>
<ul
class=
"layui-tab-title"
>
<li
class=
"layui-this"
id=
"base_info"
>
基本信息
</li>
<li
<li
id=
"contact"
>
联系人
</li>
@
if
(
request
()
-
>
get('tab')=='base_info'||empty(request()->get('tab')))
<li
id=
"ruler"
>
特殊规则
</li>
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>
</ul>
<div
class=
"layui-tab-content"
>
<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"
>
<div
class=
"layui-row"
style=
"padding: 10px"
>
<input
type=
"hidden"
name=
"status"
value=
"{{$supplier['status'] or 0}}"
>
<input
type=
"hidden"
name=
"status"
value=
"{{$supplier['status'] or 0}}"
>
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
...
@@ -189,12 +204,12 @@
...
@@ -189,12 +204,12 @@
<hr/>
<hr/>
</div>
</div>
</div>
</div>
<div
class=
"layui-tab-item"
>
<div
class=
"layui-tab-item
@if(request()->get('tab')=='contact') layui-show @endif
"
>
@if(checkPerm('ViewSupplierContact'))
@if(checkPerm('ViewSupplierContact'))
@include('web.supplier.SupplierContact')
@include('web.supplier.SupplierContact')
@endif
@endif
</div>
</div>
<div
class=
"layui-tab-item"
>
<div
class=
"layui-tab-item
@if(request()->get('tab')=='ruler') layui-show @endif
"
>
<div
<div
@
if
(!
checkPerm
('
ViewRuler
')
||
!
checkPerm
('
UpdateRuler
'))
@
if
(!
checkPerm
('
ViewRuler
')
||
!
checkPerm
('
UpdateRuler
'))
style=
"display: none"
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