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
0eb68828
authored
Jun 29, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
过期时间展示
parent
7c0466f5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
app/Http/Services/SkuService.php
resources/views/script/SkuListScript.blade.php
app/Http/Services/SkuService.php
View file @
0eb68828
...
...
@@ -99,6 +99,7 @@ class SkuService
$item
[
'encoded_user_name'
]
=
array_get
(
$encodedUsers
,
$encoded
,
''
);
$item
[
'moq'
]
=
$item
[
'moq'
]
?:
0
;
$item
[
'stock'
]
=
$item
[
'stock'
]
?:
0
;
$item
[
'cp_time'
]
=
$item
[
'cp_time'
]
?
date
(
'Y-m-d H:i:s'
,
$item
[
'cp_time'
])
:
''
;
return
$item
;
},
$list
);
}
...
...
resources/views/script/SkuListScript.blade.php
View file @
0eb68828
...
...
@@ -38,11 +38,13 @@
@
if
(
request
()
->
get
(
'search'
)
==
1
)
setTimeout
(
function
()
{
$
(
'#getSupplierListButton'
).
click
();
},
500
);
},
500
);
@
endif
let
cols
=
[
{
type
:
'checkbox'
},
{
field
:
'cp_time'
,
title
:
'上架有效期'
,
align
:
'center'
,
width
:
180
},
{
field
:
'goods_name'
,
title
:
'型号'
,
align
:
'center'
,
width
:
200
,
templet
:
function
(
data
)
{
return
"
<
a
href
=
'{{config('
website
.
FootstoneUrl
')}}/footstone/addsku?sku_id=" + data.goods_id + "'
style
=
'color:blue'
target
=
'_blank'
>
"
...
...
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