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
f3327f81
authored
Apr 29, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
页面优化
parent
667f0c8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
resources/views/script/SupplierDetailScript.blade.php
resources/views/script/UpdateSupplierScript.blade.php
resources/views/web/SupplierDetail.blade.php
resources/views/script/SupplierDetailScript.blade.php
View file @
f3327f81
<script>
layui
.
use
([
'table'
,
'form'
,
'element'
,
'layer'
,
'admin'
,
'upload'
,
'index'
],
function
()
{
layui
.
use
([
'table'
,
'form'
,
'element'
,
'layer'
,
'admin'
,
'upload'
,
'index'
],
function
()
{
let
table
=
layui
.
table
;
let
layer
=
layui
.
layer
;
let
form
=
layui
.
form
;
...
...
@@ -11,6 +11,8 @@
$
(
'#updateSupplierUrl'
).
click
(
function
()
{
layer
.
load
(
1
);
let
tabName
=
$
(
'.layui-this'
).
attr
(
'id'
);
window
.
location
.
href
=
"/supplier/UpdateSupplier?view=iframe&supplier_id={{$supplier['supplier_id']}}&tab="
+
tabName
;
})
{{
--
index
.
setTabTitle
(
'供应商详情 - {{$supplier['
supplier_code
'] or ''}}'
);
--
}}
...
...
resources/views/script/UpdateSupplierScript.blade.php
View file @
f3327f81
...
...
@@ -12,6 +12,9 @@
layer
.
load
(
1
);
});
let
tabName
=
getQueryVariable
(
"tab"
);
$
(
'#'
+
tabName
).
click
();
{{
--
index
.
setTabTitle
(
'供应商修改 - {{$supplier['
supplier_code
'] or ''}}'
);
--
}}
form
.
on
(
'submit(updateSupplier)'
,
function
(
data
)
{
...
...
resources/views/web/SupplierDetail.blade.php
View file @
f3327f81
...
...
@@ -48,7 +48,6 @@
||$supplier['status']==\App\Model\SupplierChannelModel::STATUS_REJECT)
<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
...
...
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