Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
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
ff4b5e97
authored
Jul 17, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
23213213
parent
30a3061d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
Application/Home/View/GoodManage/index.html
dist/js/goodmanage/bulkupload.js
dist/js/goodmanage/index.js
dist/js/quoteprice/inquiry.js
Application/Home/View/GoodManage/index.html
View file @
ff4b5e97
...
...
@@ -72,7 +72,7 @@
上传商品
</div>
<div
class=
"xz fr boxsiz btn btn_border"
>
<a
href=
"__PUBLIC__/ic_templet.xls"
>
下载商品模板
</a>
下载商品模板
</div>
<div
class=
"plsc fr btn btn_green"
>
<span
class=
"icon iconfont iconjuxing16 "
></span>
...
...
dist/js/goodmanage/bulkupload.js
View file @
ff4b5e97
$
(
function
()
{
var
bulkuploadObj
=
{
init
:
function
()
{
this
.
isIe
()
this
.
isIe
();
this
.
bindFun
();
},
uploadFun
:
function
()
{
layui
.
upload
.
render
({
...
...
@@ -108,6 +109,11 @@ $(function () {
}
}
},
bindFun
:
function
(){
$
(
'.xz'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
"http://icsales-files-2019.oss-cn-shenzhen.aliyuncs.com/files/templates/ic_templet.xls"
})
}
};
bulkuploadObj
.
init
();
...
...
dist/js/goodmanage/index.js
View file @
ff4b5e97
...
...
@@ -136,6 +136,7 @@
opt
.
render
(
this
,
params
,
1
)
});
//上架
$
(
'#listData'
).
on
(
'click'
,
'.fb'
,
function
(
e
)
{
e
.
stopPropagation
();
...
...
@@ -158,6 +159,13 @@
}
});
$
(
'.xz'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
"http://icsales-files-2019.oss-cn-shenzhen.aliyuncs.com/files/templates/ic_templet.xls"
})
$
(
'#listData'
).
on
(
'click'
,
'.data_item'
,
function
(
e
)
{
var
goodId
=
$
(
this
).
attr
(
'goodid'
);
window
.
location
.
href
=
"/gooddetail?id="
+
goodId
});
return
this
;
...
...
dist/js/quoteprice/inquiry.js
View file @
ff4b5e97
...
...
@@ -185,7 +185,7 @@ $(function () {
$
(
'.inquiry_data'
).
on
(
'click'
,
'.more_btn'
,
function
()
{
var
userid
=
$
(
this
).
parents
(
'.data_item'
).
attr
(
'userid'
);
window
.
location
.
href
=
"/inquirydetail?id="
+
userid
})
})
;
}
};
inquiry
.
init
()
...
...
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