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
711ce6a3
authored
Aug 28, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复bug
parent
39152d95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
app/Http/Services/SkuService.php
resources/views/script/SkuListScript.blade.php
app/Http/Services/SkuService.php
View file @
711ce6a3
...
@@ -498,6 +498,17 @@ class SkuService
...
@@ -498,6 +498,17 @@ class SkuService
$connection
->
table
(
$table
)
->
where
(
'goods_id'
,
$skuId
)
->
update
([
$connection
->
table
(
$table
)
->
where
(
'goods_id'
,
$skuId
)
->
update
([
'goods_label'
=>
$goodsLabel
,
'goods_label'
=>
$goodsLabel
,
]);
]);
$goodsTag
=
$redis
->
hget
(
'goods_tag'
,
$skuId
);
if
(
$goodsTag
)
{
$goodsTag
=
json_decode
(
$goodsTag
,
true
);
$goodsTag
[
'goods_label'
]
=
$goodsLabel
;
}
else
{
$goodsTag
=
[
'goods_label'
=>
$goodsLabel
,
];
}
$redis
->
hset
(
'goods_tag'
,
$skuId
,
json_encode
(
$goodsTag
));
}
}
}
else
{
}
else
{
...
...
resources/views/script/SkuListScript.blade.php
View file @
711ce6a3
...
@@ -457,7 +457,7 @@
...
@@ -457,7 +457,7 @@
area
:
[
'800px'
,
'600px'
],
area
:
[
'800px'
,
'600px'
],
title
:
'批量设置SKU标签'
,
title
:
'批量设置SKU标签'
,
end
:
function
()
{
end
:
function
()
{
//
table.reload('skuList');
table
.
reload
(
'skuList'
);
// supplierStatistics();
// supplierStatistics();
}
}
});
});
...
@@ -474,7 +474,7 @@
...
@@ -474,7 +474,7 @@
area
:
[
'800px'
,
'600px'
],
area
:
[
'800px'
,
'600px'
],
title
:
'批量设置SKU显示类型'
,
title
:
'批量设置SKU显示类型'
,
end
:
function
()
{
end
:
function
()
{
//
table.reload('skuList');
table
.
reload
(
'skuList'
);
// supplierStatistics();
// supplierStatistics();
}
}
});
});
...
...
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