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
f809b15f
authored
2 weeks ago
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加修改颜色和枚举
parent
1e6380d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
config/field.php
resources/views/script/SkuListScript.blade.php
config/field.php
View file @
f809b15f
...
...
@@ -352,8 +352,8 @@ return [
],
'AbilityLevel'
=>
[
2
=>
'
高
'
,
1
=>
'
中
'
,
0
=>
'
低
'
,
2
=>
'
强履约A
'
,
1
=>
'
强履约B
'
,
0
=>
'
弱履约
'
,
]
];
This diff is collapsed.
Click to expand it.
resources/views/script/SkuListScript.blade.php
View file @
f809b15f
...
...
@@ -161,7 +161,16 @@
}
}
},
{
field
:
'ability_level_name'
,
title
:
'履约程度'
,
align
:
'center'
,
width
:
80
},
{
field
:
'ability_level_name'
,
title
:
'履约程度'
,
align
:
'center'
,
width
:
80
,
templet
:
function
(
data
)
{
switch
(
data
.
ability_level
)
{
case
2
:
return
'
<
span
style
=
"color:rgb(252, 2, 23)"
>
强履约
A
<
/span>'
;
case
1
:
return
'
<
span
style
=
"color:#FE784D"
>
强履约
B
<
/span>'
;
default
:
return
'弱履约'
;
}
}},
{
field
:
'source_name'
,
title
:
'接入方式'
,
align
:
'center'
,
width
:
150
},
...
...
This diff is collapsed.
Click to expand it.
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