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
60b07c12
authored
Mar 06, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
型号展示问题
parent
95f74965
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
app/Http/Services/SkuService.php
resources/views/script/SkuListScript.blade.php
app/Http/Services/SkuService.php
View file @
60b07c12
...
...
@@ -68,6 +68,8 @@ class SkuService
if
(
empty
(
$sku
[
'goods_name'
])
&&
!
empty
(
$spu
))
{
$sku
[
'goods_name'
]
=
$spu
[
'spu_name'
];
}
$sku
[
'spu_name'
]
=
$spu
[
'spu_name'
];
$sku
[
'encap'
]
=
array_get
(
$spu
,
'encap'
,
''
);
//制造商处理
if
(
empty
(
$sku
[
'brand_name'
])
&&
!
empty
(
$spu
))
{
...
...
resources/views/script/SkuListScript.blade.php
View file @
60b07c12
...
...
@@ -64,9 +64,9 @@
{
field
:
'encoded_user_name'
,
title
:
'线上采购员'
,
align
:
'center'
,
width
:
100
},
{
field
:
'original_goods_name'
,
title
:
'商品名称'
,
align
:
'center'
,
width
:
150
},
{
field
:
'
goods
_name'
,
title
:
'型号'
,
align
:
'center'
,
width
:
200
,
templet
:
function
(
data
)
{
field
:
'
spu
_name'
,
title
:
'型号'
,
align
:
'center'
,
width
:
200
,
templet
:
function
(
data
)
{
return
"
<
a
href
=
'{{config('
website
.
FootstoneUrl
')}}/web/sku/saveSku?goods_id=" + data.goods_id + "'
style
=
'color:blue'
target
=
'_blank'
>
"
+ data.
goods
_name + "
<
/href>
"
+ data.
spu
_name + "
<
/href>
"
}
},
{
...
...
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