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
6abe0249
authored
May 31, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
跳转链接
parent
b6ad507d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
config/website.php
resources/views/script/SkuListScript.blade.php
config/website.php
View file @
6abe0249
...
...
@@ -14,6 +14,7 @@ return [
'data'
=>
env
(
'DATA_DOMAIN'
,
'scm.liexin.net'
),
"domain"
=>
env
(
'DOMAIN'
),
"FootstoneUrl"
=>
env
(
'FOOTSTONE_URL'
),
'webTitle'
=>
env
(
'WEB_NAME'
,
'供应商系统'
),
'UploadUrl'
=>
env
(
'API_DOMAIN'
)
.
'/oss/upload'
,
...
...
resources/views/script/SkuListScript.blade.php
View file @
6abe0249
...
...
@@ -36,7 +36,12 @@
});
let
cols
=
[
{
type
:
'checkbox'
},
{
field
:
'goods_name'
,
title
:
'型号'
,
align
:
'center'
,
width
:
200
},
{
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'
>
"
+ data.goods_name + "
<
/href>
"
}
},
{
field
:
'brand_name'
,
title
:
'品牌'
,
align
:
'center'
,
width
:
120
},
...
...
@@ -251,7 +256,7 @@
});
}
});
}
else
{
}
else
{
layer
.
confirm
(
'确定要下架选中的商品吗'
,
function
(
index
)
{
$
.
ajax
({
type
:
'post'
,
...
...
@@ -271,7 +276,7 @@
curr
:
currentPage
},
});
}
else
{
}
else
{
layer
.
msg
(
res
.
err_msg
,
{
icon
:
5
});
return
false
;
}
...
...
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