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
c1b975e3
authored
Apr 27, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改罗盘
parent
e950dcaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
21 deletions
resources/views/script/SupplierListScript.blade.php
resources/views/web/supplier/SupplierListCommon.blade.php
resources/views/script/SupplierListScript.blade.php
View file @
c1b975e3
<script>
<script>
layui
.
use
([
'table'
,
'form'
,
'element'
,
'layer'
,
'Split'
,
'admin'
,
'index'
],
function
()
{
layui
.
use
([
'table'
,
'form'
,
'element'
,
'layer'
,
'Split'
,
'admin'
,
'index'
],
function
()
{
let
$
=
layui
.
jquery
;
let
$
=
layui
.
jquery
;
let
Split
=
layui
.
Split
;
let
Split
=
layui
.
Split
;
// 水平分割,需要分割的元素(id)、默认大小(百分比)、最小值(单位px)
// 水平分割,需要分割的元素(id)、默认大小(百分比)、最小值(单位px)
Split
([
'#s1'
,
'#s2'
,
'#s3'
,
'#s4'
,
'#s5'
,
'#s6'
],
{
sizes
:
[
9
,
12
,
12
,
12
,
12
,
43
],
minSize
:
70
});
Split
([
'#s1'
,
'#s2'
,
'#s3'
,
'#s4'
,
'#s5'
,
'#s6'
,
'#s7'
],
{
sizes
:
[
9
,
12
,
12
,
12
,
12
,
12
,
31
],
minSize
:
70
});
let
table
=
layui
.
table
;
let
table
=
layui
.
table
;
let
form
=
layui
.
form
;
let
form
=
layui
.
form
;
let
index
=
layui
.
index
;
let
index
=
layui
.
index
;
...
@@ -130,13 +130,13 @@
...
@@ -130,13 +130,13 @@
{
field
:
'supplier_type_name'
,
title
:
'供应商类别'
,
align
:
'center'
,
width
:
110
},
{
field
:
'supplier_type_name'
,
title
:
'供应商类别'
,
align
:
'center'
,
width
:
110
},
];
];
{{
--
@
if
(
checkPerm
(
'ViewFakeSupplier'
)
&&
request
()
->
user
->
userId
==
1000
)
--
}}
{{
--
@
if
(
checkPerm
(
'ViewFakeSupplier'
)
&&
request
()
->
user
->
userId
==
1000
)
--
}}
{{
--
cols
.
push
({
--
}}
{{
--
cols
.
push
({
--
}}
{{
--
field
:
'is_type'
,
title
:
'正式供应商'
,
align
:
'center'
,
width
:
110
,
templet
:
function
(
data
)
{
--
}}
{{
--
field
:
'is_type'
,
title
:
'正式供应商'
,
align
:
'center'
,
width
:
110
,
templet
:
function
(
data
)
{
--
}}
{{
--
return
data
.
is_type
===
0
?
'正式'
:
'
<
span
style
=
"color: red"
>
待转正
<
/span>';--}
}
{{
--
return
data
.
is_type
===
0
?
'正式'
:
'
<
span
style
=
"color: red"
>
待转正
<
/span>';--}
}
{{
--
}
--
}}
{{
--
}
--
}}
{{
--
})
--
}}
{{
--
})
--
}}
{{
--
@
endif
--
}}
{{
--
@
endif
--
}}
cols
.
push
(
cols
.
push
(
{
field
:
'create_time'
,
title
:
'创建时间'
,
align
:
'center'
,
width
:
145
},
{
field
:
'create_time'
,
title
:
'创建时间'
,
align
:
'center'
,
width
:
145
},
);
);
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
index
.
openTab
({
index
.
openTab
({
title
:
'新增供应商'
,
title
:
'新增供应商'
,
url
:
'/supplier/AddSupplier?view=iframe'
,
url
:
'/supplier/AddSupplier?view=iframe'
,
end
:
function
()
{
end
:
function
()
{
// insTb.reload();
// insTb.reload();
}
}
});
});
...
...
resources/views/web/supplier/SupplierListCommon.blade.php
View file @
c1b975e3
...
@@ -101,10 +101,6 @@
...
@@ -101,10 +101,6 @@
<a
class=
"main_filter"
title=
"系统标签中贴有客户指定的供应商"
id=
"has_supplier_tag"
>
<a
class=
"main_filter"
title=
"系统标签中贴有客户指定的供应商"
id=
"has_supplier_tag"
>
</a>
</a>
</div>
</div>
<div
class=
"layui-row"
>
<a
class=
"main_filter"
title=
"历史检测异常"
id=
"history_abnormal"
>
</a>
</div>
</div>
</div>
<div
class=
"split-item"
id=
"s5"
style=
"text-align: center"
>
<div
class=
"split-item"
id=
"s5"
style=
"text-align: center"
>
@if(checkPerm('SupplierBlockList'))
@if(checkPerm('SupplierBlockList'))
...
@@ -120,11 +116,18 @@
...
@@ -120,11 +116,18 @@
</div>
</div>
@endif
@endif
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
<a
class=
"main_filter"
title=
"历史检测异常"
id=
"history_abnormal"
>
</a>
</div>
</div>
<div
class=
"split-item"
id=
"s6"
style=
"text-align: center"
>
<div
class=
"layui-row"
>
<a
class=
"main_filter"
title=
"战略供应商"
id=
"level_a"
>
<a
class=
"main_filter"
title=
"战略供应商"
id=
"level_a"
>
</a>
</a>
</div>
</div>
</div>
</div>
<div
class=
"split-item"
id=
"s6"
>
<div
class=
"split-item"
id=
"s7"
style=
"text-align: center"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -166,12 +169,12 @@
...
@@ -166,12 +169,12 @@
{!! $multiTransformableSelectPresenter->render(['has_sku'=>'SKU上传','sku_tag'=>'SKU标准','sku_mode'=>'SKU模式','uploaded_sku' => '历史SKU合作'],
{!! $multiTransformableSelectPresenter->render(['has_sku'=>'SKU上传','sku_tag'=>'SKU标准','sku_mode'=>'SKU模式','uploaded_sku' => '历史SKU合作'],
['has_sku'=>[1=>'是',-1=>'否'],'sku_tag'=>config('field.SkuTag'),'sku_mode'=>config('field.SkuMode')]) !!}
['has_sku'=>[1=>'是',-1=>'否'],'sku_tag'=>config('field.SkuTag'),'sku_mode'=>config('field.SkuMode')]) !!}
</div>
</div>
{{-- @if(checkPerm('ViewFakeSupplier'))--}}
{{-- @if(checkPerm('ViewFakeSupplier'))--}}
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('supplier_type','供应商类别','',config('field.SupplierType')) !!}
{!! $statusPresenter->render('supplier_type','供应商类别','',config('field.SupplierType')) !!}
</div>
</div>
{{-- @endif--}}
{{-- @endif--}}
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('level','等级','',config('field.LevelMap')) !!}
{!! $statusPresenter->render('level','等级','',config('field.LevelMap')) !!}
...
...
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