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
50a32e03
authored
Jul 26, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
有效期限制展示
parent
fb82b414
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
resources/views/script/SupplierListScript.blade.php
resources/views/script/SupplierListScript.blade.php
View file @
50a32e03
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
let
$
=
layui
.
jquery
;
let
$
=
layui
.
jquery
;
let
Split
=
layui
.
Split
;
let
Split
=
layui
.
Split
;
// 水平分割,需要分割的元素(id)、默认大小(百分比)、最小值(单位px)
// 水平分割,需要分割的元素(id)、默认大小(百分比)、最小值(单位px)
Split
([
'#s1'
,
'#s6'
,
'#s7'
,
'#s8'
],
{
sizes
:
[
9
,
12
,
12
,
12
],
minSize
:
70
});
Split
([
'#s1'
,
'#s6'
,
'#s7'
,
'#s8'
],
{
sizes
:
[
9
,
12
,
12
,
12
],
minSize
:
70
});
// Split(['#s1', '#s2', '#s3', '#s4', '#s5', '#s6', '#s7','#s8'], {sizes: [9, 12, 12, 12, 12, 12, 12,19], minSize: 70});
// Split(['#s1', '#s2', '#s3', '#s4', '#s5', '#s6', '#s7','#s8'], {sizes: [9, 12, 12, 12, 12, 12, 12,19], minSize: 70});
let
table
=
layui
.
table
;
let
table
=
layui
.
table
;
let
form
=
layui
.
form
;
let
form
=
layui
.
form
;
...
@@ -178,9 +178,13 @@
...
@@ -178,9 +178,13 @@
}
}
},
},
{
field
:
'average_sku_num'
,
title
:
'日均上架数'
,
align
:
'center'
,
width
:
100
},
{
field
:
'average_sku_num'
,
title
:
'日均上架数'
,
align
:
'center'
,
width
:
100
},
{
field
:
'cp_time_day'
,
title
:
'有效期最高天数'
,
align
:
'center'
,
width
:
120
,
templet
:
function
(
data
)
{
{
return
data
.
cp_time_day
==
-
1
?
'无限制'
:
data
.
cp_time_day
+
'天'
;
field
:
'cp_time_day'
,
title
:
'有效期最高天数'
,
align
:
'center'
,
width
:
180
,
templet
:
function
(
data
)
{
}},
let
cpTime
=
data
.
cp_time_day
==
-
1
?
'无限制'
:
data
.
cp_time_day
+
'天'
;
let
futuresCpTime
=
data
.
futures_cp_time_day
==
-
1
?
'无限制'
:
data
.
futures_cp_time_day
+
'天'
;
return
'现货 : '
+
cpTime
+
' | 期货 : '
+
futuresCpTime
;
}
},
{
field
:
'create_name'
,
title
:
'创建人'
,
align
:
'center'
,
width
:
70
},
{
field
:
'create_name'
,
title
:
'创建人'
,
align
:
'center'
,
width
:
70
},
{
field
:
'update_time'
,
title
:
'最近修改时间'
,
align
:
'center'
,
width
:
145
},
{
field
:
'update_time'
,
title
:
'最近修改时间'
,
align
:
'center'
,
width
:
145
},
{
field
:
'supplier_type_name'
,
title
:
'供应商类别'
,
align
:
'center'
,
width
:
110
},
{
field
:
'supplier_type_name'
,
title
:
'供应商类别'
,
align
:
'center'
,
width
:
110
},
...
@@ -763,4 +767,4 @@
...
@@ -763,4 +767,4 @@
function
clearTypeFilter
()
{
function
clearTypeFilter
()
{
$
(
'.main_filter'
).
attr
(
'class'
,
'main_filter'
);
$
(
'.main_filter'
).
attr
(
'class'
,
'main_filter'
);
}
}
</script>
</script>
\ No newline at end of file
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